supereyes CMSIS-DAP DAP Link ARM Cortex User Manual
- May 15, 2024
- SUPEREYES
Table of Contents
CMSIS-DAP/DAPLink User Manual
-
MDK Config
o [Debugger Select](https://github.com/wuxx/nanoDAP/blob/master/user_manual_en.mddebugger-select)
o Target Detect
o [Flash Algorithm](https://github.com/wuxx/nanoDAP/blob/master/user_manual_en.mdflash-algorithm)
-
DAPLink Usage
o Drag-and- Drop
o [Firmware Upgrade](https://github.com/wuxx/nanoDAP/blob/master/user_manual_en.mdfirmware-upgrade)
Introduction
CMSIS-DAP/DAPLink is a cmsis-dap debugger made by MuseLab which support SWD/JTAG and a USB CDC serial port.
Feature
- open source hardware/software
- 5V/3.3V power supply to target board
- SWD interface
- JTAG interface
- USB CDC serial port
- DAPLink is a upgrade of CMSIS-DAP, which support drag-n-drop program
- DAPLink support drag-n-drop upgrade the firmware
MDK config
plug the debugger into PC USB, if everything is ok, there will appear a CDC port and a USB HID device
Debugger Select
select CMSIS-DAP Debugger in Option -> Debug
Target Detect
click Settings in Option -> Debug, recommend to select the swd port, and config the frequence to 10MHz
Flash Algorithm
you need to config the flash algorithm for your target mcu, here is a example with stm32f1x Note: select the Reset and Run for target auto reset after program done.
Reset Setting
Generally, you may need to start the mcu when program done, config the Reset type to SYSRESETREQ here and select Reset and Run in the Flash Download Page above.
DAPLink Usage
Drag and Drop
plug the DAPLink into PC USB, there will be a USB DISK appear called DAPLink,
DAPLink support drag and drop program, just drag the binary with suffix hex or
bin into the DAPLink, the DAPLink will do all the program work.
Tips: one firmware can only support one type of MCU drag-n-drop program, for
different type of MCU, you may need to compile the source yourself.
Firmware Upgrade
DAPLink implement a bootloader with USB MSD, which made it very easy for the firmware upgrade.
- short the nRST and GND.
- plug the DAPLink into PC USB, a USB DISK named MAINTAINENCE will appear.
- disconnect the nRST and GND.
- drag the new firmware into the MAINTAINENCE, wait for a few moment, then upgrade done, a new USB DISK DAPLINK will appear with replace of MAINTAINENCE
References
- nanoDAP/doc/DAPLink_MSD.png at master · wuxx/nanoDAP · GitHub
- nanoDAP/doc/debug_select.jpg at master · wuxx/nanoDAP · GitHub
- nanoDAP/doc/flash_algorithm.jpg at master · wuxx/nanoDAP · GitHub
- nanoDAP/doc/nanoDAP2.jpg at master · wuxx/nanoDAP · GitHub
- nanoDAP/doc/reset_select.jpg at master · wuxx/nanoDAP · GitHub
- nanoDAP/doc/target_id1.png at master · wuxx/nanoDAP · GitHub
- nanoDAP/doc/usb_device.png at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
- nanoDAP/user_manual_en.md at master · wuxx/nanoDAP · GitHub
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>