DAPLink

From ElectroDragon
Jump to: navigation, search

Features

  • WIN10 driver free, but may need install in WIN7/8
  • Support Coretxt M3, M4 series, designed and used by ARM, (St-link for STM32 but designed by ST)
  • Support NRF51822 boards, tested with our nrf51822 board in arduino IDE
  • Work well in MDK IDE, but not well supported in IAR, please notice. See right.
  • Also support debug in MDK IDE
Daplink support mdk.png
  • CMSIS DAP support Cortex-A/R/M all series, but software reset only work for Cortex-M0/3/4/7
  • Speed test

Installation for WIN7/8

  • After this steps, click confirm when warning out, installation will be finished.

In case if failed

  • If the driver install correctly, no need following steps
  • Check if your system is 32bit or 64bit
  • replace mdmcpq and mdmcpq.PNF files in C:\Windows\INF folder
  • according to your system, copy usbser.sys file, and replace C:\Windows\System32\drivers in this folder
  • reinstall the driver

Documents

Daplink compare jlink.png

Advanced

Hardware Design

Based on STM32F103

Official Based on LPC

Tool

firmware

Official Git

https://github.com/ARMmbed/DAPLink

  • Use DAPlink firmware, generate MDK files

run command to update tools:

pip install virtualenv
virtualenv venv

again to generate MDK files

venv/Scripts/activate.bat
pip install -r requirements.txt
progen generate -t uvision
venv/Scripts/deactivate.bat

open any lpc11u35 started folder, "tiny" here, open by MDK and choose "migrated to device pack", compile and can flash into DAP link, device "LCP11U35FHI33" here.

Other

  • Keil MDK 5 in Pack Installer ->install CMSIS 4.5.0,and install to Keil, in folder Keil_v5\ARM\Pack\ARM\CMSIS\4.5.0\CMSIS\DAP\Firmware
  • Raw firmware demo code in Keil 5 - C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\DAP\Firmware\Examples\LPC-Link-II
  • Firmware JLX (similar to x893) - File:CMSIS-DAP.zip
  • Firmware dap42 (F042) - https://github.com/devanlai/dap42
  • Firmware x893 hardware design git (F103)- https://github.com/x893/CMSIS-DAP

Driver and use guide