This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Flash download failed

Hello guys,

I am currently working on my stm32f3 board and i have some issue regarding the flash.
Until now i was able to download my code the flash. Now, i get a message saying :
Internal Command Error [ OK ]
Error: Flash Download Failed Target DLL has been cancelled [ OK ]

I searched through the forums but didnt had any luck in solving my problem.

I have the following set up:

Debug : St-Link Debugger Port SW

In SW Device, in Debug settings i have "No cortex M SW Device Found" despite having it connected to my laptop.

Is there a chance that my board might be broken?

Regards, and thanks in advance.

Parents
  • BOOT0 being high (3V) causes the device to reset into it's System Loader mode, from here you can use USB DFU updates, or serial via the Flash Demonstrator.

    If your user code breaks the device, say you reprogram the GPIO's used for SWD/JTAG, put the device in a low power mode, etc, the ability to NOT run your code permits a method to recover.

    On the STM32F3-DISCOVERY board there is a BOOT0 pin next to a VDD pin, jumper these together, and reset.

Reply
  • BOOT0 being high (3V) causes the device to reset into it's System Loader mode, from here you can use USB DFU updates, or serial via the Flash Demonstrator.

    If your user code breaks the device, say you reprogram the GPIO's used for SWD/JTAG, put the device in a low power mode, etc, the ability to NOT run your code permits a method to recover.

    On the STM32F3-DISCOVERY board there is a BOOT0 pin next to a VDD pin, jumper these together, and reset.

Children
No data