Skip to main content
Visitor II
June 15, 2026
Question

Waiting for debugger connection (configuring GDB)

  • June 15, 2026
  • 1 reply
  • 13 views

I tried to program an STM32F407-DISC1 board in CubeIDE 2.1.1 after an IDE update and after a my break from programming.

With "GDB server" I get an endless "Waiting for debugger connection..." state with "Configuring GDB" in the progress tab. With "OpenOCD" everything stops at:

Listening on port 3333 for gdb connections
Info : [STM32F407VGTx.cpu] external reset detected

At the same time I can download a .bin file through STM32CubeProgrammer, so the cable and the IC’s seem to be fine.

I have upgraded the ST-LINK firmware, installed the stsw-link009 driver, and disabled Windows Firewall — none of this helped.

What else could I try?

 

 

1 reply

ST Technical Moderator
June 30, 2026

Hello ​@Kapciokl 

Let me thank you for posting.

I recommend that you test the debug session with the latest STM32CubeIDE version: 2.2.0.

STM32CubeIDE | Software - STMicroelectronics

I will be waiting for your feedback.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.