2025-12-02 2:40 AM
Hello,
I am using an STM32WB05KZ board and it was working normally with SWD through STM32CubeProgrammer.
However, after uploading a BLE beacon example firmware, I can no longer connect to the MCU.
CubeProgrammer shows the following errors:
Error: Unable to get core ID
Error: ST-LINK error (DEV_TARGET_CMD_ERR)
No STM32 target found
My setup:
SWDIO, SWCLK, and RST are connected through through-hole pads.
ST-LINK V2 firmware: V2J46M33
Voltage: 3.21 V
SWD frequency tested from 4 MHz down to 100 kHz
Tried "Under Reset", "Hotplug", and "Normal" modes
Tried holding RESET while connecting → still no success
It seems the BLE firmware is blocking SWD or reconfiguring PA13/PA14 very early during boot.
Requested Help:
How can I recover the STM32WB05KZ and re-enable SWD?
Is there a recommended recovery procedure for WB devices stuck after BLE firmware?
Does the WB05KZ support BOOT0 or another method to force the system bootloader?
How can I prevent BLE examples from disabling SWD pins or entering STOP mode?
Any guidance from ST engineers or community experts would be greatly appreciated.
Thank you.
2025-12-02 2:47 AM
PA 2 = SWD
PA3 = SWCLK
2025-12-03 11:04 AM
Hello @pradeepaan
Did you try to set PA10 high and reset to activate the UART bootloader?
You can recover the board by forcing it into bootloader mode. For the NUCLEO-WB05KZ, this is done by connecting pin 5 and pin 7 on the JP3 jumper found on CN3.
Please refer to the following articles that may help you:
Refer also to the UM3205, on "How to run an STM32_BLE application" section.