Possible solution to Nano every not Uploading Please confirm

I have bought A NoNo every Board
I cannot get compile to work

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

I think reference to Nano every is missing from file

/home/pi/arduino-1.8.13/hardware/arduino/avr/boards.txt

I dont know what values to put in

See: http://code.google.com/p/arduino/wiki/Platforms

#############################################################

nano.name=Arduino Nano

nano.upload.tool=avrdude
nano.upload.protocol=arduino

nano.bootloader.tool=avrdude
nano.bootloader.unlock_bits=0x3F
nano.bootloader.lock_bits=0x0F

nano.build.f_cpu=16000000L
nano.build.board=AVR_NANO
nano.build.core=arduino
nano.build.variant=eightanaloginputs

Arduino Nano w/ ATmega328P

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

nano.menu.cpu.atmega328=ATmega328P

nano.menu.cpu.atmega328.upload.maximum_size=30720
nano.menu.cpu.atmega328.upload.maximum_data_size=2048
nano.menu.cpu.atmega328.upload.speed=115200

nano.menu.cpu.atmega328.bootloader.low_fuses=0xFF
nano.menu.cpu.atmega328.bootloader.high_fuses=0xDA
nano.menu.cpu.atmega328.bootloader.extended_fuses=0xFD
nano.menu.cpu.atmega328.bootloader.file=optiboot/optiboot_atmega328.hex

nano.menu.cpu.atmega328.build.mcu=atmega328p

Arduino Nano w/ ATmega328P (old bootloader)

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

nano.menu.cpu.atmega328old=ATmega328P (Old Bootloader)

nano.menu.cpu.atmega328old.upload.maximum_size=30720
nano.menu.cpu.atmega328old.upload.maximum_data_size=2048
nano.menu.cpu.atmega328old.upload.speed=57600

nano.menu.cpu.atmega328old.bootloader.low_fuses=0xFF
nano.menu.cpu.atmega328old.bootloader.high_fuses=0xDA
nano.menu.cpu.atmega328old.bootloader.extended_fuses=0xFD
nano.menu.cpu.atmega328old.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex

nano.menu.cpu.atmega328old.build.mcu=atmega328p

Arduino Nano w/ ATmega168

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

nano.menu.cpu.atmega168=ATmega168

nano.menu.cpu.atmega168.upload.maximum_size=14336
nano.menu.cpu.atmega168.upload.maximum_data_size=1024
nano.menu.cpu.atmega168.upload.speed=19200

nano.menu.cpu.atmega168.bootloader.low_fuses=0xff
nano.menu.cpu.atmega168.bootloader.high_fuses=0xdd
nano.menu.cpu.atmega168.bootloader.extended_fuses=0xF8
nano.menu.cpu.atmega168.bootloader.file=atmega/ATmegaBOOT_168_diecimila.hex

nano.menu.cpu.atmega168.build.mcu=atmega168

##############################################################

platform.txt (7.53 KB)

Tom1962:
I have bought A NoNo every Board

Congratulations!

Tom1962:
I cannot get compile to work

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

If you got that message, it proves that compile worked perfectly. This is a message that happens during the upload. The upload doesn't even start if the compile didnt' work, so we know for certain you're wrong to say "I cannot get compile to work".

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

This is a normal and expected message while uploading to the Nano Every. I can see from your screenshot that the upload was successful. So please just ignore this message and get back to having fun with Arduino.

I think reference to Nano every is missing from file

/home/pi/arduino-1.8.13/hardware/arduino/avr/boards.txt
[/quote]
You're wrong to think that. That is the boards.txt file for the Arduino AVR Boards platform. But the Nano Every is not a board of that platform. The boards platform of the Nano Every is Arduino megaAVR Boards. If you found the boards.txt for the Arduino megaAVR Boards platform, you would see the definition for the Nano Every.

Tom1962:
I dont know what values to put in

Please don't edit that file. There is no reason to do it and it will likely cause you problems later.