cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55RG Error in initializing ST-LINK device. Reason: No device found on target

LZure
Associate II

I have two P-Nucleo-WB boards and both of them end up in this state.

CubeIDE trying to load binary:

0693W00000NsyFLQAZ.pngCubeProgrammer:

0693W00000NsyIyQAJ.png 

Found several topic that looks the same however nothing helped. Has anyone solved this problem?

18 REPLIES 18
Remy ISSALYS
ST Employee

Hello,

I think you should check in the device management if there is no problem with the ports, and try to disconnect the port in device management and reconnect.

Check if all jumpers are correctly configured :

  • set correctly the jumper JP1 ([7-8] on USB STL).
  • JP2 is ON
  • JP3 is ON 

Make sure to upgrade the ST-LINK/V2-1 firmware. Are you able to connect your board in USB DFU mode ? If yes, can you recover the option bytes please ?

Best Regards

LZure
Associate II

This is how my Linux recognize device:

0693W00000QLW33QAH.pngJumpers are set up as you described. I can't connect by DFU:

0693W00000QLW3SQAX.png 

Remy ISSALYS
ST Employee

Hello,

In order to connect the board using USB DFU mode, you must have the following configuration:

  • BOOT0 pin HIGH: connect CN7 pin 5 to CN7 pin 7
  • JP1 ([5-6] on USB MCU).
  • JP2 is ON
  • JP3 is ON
  • Use USB_USER connector

The following configuration is used to connect the board using ST LINK:

  • JP1 ([7-8] on USB STL).
  • JP2 is ON
  • JP3 is ON 
  • Use ST-LINK connector

Best Regards

LZure
Associate II

Hi Remy,

I was able to connect with USB DFU mode however I don't know how to recover option bytes. Could you please tell me how to do that?

Best regards

Remy ISSALYS
ST Employee

Hello,

Can you try to connect your board to STM32CubeProgrammer using ST LINK by following these steps ?

  • STM32CubeProgrammer configuration: Mode => Normal, Reset mode => Software reset
  • Maintain reset button on the board pressed
  • Click on connect
  • Release reset button pressed

Best Regards

rolla
Associate

make sure your power supply is good then you should try. i think your problem is form power supplier or low voltage system.

KiptonM
Lead

Are you using an unpowered hub to connect to the board to?

I plug mine directly into the computer.

I have also had luck with a powered USB 3.1 Hub. The powered hub has its own power supply and does not pull power from the PC. Mine is an Inland 7 port hub with a 2000 mA power supply. It has no model number on the case.

I got it from Microcenter here is a link:

Inland 7 Port USB 3.1 Gen 1 Hub - Black - Micro Center

rolla
Associate

Hi Remy,

Don't worry about it, you're fine. The last time I bricked something was about four years ago. When I first used this product, I thought that my cell phone would blow up. Can it be recovered?

Best regards

LZure
Associate II

Hi All,

Thanks for all your replies. I have tested voltages with few chargers and still got this same result.Tested both ports: USB MCU and ST-LINK (jumpers in correct settings). I am not using any USB hub. I used to plug it directly to laptop - laptop voltage is ok (5V).

@Remy ISSALYS​ 

Tried to connect they way you said but it still fails: Error: No STM32 target found!