CMSIS-DAP: DAP_SWO_Status

| CMSIS-DAP Version 1.2.0 (Proposal) Interface Firmware for CoreSight Debug Access Port

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
DAP_SWO_Status
SWO Commands

Read SWO trace status. More...

Read SWO trace status.

## DAP_SWO_Status (0x1B):

Reads the SWO trace status.

DAP_SWO_Status Request:

| BYTE |
> 0x1B |
|******|

DAP_SWO_Status Response:

| BYTE | BYTE | WORD |
< 0x1B | Trace Status | Trace Count |
|******|**************|*************|

- Trace Status:
  - Bit 0: Trace Capture (1 - active, 0 - inactive)
  - Bit 6: Trace Stream Error
  - Bit 7: Trace Buffer Overrun
- Trace Count: Number of bytes in Trace Buffer (not yet read)