CMSIS-DAP  
Interface Firmware for CoreSight Debug Access Port
 
Loading...
Searching...
No Matches

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 |
|******|********|**********|**********|+++++++++++++++|