Serial Wire Debug (SWD) support
The Serial Wire Debug (SWD) interface or Serial Wire Debug Port (SW-DP) is one of the features of the debug and trace technology Arm CoreSight™. First implementations of SWD are realized in the derivatives of the Cortex-M3 core Stellaris of Luminary Micro (now Texas Instruments) and in the derivatives of the STM32 family by STMicroelectronics. The known JTAG Debug Port (JTAG-DP) is supported furthermore. Both debug ports, the SWD and the alternative JTAG debug port can be combined to the Serial Wire JTAG Debug Port (SWJ-DP), the CoreSight standard port.
When using SWD, the TDO signal can provide trace event messages via the Serial Wire Output (SWO). This behaviour can be used by the Serial Wire Viewer (SWV) to output system events via a single pin:
- Instrumentation trace ITM (printf-like Debugging)
- Watchpoint Trace DWT, Instruction Pointer Trace
- Event Trace (Interrupts)
The additional options are fully supported by the Universal Debug Engine as well as by PLS' Universal Access Device 2pro (UAD2pro) family, UAD2next and UAD3+.
Supported Architectures with Universal Debug Engine (UDE Debugger)
- Cortex-R4 TMS570 Microcontrollers
- Cortex-M7, STM32, Kinetis Microcontrollers
- Cortex-M4 XMC4000, XMC4500, FM4, Kinetis, LPC4000, STM32, S32K Microcontrollers
- Cortex-M3 LPC1000, STM32, TMS470, TLE9860 Microcontrollers
- Cortex-M0 XMC1000, Kinetis, NUC100, STM32, S32K Microcontrollers
- Cortex-A8 i.MX51, OMAP35 Microcontrollers
- Cortex-R52, Cortex-M7 Stellar Automotive Microcontrollers from STMicroelectronics