on 2025-01-23 06:52 AM
On the NUCLEO-WB55RG, we have an embedded ST-LINK/V2-1. However, for several reasons, users may want to use an external ST-LINK for debugging or programming. In this article, I demonstrate a simple use case of programming an STM32WB55RG Nucleo board with the on-board ST-LINK/V2-1 of a NUCLEO-F103RB.
A STM32WB55RG that we program:
The ST-LINK part of a Nucleo board with the reference MB1136 (NUCLEO-F103RB in this case):
First, we need to disconnect both jumpers of the CN2 of our NUCLEO-F103RB.
Fit the jumper JP1 of the NUCLEO-WB55RG to select the USB MCU as 5 V source. Remove all the jumpers from the JP5.
Finally, connect the pins from the CN4 of the NUCLEO-F103RB to the pins of the JP5 of the NUCLEO-WB55RG. Follow the description in the table below.
CN4 of the NUCLEO-F103RB |
JP5 of the NUCLEO-WB55RG |
GND | GND |
NRST | NRST |
SWDIO | PA13 |
SWCLK | PA14 |
SWO | PB3 |
VDD_TARGET | VDD |
Important note:
Use the pins on the right of the JP5 (the STM32WB pins). Do not use the on-board ST-LINK pins (the pins on the left of the NUCLEO-WB55RG).
Power your NUCLEO-WB55RG through the connector CN1 (or any other powering way, but ensure you have the correct jumper settings).
Hi,
Interesting article, indeed. Would it be possible to add the elements below?
Thank you,
Hello @ALABSTM
Thank you so much for your feedback, I will process for the edit to add those details.
Best Regards.
STTwo-32