2024-08-05 11:40 PM
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.
2024-08-06 12:49 AM
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.
2024-08-06 01:17 AM - edited 2024-08-07 05:48 AM
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