12-08-2021 05:35 PM
Occasionally I have this problem where I can not upload sketches to the Nicla. I double tap the reset button to trigger bootloader (causing it to flash green 3 times and then flashe red forever) then try to upload the sketch again but receive the same error message:
Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:45)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
adapter speed: 1000 kHz
Error: unable to open CMSIS-DAP device 0x2341:0x60
Error: unable to find a matching CMSIS-DAP device
the selected serial port
does not exist or your board is not connected
Any ideas how to correct this issue?
11-21-2022 06:09 AM
BTW, I notice that you were using Ubuntu Linux as your host OS, and one common issue is that the usb udev rules might be not properly set up and thus the Arduino IDE may have no permission to access the debug interface over the USB port.
would you mind sharing your udev rules, usually from a file in:
/etc/udev/rules.d, and it may have some name like: /etc/udev/rules.d/10-arduino.rules or something else