CMSIS-DAP: Connect SWO Trace

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

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
Connect SWO Trace

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

Optional 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. To use a UART for SWO capturing, it is required to set the #define SWO_UART to 1. Refer to CMSIS-DAP Debug Unit Information for more information.

The actual USART Driver instance is defined in the source file SWO.c using the #define USART_PORT. You may change this define with a compiler option.