on 2024-12-05 08:15 AM
The NUCLEO-WB55RG has an on-board ST-LINK/V2-1 debugger/programmer. This ST-LINK/V2-1 is integrated on the same SoC as the MCU. This means that we cannot separate the hardware design into two parts; ST-LINK, and target MCU. For this reason, some developers may think that we cannot use the embedded ST-LINK/V2-1 to program an external MCU. We can in fact do this, and this article shows you how.
A NUCLEO-WB55RG that integrates our ST-LINK:
A NUCLEO-F103RB without an ST-LINK/V2-1 (after cutting the ST-LINK part of the board):
First, we need to power our NUCLEO-F103RB. To do so, we use the VIN pin of the connector CN6. Connect it to the 5V pin of our NUCLEO-WB55RG (available on the connector CN6) directly after fitting the jumper JP5 of my board to pin 2 and 3. Finally, we connect the pins as follows:
NUCLEO-WB55RG (JP5) | NUCLEO-F103RB |
GND | GND |
NRST | NRST |
SWDIO | PA13 |
SWCLK | PA15 |
SWO | PB3 |
T-VDD | VDD |
Note: Use the pins on the left of the JP5 (the on-board ST-LINK/V2-1 pins).
Do not use the MCU pins on the right side of the board.