Using Arduino UNO R3 - Avrdude: stk500_getsync() Failed uploading: uploading error: exit status 1

Sketch uses 5386 bytes (16%) of program storage space. Maximum is 32256 bytes.
Global variables use 347 bytes (16%) of dynamic memory, leaving 1701 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\darrylhii\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\darrylhii\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM3" -b115200 -D "-Uflash:w:C:\Users\darrylhii\AppData\Local\Temp\arduino\sketches\6D4B23D18773E20B28FA2F31F98565C1/sketch_sep3b.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:\Users\darrylhii\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM3
     Using Programmer              : arduino
     Overriding Baud Rate          : 115200

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

Guys please help me with this problem, i facing this problem while trying to developing my IoT project.

Hi @darryl33. Please try this experiment and then report back with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Connect the Arduino board to your computer with a USB cable.
  2. Press and release the button on the Arduino board that is marked "RESET".

Now please reply here on the forum thread with the answer to the following question:

  • Did you see the "L" LED blink multiple times quickly immediately after you released the "RESET" button?

I tried and yes the "L" LED have blink multiple time quickly immediately after i press and released the RESET button.

This error might be caused by having the wrong port selected from the Tools > Port menu in Arduino IDE.

Please perform this experiment to verify that the port you have selected is your Arduino board:

With some boards, the port will be labeled with the board name in the menu (e.g., "COM42 (Arduino Uno)"). In this case, you can be fairly confident that you have identified the port. But for other boards the port will not be labeled. You can positively identify the port using this procedure:

  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Take note of the ports, if any, listed in the menu.
  4. Close the Tools menu.
    :exclamation: The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Connect the Arduino board to your computer with a USB cable.
  6. Select Tools > Port from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your Arduino board.

Select that port from the menu and try uploading again.

If the upload still fails, or if no new port appeared after you plugged the Arduino board into your computer, add a reply here to let us know and we'll investigate the problem further.

Can you provide some background?

Did it ever work? Or is this your first experience with the Uno?
If it worked in the past, what was all connected to the board when it started failing?
Is anything connected to pins 0 and 1?

I am a computer science student, current working on my FYP which is i want to develop a IoT project which Arduino and my System. Yes it work in the beginning but after i try connect with multiple RFID reader with arduino UNO board using breedboard without properly setting up (i think so) then this is when the error started coming out after i trying to upload my code program.

yes it still didn't work, when i disconnected my USB cable of arduino uno from my laptop the PORT from Tools no listed any port and only COM3 port showing after i connect back my cable and reopen again.

Can you upload if nothing is connected to the Arduino board? Should have asked that in the previous post, sorry.

Can you provide a schematic / wiring diagram? It should show every connection including all power and GND. Photo of hand-drawn diagram is fine.

Please disable "verbose output during compilation" and enable "verbose output during upload" in file → preferences, perform an upload and post the results here.

Which version of the IDE are you using?

What is the TTL-to-USB converter on the board; it's the chipc closest to the USB connector. For original Unos and faithfull clones it will be a 16U2, for other clones it's usually a CH340.

  1. ya it still upload failed when if is nothing connect to the arduino board.
  2. this u mean the wires connection of my arduino and rfid reader at that time.
  3. yes I already enable "verbose output during upload" in file and disable "verbose output during compilation" and the result shown in my first post .
  4. arduino ide version i currently using is 2.1.0
  5. this i not really understand, but i will take a pic of my arduino board. the port it as the devices manager show is port com3.

Regarding
2: yes
3: sorry, missed it
5: OK, faithfull clone using 16U2

Have you tried the loopback test (Loop-Back Test Instructions)?

After that I think that I'm out of options.

ok i will try do the loopback test after i finish my class later, and i will inform my result at here later. Thanks for helping.

I tried loopback testing im not sure the result it is ok or not, when i try data into it the serial monitor juz output back my data ?
below is i will put some picture that how the result


Yes; anything that you send from serial monitor should show in the output box.

so what it mean, mean my arduino board is fine and also the connection between arduino board and my laptop ?

It means that the communication path from the PC up to the 328P is OK. See https://www.arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf

The two big square blocks are the microcontrollers, at the left the 16U2 that handles the conversion from USB to serial and at the right the 328P that runs your sketch; between them are two lines (with 1k resistors).

I can't tell you why your get the sync timeouts and hence can't really help you further.

ok i see, still very apprecial ur help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.