Skip to main content
Graduate
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.

    This topic has been closed for replies.
    Best answer by TDK

    Perhaps a firewall issue.

    Can STM32CubeProgrammer connect? OS? Software version?

    2 replies

    TDKAnswer
    Super User
    August 12, 2024

    Perhaps a firewall issue.

    Can STM32CubeProgrammer connect? OS? Software version?

    zomAuthor
    Graduate
    August 12, 2024

    STM32CubeProgrammer does not connect. Windows10. Software - latest.

    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?