Figure 1 shows the interface ordering of the STlink/v2 JTAG/SWD standard. If you use the SWD mode, you only need to connect 4 wires, which are SWDCLK, SWDIO, GND, TVCC, ie. The Serial Wire Debug (SWD) is an Arm® communication interface between a debugging tool and a target device based on an Arm® Cortex®‐M processor. How to open it and print data to the serial wire console within the IDE itself. We'll also set up breakpoints to stop the MCU at some points in the code to check live. Let's setup to program STM32 ARM chips using SWD. Intermediate Protip 3 hours 3,557 To upload a program to a chip from Thomson Semiconductor you need an ST-Link programmer device to connect your PC. Thompson sells branded programmers, adaptors and cables. We'll use an inexpensive ST-LinkV2. They. This small guide will explain how to connect your debugger to your development board., SWDIO, SWCLK, SWO, and NRST) and 3V power supply. (Yes, I have double-checked the connections of all of the above pins, both on the schematic, and with a continuity tester on the actual soldered board.
[PDF Version]