Would like to know if there is an explanation for that. I have several Nano s, uploading is working for all of them. Some with "Old Bootloader". Some not. Just Nano Every, upload always fails. Tried with different cables, Does not work. Green LED is on, yellow LED is flashing
Using Port : /dev/ttyS0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/ttyS0": Operation not permitted
(Ubuntu, Arduino IDE 1.8.19) - Tried already with other Ubuntu versions, other IDE versions, Arduino UNO upload no problem (port ACM0 !)
First, what do you see when under Tools you select "Get Board Info".
There will be more information about the loading errors if you go into the pull down menus File>Preferences and select to show verbose output during compile and upload.
Please report the complete messages you see when you try to load the "Bare Minimum" example sketch.
note that a "nano every" is a different board type than other Nanos, and requires that you install a new boards package before it will show up in the menu.
Thanks. Done. It now shows up in the menu. Problem remains the same ...
Using Port : /dev/ttyS0
Using Programmer : jtag2updi
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/ttyS0": Operation not permitted
chmod a+rw /dev/ttyS0
ls -al /dev/ttyS0
usermod -a -G dialout myuserlogin
crw-rw-rw- 1 root dialout 4, 64 may 23 11:53 /dev/ttyS0
Unfortunately could not try it on a Windows PC, it seems that the Arduino IDE recognizes the Every. But it is always telling
avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied
If I put an Arduino Uno (or an ordinary Nano) there is no problem to upload.
I cannot access the Serial Monitor and put there another baud rate.
In the github discussion of this linux/nanoevery issue there is a reference to using a Python script to open and close the serial port at 1200bps to get into programming mode.
avrdude: ser_open(): can't open device "/dev/ttyS0": Permission denied
Can you please post the complete message you get for the verbose compile and upload report.
it seems that the Arduino IDE recognizes the Every
Do you mean that the Tools > Port menu does not contain an item with the "(Arduino Nano Every)" suffix as shown in the screenshot I shared in my previous reply?
Jut the name of A port. Current hypothesis is that it's not the port that the Every should be appearing as (which should look more like that /dev/ttyACM... example @ptillisch posted.
What does "lsusb" say, with and without the Every plugged in?
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\Franz\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM1
Using Programmer : jtag2updi
Overriding Baud Rate : 115200
avrdude: jtagmkII_getsync(): sign-on command: status -1
...
avrdude: jtagmkII_getsync(): timeout/error communicating with programmer (status -1)