CMSIS-DAP
Version 2.0.0
Interface Firmware for CoreSight Debug Access Port
|
CMSIS-DAP is designed for Debug Units with Cortex-M microcontroller. More...
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 communicates via an USB interface to host computer. | |
Flash Program Firmware | |
The CMSIS-DAP Firmware is programmed into Flash ROM of a Debug Unit. | |
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 picture below shows the setup with an isolation adapter.
The CMSIS-DAP Firmware is designed for Debug Units that fulfil the following hardware requirements:
The CMSIS-DAP Firmware can be configured for a new Debug Unit using at least the Keil MDK-Plus or MDK-Professional Edition. 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\Config contains a template of the DAP_config.h configuration file. Various adaptations for different target hardware are provided.
Folders and Files | Description |
---|---|
.\Firmware\Example\V1\LPC-Link-II | CMSIS-DAP Firmware using USB HID adapted to the NXP LPC-Link-II Debug Unit that is part of the LPCxpresso-II platform. |
.\Firmware\Example\V2\LPC-Link-II | CMSIS-DAP Firmware using WinUSB adapted to the NXP LPC-Link-II Debug Unit that is part of the LPCxpresso-II platform. |
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 adaptation to a new folder. For example, copy the folder .\Firmware\XMC4200 to a folder called .\Firmware\MyDebugUnit.
To following steps describe the adaptation of the CMSIS-DAP Firmware to a new Debug Unit: