CMSIS-DAP: SWO Commands

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

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
Content
SWO Commands
CMSIS-DAP Commands

Configure the parameters for SWO mode. More...

## Content
| DAP_SWO_Transport
| Set SWO transport mode.
| DAP_SWO_Mode
| Set SWO capture mode.
| DAP_SWO_Baudrate
| Set SWO baudrate.
| DAP_SWO_Control
| Control SWO trace data capture.
| DAP_SWO_Status
| Read SWO trace status.
| DAP_SWO_ExtendedStatus
| Read SWO trace extended status.
| DAP_SWO_Data
| Read SWO trace data.

## Description

Configure the parameters for SWO mode.

## CMSIS-DAP SWO (Serial Wire Output)

CMSIS-DAP (CoreSight Debug Access Port) specifies debug protocol and interface for devices with CoreSight Debug and Trace.

Note
  The SWO Commands are only available when DAP_Info with ID=0xF0 (Capabilities) returns in Info - Bit 2: 1 = SWO UART or Bit 3: 1 = SWO Manchester.

The following extension adds support for trace over SWO (Serial Wire Output).

SWO add-on is a compatible extension of the existing CMSIS-DAP specification. Existing debugger implementations on PC do not require any modifications for debugging. They only need to be extended in order to support trace.

The following new commands are added:

- DAP_SWO_Transport
- DAP_SWO_Mode
- DAP_SWO_Baudrate
- DAP_SWO_Control
- DAP_SWO_Status
- DAP_SWO_ExtendedStatus
- DAP_SWO_Data

Format of the new commands is specified below using CMSIS-DAP documentation style. Note: 16-bit values (SHORT) and 32-bit values (WORD) are encoded as little-endian.

The following existing commands are extended:

- DAP_Info