CMSIS-DAP
Version 1.1.0
Interface Firmware for CoreSight Debug Access Port
|
Firmware Configuration | CMSIS-DAP is designed for Debug Units with Cortex-M microcontroller |
Debug Unit Processor | CMSIS-DAP Firmware runs on Debug Units with a Cortex-M Microcontroller |
Configure I/O Ports and Debug Unit | DAP_config.h configures I/O ports and Debug Unit hardware parameters |
CMSIS-DAP Debug Unit Information | Provides definitions about the hardware and configuration of the Debug Unit |
CMSIS-DAP Hardware I/O Pin Access | Standard I/O Pins of the CMSIS-DAP Hardware Debug Port support standard JTAG mode and Serial Wire Debug (SWD) mode |
CMSIS-DAP Hardware Status LEDs | CMSIS-DAP Hardware may provide LEDs that indicate the status of the CMSIS-DAP Debug Unit |
CMSIS-DAP Initialization | CMSIS-DAP Hardware I/O and LED Pins are initialized with the function DAP_SETUP |
Configure USB Peripheral | CMSIS-DAP Firmware uses USB HID as interface to host computer |
Flash Program Firmware | The CMSIS-DAP Firmware is programmed into Flash ROM of a Debug Unit |
Connect SWO Trace | Optional you may add a CMSIS-Driver USART to interface to SWO |
Validate Debug Unit | A CMSIS-DAP conforming Debug Unit must be validated |
CMSIS-DAP Commands | Commands between Debug Unit and host computer |
General Commands | Information and Control commands for the CMSIS-DAP Debug Unit |
DAP_Info | Get Information about CMSIS-DAP Debug Unit |
DAP_HostStatus | Sent status information of the debugger to Debug Unit |
DAP_Connect | Connect to Device and selected DAP mode |
DAP_Disconnect | Disconnect from active Debug Port |
DAP_WriteABORT | Write ABORT Register |
DAP_Delay | Wait for specified delay |
DAP_ResetTarget | Reset Target with Device specific sequence |
Common SWD/JTAG Commands | Set SWD/JTAG clock and control/monitor SWD/JTAG I/O pins |
DAP_SWJ_Pins | Control and monitor SWD/JTAG Pins |
DAP_SWJ_Clock | Select SWD/JTAG Clock |
DAP_SWJ_Sequence | Generate SWJ sequence SWDIO/TMS @SWCLK/TCK |
SWD Commands | Configure the parameters for SWD mode |
DAP_SWD_Configure | Configure SWD Protocol |
SWO Commands | Configure the parameters for SWO mode |
DAP_SWO_Transport | Set SWO transport mode |
DAP_SWO_Mode | Set SWO capture mode |
DAP_SWO_Baudrate | Set SWO baudrate |
DAP_SWO_Control | Control SWO trace data capture |
DAP_SWO_Status | Read SWO trace status |
DAP_SWO_Data | Read SWO trace data |
JTAG Commands | Detect and configure the JTAG device chain |
DAP_JTAG_Sequence | Generate JTAG sequence TMS,TDI and capture TDO |
DAP_JTAG_Configure | Configure JTAG Chain |
DAP_JTAG_IDCODE | Read JTAG IDCODE |
Transfer Commands | Read and Writes to CoreSight registers |
DAP_TransferConfigure | Configure Transfers |
DAP_Transfer | Read/write single and multiple registers |
DAP_TransferBlock | Read/Write a block of data from/to a single register |
DAP_TransferAbort | Abort current Transfer |
Atomic Commands | Execute atomic commands |
DAP_ExecuteCommands | Execute multiple DAP commands from a single packet |
DAP_QueueCommands | Queue multiple DAP commands provided in a multiple packets |
Response Status | Status Information in Response Data |
CMSIS-DAP Vendor Commands | Extend CMSIS-DAP Firmware with commands |