Skip to main content
Associate II
August 11, 2024
Solved

GDB server

  • August 11, 2024
  • 2 replies
  • 1871 views

What should I do when stm32 applications do not see st-link and the message I always receive is: Failed to start GDB server
Failed to start GDB server
Error in initializing ST-LINK device.
Reason: (2) ST-LINK DLL error.

No matter which stm32 board or cable I took result the same.

Best answer by TDK

Perhaps a firewall issue.

Can STM32CubeProgrammer connect? OS? Software version?

2 replies

TDK
TDKBest answer
Super User
August 12, 2024

Perhaps a firewall issue.

Can STM32CubeProgrammer connect? OS? Software version?

"If you feel a post has answered your question, please click ""Accept as Solution""."
zomAuthor
Associate II
August 12, 2024

STM32CubeProgrammer does not connect. Windows10. Software - latest.

TDK
Super User
August 12, 2024

Okay, so not a GDB specific issue.

Can STM32CubeProgrammer see the programmer? Does it show a serial number, firmware version, voltage, etc? Does it show up in the device manager?

What board(s) are you trying? What programmer do you have? Are these custom boards?

"If you feel a post has answered your question, please click ""Accept as Solution""."