Ardunio UNO Cant Upload

Hi All,

I've not used my Arduino for awhile and I keep getting a upload error on COM3.

Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 2644 bytes (8%) of program storage space. Maximum is 32256 bytes. Global variables use 212 bytes (10%) of dynamic memory, leaving 1836 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=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf0 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf0 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.

There are LOTS of STK500 errors and most have different answers or even none.

Best bet is to start basic.

Remove any items attached to board and try. Swap out USB cable and try. Ensure you are on a USB 2.0 port and try. Double check any recent windows updates carefully and see if any were related to USB and roll them back and try.

Do a search for "stk500" in the forum and one by one try each suggested fix. I know this one can take a while but many have had the OMG YAY moment.

I have tried the loopback test using PUTTY and all seems to be good but I still cant seem to get this darn thing to work!.

I have selected Arduino Uno and I'm using COM port 3 on a 2.0 USB.

Fact that loopback works is a good sign.

Will it accept a blank sketch or the blink example ?

Turn on “verbose” in the IDE preferences and paste the output over here using code tags please ( </> ).

Arduino: 1.8.1 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\graha\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\graha\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\graha\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10801 -build-path C:\Users\graha\AppData\Local\Temp\arduino_build_283383 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\graha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8 -verbose C:\Users\graha\OneDrive\Documents\Arduino\sketch_sep18a\sketch_sep18a.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\graha\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\graha\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\graha\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10801 -build-path C:\Users\graha\AppData\Local\Temp\arduino_build_283383 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\graha\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino8 -verbose C:\Users\graha\OneDrive\Documents\Arduino\sketch_sep18a\sketch_sep18a.ino
Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\sketch\sketch_sep18a.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\sketch\sketch_sep18a.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\sketch\sketch_sep18a.ino.cpp" -o "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\sketch\sketch_sep18a.ino.cpp" -o "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\sketch\sketch_sep18a.ino.cpp.o"
Compiling libraries...
Compiling library "SoftwareSerial"
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\libraries\SoftwareSerial\SoftwareSerial.cpp.o
Compiling core...
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\wiring_pulse.S.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\WInterrupts.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\hooks.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\wiring.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\wiring_analog.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\wiring_digital.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\wiring_shift.c.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\CDC.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\Print.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\Stream.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\Tone.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\USBCore.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\WMath.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\WString.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\abi.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\main.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\new.cpp.o
Using previously compiled file: C:\Users\graha\AppData\Local\Temp\arduino_build_283383\core\core.a
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\graha\AppData\Local\Temp\arduino_build_283383/sketch_sep18a.ino.elf" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\sketch\sketch_sep18a.ino.cpp.o" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383\libraries\SoftwareSerial\SoftwareSerial.cpp.o" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383/core\core.a" "-LC:\Users\graha\AppData\Local\Temp\arduino_build_283383" -lm
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "C:\Users\graha\AppData\Local\Temp\arduino_build_283383/sketch_sep18a.ino.elf" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383/sketch_sep18a.ino.eep"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\graha\AppData\Local\Temp\arduino_build_283383/sketch_sep18a.ino.elf" "C:\Users\graha\AppData\Local\Temp\arduino_build_283383/sketch_sep18a.ino.hex"
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial 
Sketch uses 2644 bytes (8%) of program storage space. Maximum is 32256 bytes.
Global variables use 212 bytes (10%) of dynamic memory, leaving 1836 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=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xa0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xa0
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

Are all your libs currently up to date ?

More especially the software serial ones if they are theones available from Arduino.

Sorted, was the ATMEGA328P CHIP.

I only had one so bought a couple and works again now :-).

Thaks for your replies.