CMSIS-DAP: DAP_UART_Transport

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

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
DAP_UART_Transport
UART COM Commands

Set UART transport mode. More...

Set UART transport mode.

## DAP_UART_Transport (0x1F):

Sets the UART transport mode for receiving and transmitting data.

DAP_UART_Transport Request:

| BYTE | BYTE |
> 0x1F | Transport |
|******|***********|

- Transport:
  - 0 - None (default, if transport via USB COM Port is not implemented).
  - 1 - Transport data via USB COM Port (default, if implemented).
  - 2 - Transport data via DAP commands.

Note
  By default, data is transported via the USB COM Port (if implemented). In this case, the UART is controlled via a terminal (for example Putty), which can configure the UART (data bits, party, baudrate ...) and transfer the data.
  When transport data via DAP is enabled, CMSIS-DAP takes control over the UART with commands: DAP_UART_Configure, DAP_UART_Control, DAP_UART_Status and DAP_UART_Transfer.

DAP_UART_Transport Response:

| BYTE | BYTE |
< 0x1F | Status |
|******|********|

- Status: Response Status