![]() |
CMSIS-DAP
Version 1.1.0
Interface Firmware for CoreSight Debug Access Port
|
| CMSIS-DAP is designed for Debug Units with 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 | |
| CMSIS-DAP Hardware I/O and LED Pins are initialized with the function DAP_SETUP | |
| CMSIS-DAP Firmware uses USB HID as interface to host computer | |
| The CMSIS-DAP Firmware is programmed into Flash ROM of a Debug Unit | |
| Optional you may add a CMSIS-Driver USART to interface to SWO | |
| 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 | |
| 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 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 | |
| Status Information in Response Data | |
| Extend CMSIS-DAP Firmware with commands |