cancel
Showing results for 
Search instead for 
Did you mean: 

P-NUCLEO-WB55 Error in initializing ST-LINK device. Reason: No device found on target.

PHumm.2
Associate

Hi,

I am very new to this topic and facing some problems with my P-NUCLEO-WB55 i couldn't solve by myself...

After previously flashing it with a simple program i've powered the board over the Vin and GND with an external power supply (max. 7-12V). Then I put the Jumper back on USB STL and connected it via USB to my Computer just as i also did earlier where it worked..after running even an empty program it says:

"Target no device found

Error in initializing ST-LINK device.

Reason: No device found on target.

Error in final launch sequence:

Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

localhost:61234: Connection timed out.

Failed to execute MI command:

target remote localhost:61234

Error message from debugger back end:

localhost:61234: Connection timed out.

localhost:61234: Connection timed out."

I've already reinstalled the driver of the St-Link.

Trying to connect via the STM32CubeProgrammer leads to the following error:

" Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication"

My observations: The COM LED and LED4 are red and the board is getting very hot because it somehow takes ~800mA (when powering it with an external supply it only goes to 7V when consuming 800mA, when only giving the board up to 700mA the Voltage is at 2,8V) - so is it likely that it is a hardware error? - but if so, why?

Are there any suggestions what the issue might be and how to fix it?

Thank you very much!

1 REPLY 1
Imen.D
ST Employee

Hello @Community member​ and welcome to the Community :)

Make sure that your ST-Link firmware is upgraded. 

Check the jumpers, SWD pins​ and BOOT0 pin.

Try configuring "Connect under reset" mode.

Check your power supply and try to change your USB cable.

Maybe this article helped you How to solve debugger connection issues.

When your question is answered, please close this topic by choosing Select as Best.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen