CMSIS-DAP/DAPLink is a cmsis-dap debugger made by MuseLab which support SWD/JTAG and a USB CDC serial port.
- 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
plug the debugger into PC USB, if everything is ok, there will appear a CDC port and a USB HID device
select CMSIS-DAP Debugger in Option -> Debug
click Settings in Option -> Debug, recommend to select the swd port, and config the frequence to 10MHz
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.
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.
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. please check here
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 DISKDAPLINK
will appear with replace ofMAINTAINENCE