Cannot upload blink example on Arduino Nano Every

Hello,

I am totally newbie on using Arduino and I bought a Nano Every.
While I am following the very basic steps on uploading the blink example I am still getting the following errors. I have tried from IDE 2, IDE 1.18 and from online editor from windows machine and the error is always the same. I was thinking to check if my board is broken but I don't know how, since I get the green led while it is connected. I also change several usb cables (the one I am using now is for data transfer ) and tried usb 2.0 and usb3.0 ports.

Is anything that can I do, except trying with a new board?

/usr/local/bin/arduino-cli compile --fqbn arduino:megaavr:nona4809:mode=on --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/870012430/build --build-path /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3 -v /tmp/870012430/Blink


Using board 'nona4809' from platform in folder: /home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7

Using core 'arduino' from platform in folder: /home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7

Detecting libraries used...

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/variants/nona4809 /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/sketch/Blink.ino.cpp -o /dev/null

Generating function prototypes...

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/variants/nona4809 /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/sketch/Blink.ino.cpp -o /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/preproc/ctags_target_for_gcc_minus_e.cpp

/home/builder/.arduino15/packages/builtin/tools/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/preproc/ctags_target_for_gcc_minus_e.cpp

Compiling sketch...

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DAVR_NANO_4809_328MODE -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/cores/arduino/api/deprecated -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/cores/arduino -I/home/builder/.arduino15/packages/arduino/hardware/megaavr/1.8.7/variants/nona4809 /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/sketch/Blink.ino.cpp -o /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/sketch/Blink.ino.cpp.o

Compiling libraries...

Compiling core...

Using previously compiled file: /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/core/variant.c.o

Using precompiled core: /tmp/core/core_arduino_megaavr_nona4809_mode_on_ca5d9b6a8ef92affb130f5c73b0a8e06.a

Linking everything together...

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-gcc -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -Wl,--section-start=.text=0x0 -mmcu=atmega4809 -o /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.elf /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/sketch/Blink.ino.cpp.o /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/core/variant.c.o /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/../core/core_arduino_megaavr_nona4809_mode_on_ca5d9b6a8ef92affb130f5c73b0a8e06.a -L/tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3 -lm

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O binary -R .eeprom /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.elf /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.bin

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.elf /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.eep

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.elf /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.hex

/home/builder/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-size -A /tmp/arduino-build-88E4CC3AD9014939E24D1606A8B1BBF3/Blink.ino.elf

Sketch uses 1118 bytes (2%) of program storage space. Maximum is 49152 bytes.

Global variables use 22 bytes (0%) of dynamic memory, leaving 6122 bytes for local variables. Maximum is 6144 bytes.

Upload started

Programming with: Serial

Restarting in bootloader mode

Flashing with command:C:/Users/fakou/.arduino-create/arduino/avrdude/6.3.0-arduino17/bin/avrdude.exe -CC:/Users/fakou/.arduino-create/arduino/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega4809 -cjtag2updi -PCOM4 -b115200 -e -D -Uflash:w:C:/Users/fakou/AppData/Local/Temp/arduino-create-agent853000581/Blink.hex:i -Ufuse2:w:0x01:m -Ufuse5:w:0xC9:m -Ufuse8:w:0x00:m {upload.extra_files}

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/fakou/.arduino-create/arduino/avrdude/6.3.0-arduino17/etc/avrdude.conf"

Using Port : COM4

Using Programmer : jtag2updi

Overriding Baud Rate : 115200

JTAG ICE mkII sign-on message:

Communications protocol version: 1

M_MCU:

boot-loader FW version: 1

firmware version: 1.07

hardware version: 1

S_MCU:

boot-loader FW version: 1

firmware version: 6.07

hardware version: 1

Serial number: 00:00:00:00:00:00

Device ID: JTAGICE mkII

AVR Part : ATmega4809

Chip Erase delay : 0 us

PAGEL : P00

BS2 : P00

RESET disposition : dedicated

RETRY pulse : SCK

serial program mode : yes

parallel program mode : yes

Timeout : 0

StabDelay : 0

CmdexeDelay : 0

SyncLoops : 0

ByteDelay : 0

PollIndex : 0

PollValue : 0x00

Memory Detail :

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack

----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------

signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

prodsig 0 0 0 0 no 61 61 0 0 0 0x00 0x00

fuses 0 0 0 0 no 9 0 0 0 0 0x00 0x00

fuse0 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse1 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse2 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse4 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse5 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse6 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse7 0 0 0 0 no 1 0 0 0 0 0x00 0x00

fuse8 0 0 0 0 no 1 0 0 0 0 0x00 0x00

lock 0 0 0 0 no 1 0 0 0 0 0x00 0x00

data 0 0 0 0 no 0 0 0 0 0 0x00 0x00

usersig 0 0 0 0 no 64 64 0 0 0 0x00 0x00

flash 0 0 0 0 no 49152 128 0 0 0 0x00 0x00

eeprom 0 0 0 0 no 256 64 0 0 0 0x00 0x00

Programmer Type : JTAGMKII_PDI

Description : JTAGv2 to UPDI bridge

M_MCU hardware version: 1

M_MCU firmware version: 1.07

S_MCU hardware version: 1

S_MCU firmware version: 6.07

Serial number: 00:00:00:00:00:00

Vtarget : 5.0 V

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description

avrdude: jtagmkII_reset(): timeout/error communicating with programmer (status -1)

avrdude: initialization failed, rc=-1

Double check connections and try again, or use -F to override

this check.

avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)

avrdude: jtagmkII_close(): timeout/error communicating with programmer (status -1)

avrdude done. Thank you.

Try the steps below:
Do a complete uninstall of your IDE ( https://support.arduino.cc/hc/en-us/articles/360021325733-How-to-do-a-complete-uninstall-of-the-Arduino-IDE ) and install the latest following https://support.arduino.cc/hc/en-us/articles/360019833020-How-to-install-the-Arduino-IDE

Install the package core for your board https://www.arduino.cc/en/Guide/Cores and use a good quality data USB cable (do not use a charging cable) to connect the board to the computer. Do not use USB 3.0 port or USB hub.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.