cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L462 not found - ST-LINK V2 / V3 in STM32CubeIDE

MI.3
Associate

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.

11 REPLIES 11
AM.12
Associate III

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

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..