Serial Wire Debug (SWD) support with UDE debugger
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™ for Cortex. 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 of SWD (Serial Wire Debug) and SWO (Serial Wire Output) are fully supported by the Universal Debug Engine (UDE Debugger) as well as by PLS' Universal Access Device 2pro (UAD2pro) family, UAD2next and UAD3+.
SWD Target Interface
High-speed downloading via SWD is achieved by the communication devices UAD2pro, UAD2next, and UAD3+ the hardware add-ons of the Universal Debug Engine.
- SWD communication frequency @ 50 MHz.
- 2-wire SWD mode supported, SWO input supported.
- I/O Voltage range: 1,65 Volts – 5,5 Volts, No power dissipation from target
- ESD Protection per signal: 15kV, Capacity per signal: max 55pF
- Resettable over-current protection for VIO:10A ( max 0.2s time to trip)
- Optional with electrical isolation (1000 V RMS) available
- Designed to use the recommended connector on the board with keying shroud
- SWD interface is provided by a 10-pin or 20-pin target connector (50 mil Samtec FTSH-105 Cortex, 50 mil Samtec FTSH-110 Cortex, 100mil double row terminal).
- LED for power indicating.
SWDIO, SWCLK and SWO are data and clock signals between the target system and the UAD2pro / UAD2next / UAD3+. These pins are used for communication with the target system and operate according to the meaning of the used SWD mode. The RESET# signal is driven from the UAD2/UAD3 to reset the target MCU.
Optional electrical isolation
The SWD adapter for UAD2pro, UAD2next, and UAD3+ is also available with electrical isolation of the SWD and JTAG interface. The communication frequency will be nevertheless 50 MHz.
Supported Architectures with Universal Debug Engine (UDE Debugger)
- Cortex-R52 S32Z and S32E Real-Time Processors from NXP
- Cortex-R52 S32S Microcontrollers for Safe Vehicle Dynamics from NXP
- Cortex-R52, Cortex-M7 Stellar Automotive Microcontrollers from STMicroelectronics
- Cortex-A53 S32V234 Automotive Platform from NXP
- Cortex-A53 TI Sitara AM64x Processors from Texas Instruments
- Cortex-A72 TI Jacinto 7 TDA4 and DRA8 from Texas Instruments
- Cortex-A9 Zynq-7000 Microcontrollers from Xilinx
- Cortex-A8 i.MX51, OMAP35 Microcontrollers
- Cortex-R4 TMS570 Microcontrollers
- Cortex-R5F TI Sitara AM243x Microcontrollers from Texas Instruments
- Cortex-M7 STM32, Kinetis Microcontrollers
- Cortex-M7 S32K3 General Purpose MCUs for Automotive and Electrification ApplicationsApplications
- Cortex-M7 i.MX RT Microcontrollers from NXP
- Cortex-M4 XMC4000, XMC4500, FM4, Kinetis, LPC4000, STM32, S32K Microcontrollers
- Cortex-M3 LPC1000, STM32, TMS470, TLE9860 Microcontrollers
- Cortex-M33 STM32L5, STM32U5 Microcontrollers from STMicroelectronics
- Cortex-M33 RA Family from Renesas
- Cortex-M0 XMC1000, Kinetis, NUC100, STM32, S32K Microcontrollers