CMSIS-DAP  Version 1.1.0
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
SWO 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_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. Currently it only supports debug but not also trace.

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:

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: