Difference between revisions of "Serial Wire Debug"

From Stm32World Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
Here is an example of a Chinese clone [[ST-Link]] hooked up to one of our [[Green Pill]] boards:
 
Here is an example of a Chinese clone [[ST-Link]] hooked up to one of our [[Green Pill]] boards:
  
[[File:ST-Link Greenpill connection.jpg|600px|xxx]]
+
[[File:ST-Link Greenpill connection.jpg|600px|border]]
  
 
As can be seen on the photo, the GND and the 3.3V supply lines are also hooked up.
 
As can be seen on the photo, the GND and the 3.3V supply lines are also hooked up.

Revision as of 03:31, 16 March 2022

A bunch of ST-Link Clones. These usually cost less than $2

SWD is a ARM specific 2-wire version of JTAG. It enables developers to manipulate the built-in flash (flash new firmware), to debug firmware and to monitor memory locations (variables), live, while the firmware is running.

Here is an example of a Chinese clone ST-Link hooked up to one of our Green Pill boards:

ST-Link Greenpill connection.jpg

As can be seen on the photo, the GND and the 3.3V supply lines are also hooked up.