CMSIS-DAP: UART COM Commands

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

- Main Page
- Usage and Description
- Reference

All Functions Groups Pages
Content
UART COM Commands
CMSIS-DAP Commands

Target communication via extra UART. More...

## Content

| DAP_UART_Transport
| Set UART transport mode.
| DAP_UART_Configure
| Set UART configuration.
| DAP_UART_Control
| Control UART data receive and transmit.
| DAP_UART_Status
| Get UART status.
| DAP_UART_Transfer
| Transfer data via UART.

## Description

Target communication via extra UART.

CMSIS-DAP debug unit can be extended to support a separate UART port that connects to the target. Such a UART communication is typically used for printf-style debugging, but the usage is not limited to that. CMSIS-DAP supports UART communication via:

- dedicated CMSIS-DAP commands: connects seamlessly to (Cloud) IDEs that integrate a printf viewer.
- via standard USB COM port (optional): for any data communication, i.e. to transmit training data sets for machine learning.

The following CMSIS-DAP commands are added to support UART communication:

- DAP_UART_Transport : Set UART transport mode.
- DAP_UART_Configure : Set UART configuration.
- DAP_UART_Control : Control UART data receive and transmit.
- DAP_UART_Status : Get UART status.
- DAP_UART_Transfer : Transfer data via UART.