HardwareAllTheThings/docs/debug-interfaces/swd.md

25 lines
867 B
Markdown

# 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 | - |
## 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/)