avrdude: stk500_recv(): programmer is not responding

Hi forum:

I would like to share with you a problem I am having. I am using the Arduino Nano v3.0, ATMega328P. I have just written my program and the program was fine. But when it was uploading it gave this message:

Arduino: 1.8.8 (Mac OS X), Board: "Arduino Nano, ATmega328P"

Sketch uses 1810 bytes (5%) of program storage space. Maximum is 30720 bytes.
Global variables use 184 bytes (8%) of dynamic memory, leaving 1864 bytes for local variables. Maximum is 2048 bytes.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.usbserial-1420 -b115200 -D -Uflash:w:/var/folders/86/prt1t3bs51z518qf01myn6_w0000gp/T/arduino_build_829922/jan01.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/jayden/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/cu.usbserial-1420
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.

As the error message says, I am using MacOS Mojave, version 10.14.2. My Arduino IDE version is 1.8.8 and I just downloaded it yesterday because my old one isn't working.

Every time I upload to this board, there is a problem. The exact same one. Note that that isn't true for my Arduino Uno.

Also, when I try to load board information, Nano says "Unknown board" while Uno says "Arduino/Genuino Uno". All these information is attached. My verbose output is "upload". Do I need to use compilation? Again, the screenshot is also attached.

Please help and a happy new year.

Screen Shot 2019-01-02 at 10.51.27 AM.png

Screen Shot 2019-01-02 at 10.52.02 AM.png

Oh also my POW port is solid red and L is flashing red. I DO NOT have anything connected to neither D2, RX nor TX.

Since I am using a Mac, should the Serial Port look something like "/dev/cu.usbserial- 1420"? For the Arduino/Genuino Uno, the Serial Port is "/dev/cu.usbmodem14201 (Arduino/Genuino Uno)".

Sorry, but I'm fighting the same problem (identical error message) on a Mega 2560-R3. I've read through 15 or 20 threads on this subject. I tried every suggestion I found and none of them worked. All the connections to the board have been removed and with the board powered with only the USB cable, board voltage is right at 5.0 V. Communication between the computer and the board passed the wraparound test.

I wrote my code about 18 months ago and it worked fine. No problem developing and debugging it in Atmel Studio 7.0 on a pretty primitive breadboard system. I spent the time since developing the code to create the manufacturing processes for the hardware the system is intended to drive. For the last month I've been trying to get Studio 7 to upload the code to the original Arduino unit on a dedicated computer and nothing would work. I finally gave up and reverted to the Arduino ISP and got the same "not in sync" error message. Nothing, not even blinkey, will upload. I tried it out on a new Mega 2560 with the same result.

The most probable source of the problem is a different communication frequency between the computer and the Arduino. Digging down to the avrdude config file I found multiple instances of the overriding baud rate set to 115200. There are many instances in forum posts where slowing the communication baud rate to 57600 seems to work. I didn't know which instance would be used for the Mega 2560 so I changed all instances of "Overriding baud rate: 115200" in

C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf,

to 57600, but still no joy.

You can really get down into the weeds here

Simply, higher transfer speeds result in more errors. Too many errors and you are toast.

In the avrdude.conf file there is this comment:

DO NOT MODIFY THIS FILE. Modifications will be overwritten the next

time a "make install" is run. For user-specific additions, use the

"-C +filename" commandline option.

Does anyone know what this is and how to use it?