Go Down

Topic: Can't Upload Programs to Arduino Nano Every (Read 86 times) previous topic - next topic

AGR911

Aug 13, 2019, 06:51 am Last Edit: Aug 13, 2019, 07:14 am by AGR911
Hello,

I cannot get my project to upload FOR THE LIFE OF ME!

Things I've Tried:
  • Using the Arduino Nano, ATmega328P (Old Bootloader)
  • Different USB Cables
  • Different USB Ports
  • Restarting Board
  • Resetting Board
  • Restarting Arduino IDE
  • Reinstalling IDE
  • Restarting Computer
  • Disabling firewall
  • Pressing the reset switch at different intervals before upload


My Setup:
  • The light is blinking, which means the factory test with the sample "Blink" program worked. None of my uploads do.
  • Can't get more-detailed reports with verbose modes, so the codes below are all I have.
  • OS: MacOS 10.14.6 (Latest)
  • Type of Board: Arduino Nano Every With Headers Mounted (Not a Clone or Knockoff)
  • Arduino IDE Version 1.8.9
  • Never been able to upload to board. Not once!


Code: [Select]
Arduino: 1.8.9 (Mac OS X), Board: "Arduino Nano, ATmega328P"

Sketch uses 930 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Thank you for any help! Much appreciated!
-AGR911

Budvar10

#1
Aug 13, 2019, 07:59 am Last Edit: Aug 13, 2019, 08:10 am by Budvar10
I am not familiar with the Arduino Nano Every. However, it has completely different MCU: ATmega4809, so hard to suppose that Nano setup with 328P will work. BTW, the response 0x00 means that there is not connection to target device at all.

You have to add the board type probably.
https://github.com/arduino/ArduinoCore-megaavr
Arduino clone with ATmega1284P   http://forum.arduino.cc/index.php?topic=277260.0

pert

BudVar10 is right about the problem. The Tools > Board menu selection you're trying to use is for the classic Arduino Nano. That will never work for the Nano Every.

Here is how you solve it:
  • Tools > Board > Boards Manager
  • Wait for the download to finish.
  • Click on "Arduino megaAVR Boards".
  • Click the "Install" button.
  • Wait for the installation to finish.
  • Click the "Close" button.
  • Tools > Board > Arduino Nano Every

mascenzi80

Have you resolved your issue?

I'm having a similar if not the same issue.

I just attempted to use the Nano Every for the first time today. First thing I did was write a quick test sketch, next I verified that the Nano Every was a compatible board. It wasn't in the list of boards so I opened up board manager and searched for Nano Every. Found it as part of the Arduino megaAVR boards.

Once that was installed I selected the Nano Every for Board, Registers Emulation: None (ATMEGA4809), and COMxx(Arduino Nano Every).

However, when I go to load the sketch, it just sits there for some time. A good 4/5 minutes and then throws an error.

Quote
Using Port                    : COM28
         Using Programmer              : jtag2updi
         Overriding Baud Rate          : 115200
An error occurred while uploading the sketch
no other details. Any insight?


david_prentice

Follow the instructions in #2.

The current "megaavr Core" package is v1.8.3

Upgrade any libraries used by your project.
Some of them might not support the Every yet.

If you have a problem,  quote IDE, Board, library versions.   Quote which library example is failing.
Readers can help.    (if you provide the information)

David.

Go Up