2021-08-30 03:51 PM
Hi,
I have STM32CubeIDE 1.7.0 issue whereby I can connect either ST-Link V2 or V3set to our custom board that has STM32L462RET6 MCU. Same with STM32 Cube Programmer - can't connect - target not found. Inside IDE, there's problem launching GDB server.
Please see attached images of the problems.
Whether I connect our board, power it on or disconnect it from ST-Link, it's the same results - either way, it can't find target board.
In Programmer, I noticed, whether Voltage: 0.0 (STLink V3) or Voltage 3.24 (STLink V2) is detected, STILL target can't be found.
How can I fix this issue?
Thanks for your help.
STMicroelectronics ST-LINK GDB server. Version 5.9.1
Copyright (c) 2021, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61117
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.
2023-02-07 11:36 PM
Hi @Terry Greeniaus
I am facing the same problem, I am using an STM32WB55CG custom board. I tried to put it into sleep mode. After flashing I am not able to connect to the board again same problem as mentioned in the above discussion.
Can you please guide me on how to come out of this problem?
And how can I avoid this in the next firmware flash?
Thank You
2023-02-08 12:37 AM
Make sure NRST is wired so "Connect Under Reset" is usable as a method.
Add some spin delay in the Reset Handler so the chip can be brought under control before powering off the interface.