CMSIS-DAP: Connect SWO trace

| CMSIS-DAP Version 2.1.1 Interface Firmware for CoreSight Debug Access Port

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
Connect SWO trace

Optionally, you may add a CMSIS-Driver USART to interface to SWO. More...

Optionally, you may add a CMSIS-Driver USART to interface to SWO.

A CMSIS-Driver USART can be used to capture the trace output on the SWO pin using a UART RX input on the microcontroller. UART Serial Wire Output (SWO) trace can be enabled and configured in the header DAP_Config.h. #define SWO_UART is used to enable the UART SWO and #define SWO_UART_DRIVER is used to configure USART Driver instance number (Driver_USART#).
Refer to CMSIS-DAP Debug Unit Information for more information.