2014-01-08 01:46 AM
Hi,
I was working with my stm32f3discovery and using the On-board ST-LINK/V2 for debug/ flash programming.I was working fine: flash download, debug and so on.After that I've disconnected the board. When I've reconnected and tried to download in flash a pop up has been showed: Error: Flash Download Failed - Target DLL has been cancelled .Please can you help me?Thanks
2014-07-16 07:52 AM
I am running into a similar problem on a STM32f0discovery board (STM32F051R8T6). When I pull Boot0 high the board appears to go into a different mode of operation (the LED that I turn on in my program is not turned on), which makes me think the MCU is loading from a different place in memory. This would be fine, except I still can't erase the flash. I get the ''No target connected'' message followed by the ''Error: Flash Erase failed - Target DLL has been cancelled'' again. Any ideas on how do de-brick the board?
Edit: It is worth noting that the board bricked because I put it in to standby mode.2014-07-16 09:33 AM
Yes, when BOOT0 is High at reset the chip goes into the System Loader code in ROM, and doesn't execute broken user code in FLASH.
Code that goes into low power or standby states early enough in the boot process will break the SWD/JTAG connectivity before the debugger can wrestle away control, and allow you to start the part over from the beginning again. I would recommend using the ST-LINK Utilities, and most current firmware/drivers.2014-07-16 12:06 PM
The ST-LINK Utility is what I needed to use. I had to set the ''Connect Under Reset'' option. Thank you!