Skip to main content
why 3.3v when u can 5000V
Associate II
December 12, 2021
Question

Im trying to flash first program into STM32U575ZIT. For some reason I m getting the next error: stm32 failed to start GDB server error in initializing st-link device REASON:no device found . I updated the ST-LINK and still not working.

tried to update the ST-LINK with the cubeIDE after that with the ST-LINK TOOL and at the end I tried to install the latest driver with device manager .

the STM32U575ZIT is pack fresh .

(nucleo)

This topic has been closed for replies.

14 replies

TDK
December 12, 2021

Is this a nucleo board?

Does STM32CubeProgrammer connect?

"If you feel a post has answered your question, please click ""Accept as Solution""."
why 3.3v when u can 5000V
Associate II
December 12, 2021

yes, and yes....

TDK
December 12, 2021

The debug tools are not super consistent. If STM32CubeProgrammer works, your hardware connection is fine.

Power cycle the board and try again. Try rebooting your system. Yes I know it's annoying.

There may be something STM32U5 specific here, but I also see odd behavior like this with other families occasionally in STM32CubeIDE.

"If you feel a post has answered your question, please click ""Accept as Solution""."
why 3.3v when u can 5000V
Associate II
December 12, 2021

yes and yes

MM..1
Super User
December 12, 2021

Show schematics how you connect your ST-LINK

why 3.3v when u can 5000V
Associate II
December 12, 2021

0693W00000HoJF3QAN.pngA picture of how I connected it

why 3.3v when u can 5000V
Associate II
December 12, 2021

for some reason led 1 to 3 are blinking in order from 1 to 3

MM..1
Super User
December 12, 2021

Version CubeIDE ? GDBserver version? Try switch to othet debuger in IDE config, setup support for debug low power modes , connect under reset ...

why 3.3v when u can 5000V
Associate II
December 16, 2021

Version CubeIDE : 1.8

GDBserver version: actually don't know

even if some configuration work it still succeed only after 2-3 tries if work at all .

Adams.Peter
Associate III
December 13, 2021

I'm having the same problem with the (ST-LINK GDB server) connection, when I switch to 'ST-LINK (OpenOCD)' I can debug the application.

When I use the (ST-LINK GDB server) I get the following message:

-----------

STMicroelectronics ST-LINK GDB server. Version 6.0.0

Copyright (c) 2021, 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

Target unknown error 32

Error in initializing ST-LINK device.

Reason: Unknown. Please check power and cabling to target.

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

AMusn.1
Visitor II
November 18, 2022

I have the same problem with Nucleo-WL55JC1 -- :( ;(... first I try with the latest version of cubeIde and I tried with older version.. got the same error.. Please Help.. :).. it's been a year is there any solution to this?

MM..1
Super User
November 18, 2022
AMusn.1
Visitor II
November 25, 2022

In my case, I get it to run by setting --> menu Run.Debug Configurations. Debugger:

1) connect to remote GDB Server Port Number change to not 61234 --> 61238, (while still chose Autostart local GDB server, Connect to remote GDB Server is not chosen, just change the number

2) Reset Behaviour: choose Hadware reset

Then it runs smoothly every time.. :) :), I really don't know what is the best/correct answer, just sharing my experience...

0693W00000WJU9PQAX.png