CMSIS-DAP: DAP_SWO_Transport

| 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_Transport
SWO Commands

Set SWO transport mode. More...

Set SWO transport mode.

## DAP_SWO_Transport (0x17):

Sets the SWO transport mode for reading trace data.

DAP_SWO_Transport Request:

| BYTE | BYTE |
> 0x17 | Transport |
|******|***********|

- Transport:
  - 0 - None (default)
  - 1 - Read trace data via DAP_SWO_Data command
  - 2 - Send trace data via separate WinUSB endpoint (requires CMSIS-DAP v2 configuration)
  - ... - reserved

DAP_SWO_Transport Response:

| BYTE | BYTE |
< 0x17 | Status |
|******|********|

- Status: Response Status

Note
  Currently the trace data can only be read via the existing DAP command request/response channel by using DAP_SWO_Data. Future extension might provide separate channels for reading trace data.