cancel
Showing results for 
Search instead for 
Did you mean: 

Debugger connection don't work with ST-Link and STM32CubeIDE V.1.3.1

ledi001
Associate III

I am working with Windows10, STM32CubeIDE V.1.3.1 and ST-Link on board of NUCLEO-L412KB. Today i connected the board first time and made an update after being asked to do so. After reconnecting the board and successfully update of ST-Link the debugger lost it's connection after starting debugging process.

STMicroelectronics ST-LINK GDB server. Version 5.5.0

Copyright (c) 2019, STMicroelectronics. All rights reserved.

Starting server with the following options:

    Persistent Mode      : Disabled

    Logging Level       : 1

    Listen Port Number     : 61234

    Status Refresh Delay    : 15s

    Verbose Mode        : Disabled

    SWD Debug         : Enabled

    InitWhile         : Enabled

Waiting for debugger connection...

Debugger connected

Debugger connection lost.

Shutting down...

After that, the Debugger LED on NUCLEO board remains red until i restart my PC. After restart, the LED lights up green, but after starting debugging process all is the same behavior like before.

Please help!

1 REPLY 1
Jorge Jacome
Associate II

Something similar did happen to me .

I do pinpoint ,after it does the St-link upgrade cause that problem, in the future I will not do the upgrade until STM fix bugs.

Anyway the way how I did overcome this problem; after following instructions from another St community member.

Delete all projects currently on your workbench, and start a fresh project from scratch .

And its working on Windows 7,8 and 10

Hopefully fix and good luck

Jorge