Skip to main content
Associate
March 11, 2025
Question

STM32Cube IDE: Failed to start GDB Server on STM32WL NUCLEO-WL55JC1

  • March 11, 2025
  • 2 replies
  • 733 views

WhatsApp Image 2025-03-11 at 1.55.02 PM.jpegWhatsApp Image 2025-03-11 at 1.54.52 PM.jpeg

2 replies

STTwo-32
Technical Moderator
March 11, 2025

Hello @ojayeo and welcome to the ST Community 

Could you please try different mode for connection on the STM32CubePRogrammer (hot plug, under reset). If it does not work, disconnect your board, restart the STM32CubeProgrammer and reconnect the board. Also, try different cables (data and not charging cable), USB port, .. 

Best Regards.

STTwo-32

ojayeoAuthor
Associate
March 11, 2025

Hello , we have tried all the things mentioned so please do let me know if there is anything else that I can do. Also help me understand why the stm32 target device is not detected.

Associate III
March 20, 2025

Hi ojayeo,

Does the issue of not being able to connect to the board still persist?

If so, and you are using the Nucleo-WL55JC board, try the following steps:

  1. Use a jumper to short pin 5 and pin 7 on connector CN7.

  2. Press the Reset button (B4) without power cycling the board. This will put the board into boot mode.

    • Pin 7 is the BOOT0 pin, and pin 5 is VDD_MCU. Shorting them ensures the boot pin is held high while resetting the board.
  3. Once in boot mode, launch STM32CubeProgrammer and connect to the board.

  4. Perform a full erase of the board if possible.

This should restore the board, allowing you to reconnect and debug successfully.

Hope this helps you or someone else who might have a similar issue.

Ola

Senior III
March 20, 2025
Associate III
March 20, 2025

Hi ahsrabrifat,

Cool! thanks for sharing the URL with solutions. The more solutions the better.

Ola