2019-09-22 01:56 PM
I get the error
Error in final launch sequence:
Error in initializing ST-LINK device.
Reason: (4) No device found on target.
I have the STM32 F303 RE nucleo connected over USB and am trying to download and run code through STM32Cube IDE. Code compiles fine but won't run or make it to the target.
I have shorted the SB62 and SB63 bridges, so I can use the USART, but otherwise everything is as I got the board originally.
2019-09-22 02:14 PM
Can you find with ST-LINK Utilities or STM32 Cube Programmer?
What if you pull BOOT0 High so your code currently on the device doesn't run? If it connects, erase the device.
If you have code that disables or reconfigures the debug pins, or puts the device in low power mode, the debugger may not longer be able to connect.
2019-09-23 05:02 AM
I can't connect under ST-Link Utility either. The Utility does see the board, and I was able to upgrade the firmware to the latest, but it won't connect to it if I try to 'Connect' or erase memory or anything else. It says to connect using 'COnnect under reset' which does not appear to be an option at all (there are 3 reset options under Target-Settings and I tried all 3). It also says to use a slower frequency, and I tried the slowest to no avail.
For the Boot0: I don't see this on the board, is it under a different name perchance?
2019-10-05 11:37 AM
I can't connect under ST-Link Utility either. The Utility does see the board, and I was able to upgrade the firmware to the latest, but it won't connect to it if I try to 'Connect' or erase memory or anything else. It says to connect using 'COnnect under reset' which does not appear to be an option at all (there are 3 reset options under Target-Settings and I tried all 3). It also says to use a slower frequency, and I tried the slowest to no avail.
For the Boot0: I don't see this on the board, is it under a different name?
2019-10-06 03:02 AM
BOOT0 pin (usual name) branch to bootloader if high at reset rising edge.
If your user code screws up, this is the escape exit.
2019-10-06 06:33 AM
Thanks HD139139 that worked. I erased the flash and then was able to start programming again.
2019-10-06 06:34 AM
Thanks HD139139 that worked. I erased the flash and then was able to start programming again.