CMSIS-DAP  
Interface Firmware for CoreSight Debug Access Port
 
Loading...
Searching...
No Matches
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_ExtendedStatus
 Read SWO trace extended status.
 
 DAP_SWO_Data
 Read SWO trace data.
 

Description

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:

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: