Cannot upload blink program to Genuino Uno: not in sync: resp=0x2f

Hi Folks,

I just received my Genuino Uno and installed the Arduino program on my Windows 10 PC. My Device Manager shows Genuino Uno (COM4) under Ports (COM & LPT) and I've selected that port in the Arduino program as well as the Arduino/Genuino Uno board.

As soon as I plug my USB cable into my computer, the L LED blinks on/off every 1 second. I opened the blink program, changed the 1000 to 300 or 2000 and click Upload, but I always get the below errors (verbose output).

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:C:\Users\erwim\AppData\Local\Temp\arduino_build_405482/Blink.ino.hex:i 

avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

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

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

I saw a post online talking about COM1 or COM3 but there's not enough detail there for me to figure out what happened.

How can I get uploading to work? Thanks!

Eric

To add a little more detail:

  • My request sounds very similar to post 429747
  • The TX light never beeps. The RX light seems to beep once, each time one of the 10 failures occurs.
  • I've tried uninstalling the driver and updating it but it says it's using the latest version
  • The exact failure pieces like "0x2f" appear to change when I unplug and replug in the device. Sometimes it's "0x3b" or "0x96" etc.

Is it possible that the conf file path is incorrect? Not sure why the different / and \ characters are in one file path:

System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

I've tried doing this on my Windows 10 machine while using a new cable and I saw the same type of error. I also tried doing this with the original cable on a Mac; same thing. It seems like it's either a problem with the hardware or with Arduino 1.6.12.

I'm basically out of ideas at this point.

In your IDE under TOOLS, BOARD, BOARD MANAGER what do you see for Arduino AVR Boards Built-In ?

Should currently be 1.6.14 (not same as IDE version)

You say you have a known good cable so just athought is are you using USB 3.0 ports (known to cause some issues)

The STK 500 error is popping up quite a lot and the remedy is never quite the same so maybe a search of the forum is your best bet.

Pert is the IDE guru and he can tell as a glance about the fwd and back slashes but If I remember him correctly it usually doesn't matter at least under windows.

Thanks for your thoughts.

Yes, Arduino AVR Boards Built-In is version 1.6.14.

I tried USB 3.0 and 2.0 with the same result.

Do you think trying to execute this from the Linux bash through Windows will make a difference?

I also tried the Loop Back test and it worked.

I understand the cause is something different for everybody but if I need to figure this out myself it sounds like I need to read up on things...but this will be difficult since I'm not experienced in Windows/USB/connections/hardware. Any suggestions on what I should look at?

Does the Loop Back test being successful mean there's something wrong with the Arduino if I can't upload the Blink sketch to it?

Sorry for late reply but been away for a while.

If your board passed loopback then there is a good chance its OK (not 100% guaranteed)

I dont know enough about Linux or Bash to make a comment.

I dont even bother with USB 3.0 as I know 100% at this end that none of my boards will work with it unless I use a powered USB 2.0 hub between it and the UNO.

Seen some people have to roll back USB drivers to get it to work on machines with USB 3.0 ports too under windows 8-10

You are correct in that there are so many different fixes to these issues.
I know I have been down some long paths to fix some problems.