CMSIS-DAP
Version 0.01 - Beta - Release Notes

This file contains release notes and last minute changes.

Information in this file, the accompany manuals, and software is
Copyright © 2012 ARM Ltd.
All rights reserved.


CMSIS-DAP Version 0.01 - Beta gives you a preview of the upcoming CMSIS-DAP Interface Firmware for the CoreSight Debug Access Port.

Contents

  1. Folder Structure
  2. Using Keil MDK as CMSIS-DAP Debugger
  3. RDDI-DAP Interface
  4. Contact Details

Folder Structure

The following section describes the folder structure of the files distributed in this CMSIS-DAP release:

Folder Description
.\Firmware CMSIS-DAP Firmware and reference implementations for various Debug Units.
.\html Documentation of the CMSIS-DAP Firmware.
.\BIN Add-on DLL's for Keil MDK V4.53. This folder will be removed in the final release as the DLL's will be part of MDK at that time.
.\Validation Validation Projects for various toolchains (currently only MDK validation is available).
.\RDDI RDDI-DAP Header Files and Interface. This folder will be removed in the final release as the RDDI-DAP documentation will be available separately.

Using Keil MDK as CMSIS-DAP Debugger

The CMSIS-DAP Debugger is not yet part of Keil MDK-ARM and needs therefore added manually with the following steps:

  1. Copy DLLs from the folder .\CMSIS_DAP\BIN to the folder \Keil\ARM\BIN of the Keil MDK-ARM Version 4.53 release. This adds the CMSIS_AGDI.DLL (AGDI Debugger Interface) and CMSIS_DAP.DLL (RDDI-DAP Access DLL) to the installation.
  2. Add to the file \Keil\Tools.ini the TDRVxx entries (whereby xx is number that is not yet used) to the sections [ARM] and [ARMADS] as shown below. The TDRVxx entry needs to be added also as parameter to CPUDLL1=SARMCM3.DLL. Example:
    [ARM]
      :
    CPUDLL1=SARMCM3.DLL(TDRV1,TDRV3,TDRV4,TDRV5,TDRV6,TDRV8,TDRV9,TDRV10,TDRV11,TDRV12,TDRV13,TDRV14)    # Drivers for Cortex-M devices
    TDRV14=BIN\CMSIS_AGDI.dll("CMSIS-DAP Debugger")
      :
    [ARMADS]
      :
    CPUDLL1=SARMCM3.DLL(TDRV1,TDRV3,TDRV4,TDRV5,TDRV6,TDRV8,TDRV9,TDRV10,TDRV11,TDRV12,TDRV13,TDRV14)    # Drivers for Cortex-M devices
    TDRV14=BIN\CMSIS_AGDI.dll("CMSIS-DAP Debugger")
    

After these steps the CMSIS-DAP Debugger can be selected in µVision under the dialogs Project - Options - Debug and Project - Options - Utilities for Cortex-M processor-based projects. The debugger connects to a CMSIS-DAP Debug Unit and the features are similar to ULINK2.

RDDI-DAP Interface

The RDDI-DAP Interface will be documented separately. To give CMSIS-DAP users a preview this CMSIS-DAP beta release contains the following files (which may be later part of the RDDI-DAP documentation):

File Description
.\RDDI\rddi.h Definitions for the RDDI core functions (as needed for the RDDI-DAP interface).
.\RDDI\rddi_dap.h Definitions for the RDDI-DAP functions.
.\RDDI\rddi_dap_cmsis.h Definitions for the CMSIS-DAP specific extensions to RDDI-DAP.
.\RDDI\Example\RDDI_DAP_IF.cpp Source code example for accessing CMSIS-DAP using the RDDI-DAP complaint CMSIS_DAP.DLL.
.\RDDI\Example\RDDI_DAP_IF.h Definitions for the source code example RDDI_DAP_IF.cpp.

Contact Details

If you experience any problems or have any questions about CMSIS-DAP send feedback to cmsis@arm.com.


Copyright © 2012 ARM Ltd. All rights reserved.
Visit our web site at www.arm.com/cmsis.

.