![]() |
CMSIS-DAP
Version 2.1.1
Interface Firmware for CoreSight Debug Access Port
|
| CMSIS-DAP is designed for debug units with a Cortex-M microcontroller | |
| CMSIS-DAP firmware runs on debug units with a Cortex-M microcontroller | |
| DAP_config.h configures I/O ports and debug unit hardware parameters | |
| Provides definitions about the hardware and configuration of the Debug Unit | |
| Standard I/O Pins of the CMSIS-DAP Hardware Debug Port support standard JTAG mode and Serial Wire Debug (SWD) mode | |
| CMSIS-DAP Hardware may provide LEDs that indicate the status of the CMSIS-DAP Debug Unit | |
| Access function for Test Domain Timer | |
| CMSIS-DAP Hardware I/O and LED Pins are initialized with the function DAP_SETUP | |
| CMSIS-DAP firmware communicates via USB with the host computer | |
| The CMSIS-DAP firmware is programmed into the Flash ROM of a debug unit | |
| Optionally, you may add a CMSIS-Driver USART to interface to SWO | |
| Optionally, you may add a CMSIS-Driver USART to interface to UART communication port | |
| A CMSIS-DAP conforming debug unit must be validated | |
| Commands between Debug Unit and host computer | |
| Information and Control commands for the CMSIS-DAP Debug Unit | |
| Get Information about CMSIS-DAP Debug Unit | |
| Sent status information of the debugger to Debug Unit | |
| Connect to Device and selected DAP mode | |
| Disconnect from active Debug Port | |
| Write ABORT Register | |
| Wait for specified delay | |
| Reset Target with Device specific sequence | |
| Set SWD/JTAG clock and control/monitor SWD/JTAG I/O pins | |
| Control and monitor SWD/JTAG Pins | |
| Select SWD/JTAG Clock | |
| Generate SWJ sequence SWDIO/TMS @SWCLK/TCK | |
| Configure the parameters for SWD mode | |
| Configure SWD Protocol | |
| Generate SWD sequence and output on SWDIO or capture input from SWDIO data | |
| Configure the parameters for SWO mode | |
| Set SWO transport mode | |
| Set SWO capture mode | |
| Set SWO baudrate | |
| Control SWO trace data capture | |
| Read SWO trace status | |
| Read SWO trace extended status | |
| Read SWO trace data | |
| Detect and configure the JTAG device chain | |
| Generate JTAG sequence TMS, TDI and capture TDO | |
| Configure JTAG Chain | |
| Read JTAG IDCODE | |
| Read and Writes to CoreSight registers | |
| Configure Transfers | |
| Read/write single and multiple registers | |
| Read/Write a block of data from/to a single register | |
| Abort current Transfer | |
| Execute atomic commands | |
| Execute multiple DAP commands from a single packet | |
| Queue multiple DAP commands provided in a multiple packets | |
| Target communication via extra UART | |
| Set UART transport mode | |
| Set UART configuration | |
| Control UART data receive and transmit | |
| Get UART status | |
| Transfer data via UART | |
| Status Information in Response Data | |
| Extend CMSIS-DAP firmware with commands |