# CMSIS-DAP

CMSIS-DAP is generally implemented as an on-board interface chip, providing direct USB connection from a development board to a debugger running on a host computer on one side, and over JTAG (Joint Test Action Group) or SWD (Serial Wire Debug) to the target device to access the Coresight DAP on the other. Official reference can be found here.

Contents

- Configuration

- Drivers

- Platforms

- Frameworks

- Boards

## Configuration

You can configure debugging tool using debug_tool option in “platformio.ini” (Project Configuration File):

    [env:myenv]
    platform = ...
    board = ...
    debug_tool = cmsis-dap

If you would like to use this tool for firmware uploading, please change upload protocol:

    [env:myenv]
    platform = ...
    board = ...
    debug_tool = cmsis-dap
    upload_protocol = cmsis-dap

More options:

- Debugging options

- Upload options

## Drivers

Windows

  Please install Windows serial driver and check “USB Driver Installation” guide for your board.

Mac

  Not required.

Linux

  Please install “udev” rules 99-platformio-udev.rules. If you already installed them before, please check that your rules are up-to-date or repeat steps.

## Platforms

Name | Description
--- | ---
Atmel SAM | Atmel | SMART offers Flash- based ARM products based on the ARM Cortex-M0+, Cortex-M3 and Cortex-M4 architectures, ranging from 8KB to 2MB of Flash including a rich peripheral and feature mix.
Freescale Kinetis | Freescale Kinetis Microcontrollers is family of multiple hardware- and software-compatible ARM Cortex-M0+, Cortex-M4 and Cortex-M7-based MCU series. Kinetis MCUs offer exceptional low-power performance, scalability and feature integration.
Maxim 32 | Maxim’s microcontrollers provide low-power, efficient, and secure solutions for challenging embedded applications. Maxim’s processors embed cutting-edge technologies to secure data and intellectual property, proven analog circuitry for real-world applications, and battery-conserving low power operation.
Nordic nRF51 | The Nordic nRF51 Series is a family of highly flexible, multi-protocol, system-on-chip (SoC) devices for ultra-low power wireless applications. nRF51 Series devices support a range of protocol stacks including Bluetooth Smart (previously called Bluetooth low energy), ANT and proprietary 2.4GHz protocols such as Gazell.
Nordic nRF52 | The nRF52 Series are built for speed to carry out increasingly complex tasks in the shortest possible time and return to sleep, conserving precious battery power. They have a Cortex-M4F processor and are the most capable Bluetooth Smart SoCs on the market.

NXP LPC

The NXP LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors. The LPC chips are grouped into related series that are based around the same 32-bit ARM processor core, such as the Cortex-M4F, Cortex-M3, Cortex-M0+, or Cortex-M0. Internally, each microcontroller consists of the processor core, static RAM memory, flash memory, debugging interface, and various peripherals.

ST STM32 | The STM32 family of 32-bit Flash MCUs based on the ARM Cortex-M processor is designed to offer new degrees of freedom to MCU users. It offers a 32-bit product range that combines very high performance, real-time capabilities, digital signal processing, and low-power, low-voltage operation, while maintaining full integration and ease of development.
WIZNet W7500 | The IOP (Internet Offload Processor) W7500 is the one-chip solution which integrates an ARM Cortex-M0, 128KB Flash and hardwired TCP/IP core for various embedded application platform especially requiring Internet of things

## Frameworks

Name | Description
--- | ---
Arduino | Arduino Wiring-based Framework allows writing cross-platform software to control devices attached to a wide range of Arduino boards to create all kinds of creative coding, interactive objects, spaces or physical experiences.

CMSIS

The ARM Cortex Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex-M processor series and specifies debugger interfaces. The CMSIS enables consistent and simple software interfaces to the processor for interface peripherals, real-time operating systems, and middleware. It simplifies software re-use, reducing the learning curve for new microcontroller developers and cutting the time-to-market for devices.

libOpenCM3 | The libOpenCM3 framework aims to create a free/libre/open-source firmware library for various ARM Cortex-M0(+)/M3/M4 microcontrollers, including ST STM32, Ti Tiva and Stellaris, NXP LPC 11xx, 13xx, 15xx, 17xx parts, Atmel SAM3, Energy Micro EFM32 and others.

Mbed

The mbed framework The mbed SDK has been designed to provide enough hardware abstraction to be intuitive and concise, yet powerful enough to build complex projects. It is built on the low-level ARM CMSIS APIs, allowing you to code down to the metal if needed. In addition to RTOS, USB and Networking libraries, a cookbook of hundreds of reusable peripheral and module libraries have been built on top of the SDK by the mbed Developer Community.

Simba | Simba is an RTOS and build framework. It aims to make embedded programming easy and portable.
SPL | The ST Standard Peripheral Library provides a set of functions for handling the peripherals on the STM32 Cortex-M3 family. The idea is to save the user (the new user, in particular) having to deal directly with the registers.
STM32Cube | STM32Cube embedded software libraries, including: The HAL hardware abstraction layer, enabling portability between different STM32 devices via standardized API calls; The Low-Layer (LL) APIs, a light-weight, optimized, expert oriented set of APIs designed for both performance and runtime efficiency.
Zephyr | The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with safety and security in mind.

