CMSIS-DAP
Version 1.1.0
Interface Firmware for CoreSight Debug Access Port
|
CMSIS-DAP is a specification and a implementation of a Firmware that supports access to the CoreSight Debug Access Port (DAP).ARM Cortex processors provide CoreSight Debug and Trace. CMSIS-DAP supports target Devices that contain one or more Cortex processors. A Device provides a Debug Access Port (DAP) typically either with a 5-pin JTAG or with a 2-pin Serial Wired Debug (SWD) interface that connects to a Debug Unit. CMSIS-DAP is the interface firmware for a Debug Unit that connects the Debug Port to USB. Debuggers that execute on a host computer connect via USB and the Debug Unit to the Device which runs the application software.
The CMSIS-DAP Firmware is provided as source code and is fully configurable to a new Debug Unit. A source code template and several reference implementations for popular Debug Units are provided. Refer to Firmware Configuration for more information.
The CMSIS-DAP Software Stack is composed of the following components:
In the examples provided the MDK Version 5 USB Communication Stack has been used. However it is possible to use alternative USB stacks instead.
The CMSIS-DAP Firmware is provided in the following directory structure.
Directory | Description |
---|---|
.\CMSIS\DAP\Firmware\Config | CMSIS-DAP Firmware configuration |
.\CMSIS\DAP\Firmware\Examples | CMSIS-DAP Firmware adapted to various Debug Units |
.\CMSIS\DAP\Firmware\Include | CMSIS-DAP Firmware header file |
.\CMSIS\DAP\Firmware\Source | CMSIS-DAP Firmware source code |
.\CMSIS\DAP\Firmware\Template | Interface Templates for MDK Version 5 middleware |
CMSIS-DAP compliant Debug Units must be validated using the scripts provided in Validate Debug Unit.