HardwareAllTheThings/docs/debug-interfaces/swd.md

25 lines
867 B
Markdown
Raw Normal View History

2022-09-27 09:47:19 +00:00
# SWD
### Summary
* SWD Pins
### SWD pins
* SWCLK: Clock into the core
* SWDIO: Data in / out
JTAG and SWD are similar and can be interfaced with each other:
| JTAG Mode | SWD Mode | Signal |
| --------- | -------- | --------------------------------------------- |
| TCK | SWCLK | Clock into the core |
| TDI | - | JTAG test data input |
| TDO | SWV | JTAG Test data output / SWV trace data output |
| TMS | SWDIO | JTAG test mode select / SWD data in and out |
| GND | GND | - |
2022-10-02 14:27:53 +00:00
## References
* [Hardware Debugging for Reverse Engineers Part 1: SWD, OpenOCD and Xbox One Controllers - Posted Jan 30, 2020 by wrongbaud](https://wrongbaud.github.io/posts/stm-xbox-jtag/)