![]() |
CMSIS-DAP
Version 0.01 - Beta
Interface Firmware for CoreSight Debug Access Port
|
CMSIS-DAP is designed for Debug Units with Cortex-M microcontroller.
The CMSIS-DAP firmware can be deployed to a Debug Unit that is based on Cortex-M processor-based microcontroller.
The CMSIS-DAP Firmware is designed for Debug Units that fulfill the following hardware requirements:
The CMSIS-DAP Firmware can be configured for a new Debug Unit using the Keil MDK Professional. Reference implementations are provided as source code with complete project files and may be used as starting point for the firmware deployment to a new Debug Unit.
The folder .//Firmware//Template contains a template of the DAP_config.h configuration file. Various adaptions for different target hardware are provided in the device specific folders.
| Folders and Files | Description |
|---|---|
| .\Firmware\LPC-Link-II | CMSIS-DAP Firmware adapted to the NXP LPC-Link-II Debug Unit that is part of the LPCxpresso-II platform. |
| .\Firmware\OpenSDA | CMSIS-DAP Firmware adapted to the Freescale OpenSDA Debug Unit that is part of several Freescale Starter Kits. |
| .\Firmware\Template | Template files that can be used for new adaptions of the CMSIS-DAP Firmware. |
| .\Firmware\Template\DAP_config.h | Configure I/O Ports and Debug Unit for the CMSIS-DAP Firmware. |
| .\Firmware\Template\DAP_vendor.h | Add CMSIS-DAP Vendor Commands to the Firmware of the Debug Unit. |
The CMSIS-DAP Firmware is designed to execute on a Debug Unit that is using a Cortex-M0, Cortex-M0+, Cortex-M3, or Cortex-M4 processor-based microcontroller. To deploy the firmware to a new Debug Unit copy an existing firmware adaption to a new folder. For example, copy the folder .\Firmware\OpenSDA to a folder called .\Firmware\MyDebugUnit.
To following steps describe the adaption of the CMSIS-DAP Firmware to a new Debug Unit:
Content | |
| 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. | |
| 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. | |