Programming the STM32WB55RG using the ST-LINK/V2-1 of a separate board
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
on 2025-01-23 6:52 AM
Introduction
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.
1. Boards used
A STM32WB55RG that we program:
The ST-LINK part of a Nucleo board with the reference MB1136 (NUCLEO-F103RB in this case):
2. Pin connections
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).
Related links
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Interesting article, indeed. Would it be possible to add the elements below?
- A figure showing the two boards, side by side, plus the connections listed in the table above using colored lines? This would be helpful.
- A description of what should be done after all connections have been done. I suppose I should connect the 'NUCLEO-F103RB' board to my laptop. Then, I would see the 'STM32WB55RG Nucleo' board is the one detected. Finally, I would flash this latter using some toolchain. Am I correct?
Thank you,
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello @ALABSTM
Thank you so much for your feedback, I will process for the edit to add those details.
Best Regards.
STTwo-32
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Question about the WB55RG, would i be able to unlink the USART1 between the J-link(on board) and STM32?