Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 2 months ago.
Nucleo and coocox ide: pb to debug sw
Hi, I would use coocox IDE to develop on my nucleo platform. The software compile without errors and I can download it (flash) on the nucleo board using the stlink. But coocox show an error when I try to debug :
C:\CooCox\CoIDE_V2Beta>"C:/CooCox/CoIDE_V2Beta/bin\coflash.exe" program STM32F411RET6 "C:/stm32/essai4/essai4/Debug/bin/essai4.elf" adapter-name=ST-Link port=SWD adapter-clk=1000000 erase=affected driver="C:/stm32/stm32f4xx_512.elf;"
Error: Failed to open flash driver file Program Download Failed !
What is this problem and how can I resolv it ?
Serge
Question relating to:
1 Answer
7 years, 2 months ago.
Hello Serge,
Was the debugger configured to use ST-Link? This link shows an example of using CooCox + ST-Link to debug ST board.