not in sync: resp=0x00 unable to upload sketch

Hello,

I recently switched from Windows 7 to Linux mint. I installed the Linux arduino IDE v 1.8.10 with any problems. All appears to function normally with the arduino IDE with the exception of uploading a sketch to the adruino board. I am using a nano board.

I've changing the port ID from: "/dev/ttyACM0" to " /dev/ttyUSB0" using the Terminal. The uploader makes 10 attempt before the error message: "not in sync: resp=0x00".

It appears to detect the port '/dev/ttyUSB0" when I connect the nano via USB as it shows up as a new port.

I've been playing around with this over a few days. I do not know enough about the Linux OS to correct this issue.

Thanks for the help.

Please do this:

  • (In the Arduino IDE) File > Preferences
  • Uncheck the checkbox next to “Show verbose output during: compilation”
  • Check the checkbox next to "Show verbose output during: upload
  • Click “OK”
  • Sketch > Upload
  • After the upload fails, you’ll see a button on the right side of the orange bar “Copy error messages” (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum’s code tags markup to your reply.
  • Press “Ctrl + V”. This will paste the upload output between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

Here it is:

Arduino: 1.8.10 (Linux), Board: "Arduino Nano, ATmega328P"

Sketch uses 1482 bytes (4%) of program storage space. Maximum is 30720 bytes.
Global variables use 23 bytes (1%) of dynamic memory, leaving 2025 bytes for local variables. Maximum is 2048 bytes.
/home/ct/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/ct/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -P/dev/ttyUSB0 -b115200 -D -Uflash:w:/tmp/arduino_build_215478/Array_test_6LEDs_modified2_1-24-20.ino.hex:i 

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 "/home/ct/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
         User configuration file is "/home/ct/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
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

avrdude done.  Thank you.

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.

Select Tools > Processor > ATmega328P (Old Bootloader) and then try uploading again.

Hello,

Working now!

I had an older IDE version on windows 7 and don't remember using an old bootloader. Then again, sometimes I go months without touching an Arduino.

Thanks for your help Sir!

You're welcome. I'm glad to hear it's working now. The default board configuration for the Nano was changed, and the "Old Bootloader" option added for the old configuration, two years ago when Arduino changed the bootloader on the official Nanos. Enjoy! Per