2019-07-19 12:30 AM
Hello
When I try to connect to my Nucleo board, I have the following message:
Error in initializing ST-LINK device.
Reason: (4) No device found on target.
I think I have this error message because I didn't disconnect the board physically before upgrading the firmware.
I don't know what is broken the ST-link or the nucleo itself?
Is there a way to repair the board?
Bests
Solved! Go to Solution.
2019-07-22 01:34 AM
Hi,
good to know this is working again.
See RM0090 §5.2.1 "The device remains in Reset mode when VDD/VDDA is below a specified threshold,"
Rgds
BT
2019-07-19 01:47 AM
It looks like the stlink is still available, but not the connection to the target. Probably no need to fear for the stlink.
2019-07-19 01:58 AM
Yes it seems, since the board is still recognized by the computer.
Does it means the target is dead or is there a way to use it again?
Regards
2019-07-19 03:15 AM
Doubel check connections and setup.
2019-07-19 04:10 AM
Pull BOOT0 pin high so it stops running your code, connect with ST-LINK Utilities and erase.
Could try connect under reset or low power options.
Your code likely disables SWD interface or reconfigures debug pins. Or goes into low power state.
2019-07-19 04:35 AM
Hi,
can you check that the power LED (LD3) is ON (RED LED). If not, can you check that the JP6 (IDD) is properly ON (remove it and put it back) and that JP5(PWR) is in the proper position (U5V).
Rgds
BT
2019-07-19 04:50 AM
My card is a Nucleo144, not a Nucleo64. I check that all the jumpers configuration are in their default state.
LD4 is red and LD6 lights up.
2019-07-19 04:50 AM
I did.
2019-07-19 04:58 AM
I tried as you described, I still have the same error.
2019-07-19 05:09 AM
Hi,
which STM32 Nucleo-144 boards do you have? NUCLEO-F207ZG, NUCLEO-F303ZE, NUCLEO-F412ZG, NUCLEO-F413ZH, NUCLEO-F429ZI, NUCLEO-F439ZI, NUCLEO-F446ZE, NUCLEO-F722ZE, NUCLEO-F746ZG, NUCLEO-F756ZG, NUCLEO-F767ZI and NUCLEO-H743ZI? Is there any HW modification (e.g. Solder Bridge changed) ? Any modification in the jumper settings compared to default ones? any thing (shields) connected to the board?
As explained by Clive, the Serial Wire Debug is probably disabled by your software. Have you properly tried to put a jumper between pins 5-7 of CN11 in order to set BOOT0 to 1 and have the default bootloader running? Make sure to reset or power cycle.
Have you tried to Connect under reset with ST-Link utilities?
Rgds
BT