2025-03-11 2:08 AM - last edited on 2025-03-11 2:33 AM by STTwo-32
2025-03-11 2:37 AM
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.
2025-03-11 3:07 AM
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.
2025-03-20 6:23 AM
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:
Use a jumper to short pin 5 and pin 7 on connector CN7.
Press the Reset button (B4) without power cycling the board. This will put the board into boot mode.
Once in boot mode, launch STM32CubeProgrammer and connect to the board.
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
2025-03-20 6:35 AM
Here was a similar discussion. You can see here too: https://community.st.com/t5/stm32-mcus-wireless/gdb-server-fails-to-start/td-p/165427
2025-03-20 6:43 AM
Hi ahsrabrifat,
Cool! thanks for sharing the URL with solutions. The more solutions the better.
Ola
2025-03-20 6:45 AM - edited 2025-03-20 6:46 AM
Sorry, duplicate