unable to upload my code to arduino uno board

i am getting this error when a tried to upload led blink code for arduino

Arduino: 1.6.0 (Windows 7), Board: "Arduino Uno"

Sketch uses 450 bytes (1%) 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.

avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01 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" enabled in File > Preferences.

please help me how to solve it

Has this board worked before?

And...

Have you read any of the other similar posts about?

What operating system?

Where did you board come from? Post a link or a picture of the board.

Is there anything other than the computer connected to it?

I have the same problem too

Arduino: 1.6.0 (Windows 7), Board: “Arduino Uno”

Build options changed, rebuilding all

Sketch uses 1,142 bytes (3%) of program storage space. Maximum is 32,256 bytes.

Global variables use 13 bytes (0%) of dynamic memory, leaving 2,035 bytes for local variables. Maximum is 2,048 bytes.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01
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”
enabled in File > Preferences.

Already check the com port, the programmer, as well as the board but still getting that error.

But this is only code i want to put in arduino
int motor_forward = 7;
int motor_reverse = 6;

// the setup routine runs once when you press reset:
void setup()
{
// initialize the digital pin as an output.
pinMode(motor_forward, OUTPUT);
pinMode(motor_reverse, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
digitalWrite(motor_forward,1); //terminal D1 will be HIGH
digitalWrite(motor_reverse,0); //terminal D2 will be LOW
delay(5000); //creates a 5 seconds delay
//Motor will rotate in forward direction for 5 seconds
digitalWrite(motor_forward,0); //terminal D1 will be LOW
digitalWrite(motor_reverse,1); //terminal D2 will be HIGH
delay(5000); //creates a 5 seconds delay
//Motor will rotate in reverse direction for 5 seconds
digitalWrite(motor_forward,0); //terminal D1 will be LOW
digitalWrite(motor_reverse,0); //terminal D2 will be LOW
delay(5000); //creates a 5 seconds delay
//Motor will stop rotating for 5 seconds
//again the loop() will run from the begining until the board is turned OFF
}

It runs before but when i put a new codes and it work but when i put this code again, that error message appear, i also try to reset and upload th code again but its not working anymore.

thanks for your Response

my board worked fine before i tried to interface bluetooth hc-05 to control my bot through android device i uploaded my code several times by editing it suddenly come across this problem

Same issue here, Everything worked a few months ago…

I have 1.6, on windows7 with an uno rev3 & a sainsmart uno.

First I had the library issue, did some research and then decided to re-install the entire software so I didn’t have duplicate libraries. (figured the included ones would have what I need and can download ones with differing naming conventions to prevent the double library issue. (I have used / added libraries in the past, they are in the “correct” folders & added properly…)

After all that I finally got an example to compile, However now I cannot upload the sketch even though it compiles without errors. My serial port is correct & not going into sleep mode (like some do with propeller devBoard).

Another possible thing is I want to use just a usb cable and never had issues in the past. The programmer setting was on avrisp MKII, which I have for my atmega 16A & 8535, but have never used with uno…Now with research they say to just ignore this setting if using just a usb cable, but Is there a setting under Tools-Programmer for a plain ol’ usb cable? I never had any issues in the past when it comes to software & hardware and now there seems to be one after the other. I have always used arduino software for arduino and atmelstudio6 (with avrisp mkII) for the 16A & 8535.

Are any of these reasons putting up red flags for anyone? Is there something about this 1.6 version, or other known factors happening to people? I welcome input/ suggestions/ feedback! Thankyou! :slight_smile:

(rant mode);
I’m not a total noob (recent AAS-elec/robotics grad), but I’m getting pretty frustrated. I just set out to tinker with some easy programming, but hangups like all of this make me want to use my other micros & I’m becoming less & less appreciative of libraries. It was a steeper learning curve but I am more comfortable with the atmega 16A ( & assembly language) where I can not only tell the darn thing what to do, but how to do it.

I have an arduino uno and i had the same issue (on Windows 7, with arduino 1.6.0). The error occured with the arduino 1.6.0, so i replaced it with an older version : arduino 1.0.6 and it's working. ;) Sorry for bad english. :)

Your bootlooader might crashed . Upload bootloader using avr pocket programmer.

make ensure 1) you have choosen right board & right port while uploading code 2) you havent connected TX & RX line uploading your code. if connected remove & upload.

3) if bootloader crashed LED 13 status always remain high & keeps flicker more than blink example

Check above condition .https://www.sparkfun.com/products/9825 link attached for avr pocket programmer

It's been quite a while since the original post but if anyone still cares...

I've seen several posts in other locations about the FTDI drivers being updated to no longer work with non-FTDI USB drivers. This is probably why the older version of the software worked.

Another possibility is that you are using the TX & RX pins with the HC-05 / 06 and those are the same pins used by the USB port, you need to unplug the Bluetooth in order for the USB to work.

Arduino: 1.6.5 (Windows 7), Board: "Arduino Uno" i am working on quad eventually i gave board reverse current(negative and possitive terminal shorted) and IC became hot , i replaced IC Also and now i am not able to upload program again i am arriving with this error: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01 Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

please help me how to solve it

Arduino: 1.6.8 Hourly Build 2016/02/02 09:41 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 2,840 bytes (8%) of program storage space. Maximum is 32,256 bytes. Global variables use 206 bytes (10%) of dynamic memory, leaving 1,842 bytes for local variables. Maximum is 2,048 bytes. avrdude: ser_open(): can't open device "\.\COM11": The system cannot find the file specified.

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.

using IDE 1.6.8. What are the default settings for UNO 'programmer' there are many choices (AVR etc...). I am using the standard USB connection and upload is not working for Blink

Are you using a Programmer, or uploading via the USB interface (in which case the bootloader is doing the uploading, and Programmer choice does not come into play)?

I am using this on the linux (Debian) code is const int LED= 12;

void setup() { pinMode(LED,OUTPUT); }

void loop() { digitalWrite(LED,HIGH); delay(1000); digitalWrite(LED,LOW); delay(2000); }

CODE GET COMPLIED WHILE UPLOADING GET FOLLOWING ERROR:

Arduino: 1.8.5 (Linux), Board: "Arduino/Genuino Uno"

Sketch uses 948 bytes (2%) of program storage space. Maximum is 32256 bytes. Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes. 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_getsync() attempt 4 of 10: not in sync: resp=0x00 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 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.