Hi, I try to upload the nicla blink test to my new board. I am on Linux Ubuntu 22.04 with the IDE v2. The board is recognized, but I have an error if I try to upload the sketch.
Lo sketch usa 56160 byte (10%) dello spazio disponibile per i programmi. Il massimo è 527616 byte.
Le variabili globali usano 12080 byte (18%) di memoria dinamica, lasciando altri 52208 byte liberi per le variabili locali. Il massimo è 64288 byte.
Open On-Chip Debugger 0.11.0+dev-gab95bac57-dirty (2021-05-11-10:49)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 1000 kHz
Error: unable to open CMSIS-DAP device 0x2341:0x60
Error: unable to find a matching CMSIS-DAP device
Caricamento non riuscito: errore durante il caricamento: exit status 1
There is no problem with the cable and the system because I have tried with a Windows VM (USB pass trough to guest) and it work.
Hi, in between I have opened a ticket by Arduino. I'm in contact with someone, but at the moment I have no solution to the problem. Which system do you use? I have Ubuntu 20.04 and 22.04.
You need to be in the dialout group. Try this:
sudo usermod -a -G dialout yourUserName
Then you must Log off and log on again for the changes to take effect.
Sorry that did not fix it. I use Linux on several machines and different versions, this has mint 20.3. I am using the 1.8.18 IDE, it works fine. I also have different versions all above 1.6 but nothing at 2.0 or greater, there appears to be to many problems. I am not familiar with the Nicla board. God Luck!
Me and my partner working on the Nicla Sense ME had the exact same problem with Arch based distros (Manjaro and EndeavourOS) as in post #1. I am using the Arduino IDE 2.1.1 and my partner 1.8.18, in our cases we were able to solve the problem by installing openocd.