Nano Every : Not uploading

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 !)

In the future please do not use the uncategorized category.
Please take some time to properly categorize your topics.
Thank you

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.

There have been some issues with Linux and the Nano Every related to the 1200 bps touch which puts the board into programming mode
https://forum.arduino.cc/t/cant-upload-sketches-to-nano-every-jtagmkii-getsync-sign-on-command-status-1/1058014/5

1 Like

Thank You. I will go and have a look later during the day

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

I am not familiar with the Linux environment an can't really provide much help.

Have you read through the thread referenced in Post #3?

Have you tried the work around with the 1200 bps setting on the monitor?

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

What makes you think this?

Get Board Info does not show info. For Arduino Uno it does! For other Nanos it does !

Get Board Info does not show info.

This is a very different situation.
I think that there is something wrong with the megaavr core installation.

Use the board manager to delete what you have and then follow this procedure for loading the core with the board manager of the ide.

https://docs.arduino.cc/software/ide-v1/tutorials/getting-started/cores/arduino-megaavr

Hi @franzfakler.

Are you certain this port is the port of the Nano Every? The port of the Nano Every should be labeled as such in the Tools > Port menu of Arduino IDE:

This is part of the problem. The port does appear, but without Every. Could get the Nanos with the old bootloader work. But NOT 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?

That s it. The Every is not there. Just the name of the port

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?

Tried it with Windows 10 (another computer !), Arduino IDE 2 0 .3. I get an "Upload error". Failed uploading, exit status 1

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)

avrdude done. Thank you.
Failed uploading: uploading error: exit status 1

Same question as before: Is COM1 labeled as "Arduino Nano Every" in the Tools > Port menu in Arduino IDE?

No, it is not labeled as "Arduino Nano Every", just COM1 (see also screenshot)