CMSIS-DAP: DAP_SWO_ExtendedStatus

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

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
DAP_SWO_ExtendedStatus
SWO Commands

Read SWO trace extended status. More...

Read SWO trace extended status.

## DAP_SWO_ExtendedStatus (0x1E):

Reads extended information about the SWO trace status.

DAP_SWO_ExtendedStatus Request:

| BYTE | BYTE |
> 0x1E | Control |
|******|*********|

- Control:
  - Bit 0: Trace Status (1 - request, 0 - inactive)
  - Bit 1: Trace Count (1 - request, 0 - inactive)
  - Bit 2: Index/Timestamp (1 - request, 0 - inactive)

DAP_SWO_ExtendStatus Response:

| BYTE | BYTE | WORD | WORD | WORD |
< 0x1E | Trace Status | Trace Count | Index | TD_TimeStamp |
|******|++++++++++++++|+++++++++++++|+++++++|++++++++++++++|

- 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)
- Index: Sequence number of next trace information
- TD_TimeStamp: Test Domain Timer value for trace sequence.