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?
thanks a lot for sharing your update, yes, on your computer (espeically enterprise-managed ones) sometimes various permission issues might hinder the programming of the board due to IT policies and restrictions, your update is indeed helpful because it might give others inspirations on solutions to similar issues.
I also have a brand new Nicle Sense ME, and have been going through the tutorial to set it up and I am also seeing this error.
Arduino IDE version is:
CLI Version: 0.28.0 [06fb1909]
Copyright © 2022 Arduino SA
Running on Ubuntu 20.04
This is what I get when I try to use the Arduino IDE for uploading. It is using the option ARM CMSIS-DAP Compatible for programmer. Using ST-LINK makes no difference.
Sketch uses 294788 bytes (55%) of program storage space. Maximum is 527616 bytes.
Global variables use 39296 bytes (61%) of dynamic memory, leaving 24992 bytes for local variables. Maximum is 64288 bytes.
Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:49)
Licensed under GNU GPL v2
For bug reports, read
adapter speed: 1000 kHz
Error: unable to open CMSIS-DAP device 0x2341:0x60
Error: unable to find a matching CMSIS-DAP device
Failed uploading: uploading error: exit status 1
sorry for delayed response, as I was behind my emails.
Unfortuantely I had zero or few experience before with the issue you see, so I cannot give very accurate help here.
Not sure if when you saw this issue if the board has a red LED blinking, if yes, you might try removing the USB power and reconnect again to see it helps.
Let me know if you have got any luck solving this issue, in the mean time, you could check if you can get some help from Arduino Forum.