This is an old revision of the document!
DAPLink
There are cheap clones of simple CMSIS-DAP interfaces from China.
So far it's untested so more info later.
# wch.cn WCH-Link CMSIS-DAP (clone) SUBSYSTEMS=="usb",\ ATTRS{idVendor}=="2a86",\ ATTRS{idProduct}=="8011",\ MODE:="0666" KERNEL=="ttyACM*",\ ATTRS{idVendor}=="2a86",\ ATTRS{idProduct}=="8011",\ GROUP:="dialout",\ MODE:="0666"
OpenOCD
Test
openocd -c "adapter driver cmsis-dap; cmsis_dap_vid_pid 0x2a86 0x8011" -c "adapter speed 500" -c "transport select swd"
No device connected
Open On-Chip Debugger 0.12.0-rc2+dev-00012-g4e077fdda (2022-11-12-16:05) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html adapter speed: 500 kHz swd Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : CMSIS-DAP: SWD supported Info : CMSIS-DAP: FW Version = 2.0.0 Info : CMSIS-DAP: Interface Initialised (SWD) Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1 Info : CMSIS-DAP: Interface ready Info : clock speed 500 kHz Warn : gdb services need one or more targets defined