## Boards

Note

For more detailed `board` information please scroll tables below by horizontal.

Name | Platform | Debug | MCU | Frequency | Flash | RAM
--- | --- | --- | --- | --- | --- | ---
ARM mbed LPC11U24 (+CAN) | NXP LPC | On-board | LPC11U24 | 48MHz | 32KB | 8KB
Arduino M0 Pro (Programming/Debug Port) | Atmel SAM | On-board | SAMD21G18A | 48MHz | 256KB | 32KB
Arduino Nano 33 BLE | Nordic nRF52 | External | NRF52840 | 64MHz | 960KB | 256KB
Arduino Zero (Programming/Debug Port) | Atmel SAM | On-board | SAMD21G18A | 48MHz | 256KB | 32KB
Atmel ATSAMR21-XPRO | Atmel SAM | On-board | SAMR21G18A | 48MHz | 256KB | 32KB
Atmel ATSAMW25-XPRO | Atmel SAM | On-board | SAMD21G18A | 48MHz | 256KB | 32KB
Atmel SAMC21-XPRO | Atmel SAM | On-board | SAMC21J18A | 48MHz | 256KB | 32KB
Atmel SAMD21-XPRO | Atmel SAM | On-board | SAMD21J18A | 48MHz | 256KB | 32KB
Atmel SAML21-XPRO-B | Atmel SAM | On-board | SAML21J18B | 48MHz | 256KB | 32KB
BBC micro:bit | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB
BL652 Development Kit | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
BL654 Development Kit | Nordic nRF52 | On-board | NRF52840 | 64MHz | 1MB | 256KB
Bambino-210E | NXP LPC | On-board | LPC4330 | 204MHz | 8MB | 264KB
Calliope mini | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB
CoCo-ri-Co! | NXP LPC | On-board | LPC812 | 30MHz | 16KB | 4KB
Delta DFBM-NQ620 | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
Delta DFCM-NNN40 | Nordic nRF51 | On-board | NRF51822 | 32MHz | 256KB | 32KB
Delta DFCM-NNN50 | Nordic nRF51 | On-board | NRF51822 | 32MHz | 256KB | 16KB
ElectronutLabs Blip | Nordic nRF52 | On-board | NRF52840 | 64MHz | 1MB | 256KB
ElectronutLabs Papyr | Nordic nRF52 | On-board | NRF52840 | 64MHz | 1MB | 256KB
Embedded Artists LPC4088 Display Module | NXP LPC | On-board | LPC4088 | 120MHz | 512KB | 96KB
Embedded Artists LPC4088 QuickStart Board | NXP LPC | On-board | LPC4088 | 120MHz | 512KB | 96KB
Ethernet IoT Starter Kit | Freescale Kinetis | On-board | MK64FN1M0VLL12 | 120MHz | 1MB | 256KB
Freescale Kinetis FRDM-K20D50M | Freescale Kinetis | On-board | MK20DX128VLH5 | 48MHz | 128KB | 16KB
Freescale Kinetis FRDM-K22F | Freescale Kinetis | On-board | MK22FN512VLH12 | 120MHz | 512KB | 128KB
Freescale Kinetis FRDM-K64F | Freescale Kinetis | On-board | MK64FN1M0VLL12 | 120MHz | 1MB | 256KB
Freescale Kinetis FRDM-K66F | Freescale Kinetis | On-board | MK66FN2M0VMD18 | 180MHz | 2MB | 256KB
Freescale Kinetis FRDM-K82F | Freescale Kinetis | On-board | MK82FN256VLL15 | 150MHz | 256KB | 256KB
Freescale Kinetis FRDM-KL05Z | Freescale Kinetis | On-board | MKL05Z32VFM4 | 48MHz | 32KB | 4KB
Freescale Kinetis FRDM-KL25Z | Freescale Kinetis | On-board | MKL25Z128VLK4 | 48MHz | 128KB | 16KB
Freescale Kinetis FRDM-KL27Z | Freescale Kinetis | On-board | MKL27Z64VLH4 | 48MHz | 64KB | 16KB
Freescale Kinetis FRDM-KL43Z | Freescale Kinetis | On-board | MKL43Z256VLH4 | 48MHz | 256KB | 32KB
Freescale Kinetis FRDM-KL46Z | Freescale Kinetis | On-board | MKL46Z256VLL4 | 48MHz | 256KB | 32KB
Freescale Kinetis FRDM-KW41Z | Freescale Kinetis | On-board | MKW41Z512VHT4 | 48MHz | 512KB | 128KB
Hexiwear | Freescale Kinetis | External | MK64FN1M0VDC12 | 120MHz | 1MB | 256KB
Holyiot YJ-16019 | Nordic nRF52 | External | NRF52832 | 64MHz | 512KB | 64KB
JKSoft Wallbot BLE | Nordic nRF51 | On-board | NRF51822 | 16MHz | 128KB | 16KB
L476DMW1K | ST STM32 | On-board | STM32L476VGT6 | 80MHz | 1MB | 128KB
LPCXpresso11U68 | NXP LPC | On-board | LPC11U68 | 50MHz | 256KB | 36KB
LPCXpresso824-MAX | NXP LPC | On-board | LPC824 | 30MHz | 32KB | 8KB
Makerdiary nRF52832-MDK | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
Makerdiary nRF52840-MDK | Nordic nRF52 | On-board | NRF52840 | 64MHz | 1MB | 256KB
Maxim ARM mbed Enabled Development Platform for MAX32600 | Maxim 32 | On-board | MAX32600 | 24MHz | 256KB | 32KB
Maxim Wireless Sensor Node Demonstrator | Maxim 32 | External | MAX32610 | 24MHz | 256KB | 32KB
Mbed Connect Cloud | ST STM32 | On-board | STM32F439ZIY6 | 168MHz | 2MB | 256KB
Moteino M0 | Atmel SAM | External | SAMD21G18A | 48MHz | 256KB | 32KB
NXP LPC800-MAX | NXP LPC | On-board | LPC812 | 30MHz | 16KB | 4KB
NXP LPCXpresso54114 | NXP LPC | On-board | LPC54114J256BD64 | 100MHz | 256KB | 192KB
NXP mbed LPC11U24 | NXP LPC | On-board | LPC11U24 | 48MHz | 32KB | 8KB
NXP mbed LPC1768 | NXP LPC | On-board | LPC1768 | 96MHz | 512KB | 64KB
Nordic Beacon Kit (PCA20006) | Nordic nRF51 | On-board | NRF51822 | 32MHz | 256KB | 32KB
Nordic Thingy:52 (nRF52-PCA20020) | Nordic nRF52 | External | NRF52832 | 64MHz | 512KB | 64KB
Nordic nRF51 Dongle (PCA10031) | Nordic nRF51 | On-board | NRF51822 | 32MHz | 256KB | 32KB
Nordic nRF51822-mKIT | Nordic nRF51 | On-board | NRF51822 | 16MHz | 128KB | 16KB
Nordic nRF51X22 Development Kit(PCA1000X) | Nordic nRF51 | On-board | NRF51822 | 32MHz | 256KB | 32KB
Nordic nRF52-DK | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
Nordic nRF52840-DK | Nordic nRF52 | On-board | NRF52840 | 64MHz | 1MB | 256KB
RedBearLab BLE Nano 1.5 | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 32KB
RedBearLab BLE Nano 2 | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
RedBearLab Blend 2 | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
RedBearLab nRF51822 | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB
SDT52832B | Nordic nRF52 | External | NRF52832 | 64MHz | 512KB | 64KB
Seeed Arch BLE | Nordic nRF51 | On-board | NRF51822 | 16MHz | 128KB | 16KB
Seeed Arch Link | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB
Seeed Arch Pro | NXP LPC | On-board | LPC1768 | 96MHz | 512KB | 64KB
Seeed Tiny BLE | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB
Switch Science mbed HRM1017 | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB
Switch Science mbed LPC1114FN28 | NXP LPC | On-board | LPC1114FN28 | 48MHz | 32KB | 4KB
Switch Science mbed LPC824 | NXP LPC | On-board | LPC824 | 30MHz | 32KB | 8KB
Switch Science mbed TY51822r3 | Nordic nRF51 | On-board | NRF51822 | 32MHz | 256KB | 32KB
VNG VBLUNO51 | Nordic nRF51 | On-board | NRF51822 | 16MHz | 128KB | 32KB
VNG VBLUno52 | Nordic nRF52 | On-board | NRF52832 | 64MHz | 512KB | 64KB
WIZwiki-W7500 | WIZNet W7500 | On-board | WIZNET7500 | 48MHz | 128KB | 48KB
WIZwiki-W7500ECO | WIZNet W7500 | On-board | WIZNET7500ECO | 48MHz | 128KB | 48KB
WIZwiki-W7500P | WIZNet W7500 | On-board | WIZNET7500P | 48MHz | 128KB | 48KB
sakura.io Evaluation Board | ST STM32 | On-board | STM32F411RET6 | 100MHz | 1MB | 128KB
u-blox C027 | NXP LPC | On-board | LPC1768 | 96MHz | 512KB | 64KB
u-blox C030-N211 IoT Starter Kit | ST STM32 | External | STM32F437VG | 180MHz | 1MB | 256KB
u-blox C030-U201 IoT Starter Kit | ST STM32 | External | STM32F437VG | 180MHz | 1MB | 256KB
y5 nRF51822 mbug | Nordic nRF51 | On-board | NRF51822 | 16MHz | 256KB | 16KB