cancel
Showing results for 
Search instead for 
Did you mean: 

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

ojayeo
Associate

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

6 REPLIES 6
STTwo-32
ST Employee

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

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.

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.

ola
Associate III

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

ahsrabrifat
Associate III

Hi ahsrabrifat,

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

Ola

Sorry, duplicate