CMSIS-DAP  Version 0.01 - Beta
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
Firmware Configuration

Description

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.

CMSIS_DAP_DEBUG_UNIT.png
CMSIS-DAP Debug Unit Hardware

Hardware Requirements

The CMSIS-DAP Firmware is designed for Debug Units that fulfill the following hardware requirements:

CMSIS-DAP Firmware

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:

  1. Debug Unit Processor : Select the microcontroller and replace the CMSIS-CORE files.
  2. Configure I/O Ports and Debug Unit : Adapt the I/O Ports and specify other parameters for the Debug Unit.
  3. Configure USB Peripheral : Adapt the USB Peripheral to the microcontroller.
  4. CMSIS-DAP Vendor Commands : Optional you may add vendor specific commands to the Debug Unit.
  5. Flash Program Firmware : Program the adapted firmware to the Flash ROM of the new Debug Unit.
  6. Validate Debug Unit : Validate the CMSIS-DAP firmware of the 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.