CMSIS-DAP  Version 2.1.2
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
DAP_UART_Transfer

Transfer data via UART. More...

Transfer data via UART.

DAP_UART_Transfer (0x21):

Receive and Transmit data via target UART (only for transport via DAP).

DAP_UART_Transfer Request:

| BYTE | SHORT | SHORT | BYTE |
> 0x21 | Rx Count | Tx Count| Transmit data |
|******|**********|*********|+++++++++++++++|
Note
DAP_UART_Transfer command can be used only if transport via DAP is enabled.
If only receive is required, Tx Count can be 0.
If only transmit is required, Rx Count can be 0.

DAP_UART_Transfer Response:

| BYTE | BYTE | SHORT | SHORT | BYTE |
< 0x21 | Status | Tx Count | Rx Count | Receive data |
|******|********|**********|**********|+++++++++++++++|