I compiled simple_daplink.ino according to the Wiki and uploaded it to the XIAO_SAMD21.
I am trying to run DAPLink (XIAO SAMD21) using \Arduino15\packages\Seeeduino\toool\openocd, but the following message appears and DAPLink cannot be found.
Please advise on how to resolve this issue.
Error: unable to find a matching CMSIS-DAP device
The related files are as follows:
ocd.bat
C:\Users\msfujino\AppData\Local\Arduino15\packages\Seeeduino\tools\openocd\0.11.0-arduino2\bin\openocd -f ocd.cfg -s C:\Users\msfujino\AppData\Local\Arduino15\packages\Seeeduino\tools\openocd\0.10.0-arduino2\share\openocd\scripts
pause
ocd.cfg
source [find interface/cmsis-dap.cfg]
transport select swd
set CHIPNAME at91samd11d14
source XIAO_at91samdXX.cfg
reset_config srst_nogate
adapter_nsrst_delay 100
adapter_nsrst_assert_width 100
init
targets
reset halt
I have made the following changes to XIAO_at91samdXX.cfg:
#set _CPUTAPID 0x4ba00477
set _CPUTAPID 0x0bc11477
I compiled
simple_daplink.inoaccording to the Wiki and uploaded it to the XIAO_SAMD21.I am trying to run DAPLink (XIAO SAMD21) using
\Arduino15\packages\Seeeduino\toool\openocd, but the following message appears and DAPLink cannot be found.Please advise on how to resolve this issue.
Error: unable to find a matching CMSIS-DAP deviceThe related files are as follows:
ocd.bat
ocd.cfg
I have made the following changes to XIAO_at91samdXX.cfg: