stk500_recv(): programmer is not responding

Arduino: 1.8.9 (Windows XP), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

Build options changed, rebuilding all
D:\ESR & Frequency Counter\esr_tester18\esr_tester18.ino:45:0: warning: "UINT32_MAX" redefined

#define UINT32_MAX ((uint32_t)-1)

In file included from c:\documents and settings\user\local settings\application data\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\lib\gcc\avr\7.3.0\include\stdint.h:9:0,

from c:\documents and settings\user\local settings\application data\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\avr\include\inttypes.h:37,

from c:\documents and settings\user\local settings\application data\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\avr\include\avr\pgmspace.h:88,

from C:\Documents and Settings\User\Local Settings\Application Data\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino/Arduino.h:28,

from sketch\esr_tester18.ino.cpp:1:

c:\documents and settings\user\local settings\application data\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\avr\include\stdint.h:361:0: note: this is the location of the previous definition

#define UINT32_MAX (__CONCAT(INT32_MAX, U) * 2UL + 1UL)

D:\ESR & Frequency Counter\esr_tester18\esr_tester18.ino: In function 'unsigned int SmallResistor(byte)':

D:\ESR & Frequency Counter\esr_tester18\esr_tester18.ino:2014:17: warning: large integer implicitly truncated to unsigned type [-Woverflow]

waitus(900);

^

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

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

Guess: you tried uploading with a programmer, but you have your board connected via usb (no programmer, just bootloader).

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.

<Arduino: 1.8.10 (Windows 7), Board: “Arduino Nano, ATmega328P”

Sketch uses 1994 bytes (6%) 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.
C:\Program Files\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM8 -b115200 -D -Uflash:w:C:\Users\admin\AppData\Local\Temp\arduino_build_273746/noral_led_off_on.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 “C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf”

Using Port : COM8
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=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x04
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x04

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.

please help to troupleshoot this error

And this is indeed an Arduino Nano with a 328p processor, not the Nano Every, Nano 33, or Nano IoT, right?

Those are all different boards (each of which requires a separate board package installed - each of these new nanos is based on a different processor architecture from all other boards with Nano in the name)

Anything connected to pins 0, 1 or reset? disconnect it if so, those pins are used for upload, thing connected to those pins may interfere with uploads.