cancel
Showing results for 
Search instead for 
Did you mean: 

Target No Device Found - Error in Initializing ST-LINK Device

Niki_Nagar
Associate II

Hello  ST Community,

I'm experiencing an issue with my STM32 development setup in STM32CubeIDE. When I try to connect to my target device [ STM32WLE5JC Module(LoRa-E5 mini)] using the ST-LINK, I receive the following error:

"Target no device found, Error in initializing ST-LINK device.

Reason: No device found on target."

My Setup:

----------------------------

IDE: STM32CubeIDE
ST-LINK SN : 260023000B33353739303541
ST-LINK FW : V2J45S7
MCU: STM32WLE5JC(LoRa-E5 mini)

 

Steps Taken:

----------------------------

- Verified physical connections.
- Powered the microcontroller adequately.
- Used ST-Link utility and CubeIDE for debugging.
- Configured the software environment for SWD.

I'm reaching out to the community for insights into resolving the connectivity issue. If anyone has encountered similar problems or has expertise in debugging STM32 microcontrollers, your input would be highly appreciated.

 

 

2 REPLIES 2
Imen.D
ST Employee

Hello @Niki_Nagar ,

Did you check the jumpers if are correct on your board? Make sure that your ST-Link firmware is upgraded.

Did you try connecting your board with STM32CubeProgrammer?

I advise your try "Connect Under reset" mode.

You can refer to this FAQ, this may help you to fix your debugger connection issues.

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

Hello @Imen.D , Thank you for your response,

- I have recheck the connection between device and St-Link through jumper. And it is correct. 

- I have upgraded the St-link through STLinkUpgrade.exe. It has successfully upgraded.

- I tried to connect board with STM32CubeProgrammer through ST-Link and it is showing error:

-------------------------------------

UR connection mode is defined with the HWrst reset mode
ST-LINK SN : 260023000B33353739303541
ST-LINK FW : V2J45S7
Board : --
Voltage : 2.98V
 Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

@gbm , @Tesla DeLorean , @Jim Seymour