Error message when uploading

Hi ! I bought an Arduino Uno just 3 hours ago , and I decided to try the blink sketch in the examples .
Everytime I try to upload , I get this error :
Arduino: 1.6.11 (Windows 8.1), Board: "Arduino/Genuino Uno"

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

Help ?

Are you using an Atmel STK500 development board?

Hi,

Assuming you are in fact using an Uno board, try selecting "ArduinoISP" under menu Tools/Programmer

best,
Michael

(deleted)

Michael , i did what you said .
Now this happens :
I upload , ten seconds pass then the error comes back .

Hi,

Is it the exact same error message?

Time to gather some more information:
Did you see spycatcher2k's post?
Did you install drivers when you installed the Arduino IDE?
Did you select the Uno board in the Tools/Board menu?
Did you select the correct port?
Have you double checked that your USB cable to the Uno board is a good one?
What computer system are you running--mac, windows, or linux?

--Michael

Mjward ,
I installed the driver . The port is the correct one and I selected my board in the software . Now that you mention it , my usb cable is not the right size for the arduino . The hole in the arduino is bigger that the end but when I put the cable in the arduino it works .

OK, that stuff about the cable doesn't compute for me. Can you post a photo?

--Michael

Hi,
Can we have a picture of your Arduino as well as the cable please.
Did the cable come with the Arduino?

Thanks.. Tom.. :slight_smile:

TomGeorge:
Hi,
Can we have a picture of your Arduino as well as the cable please.
Did the cable come with the Arduino?

Thanks.. Tom.. :slight_smile:

mjward:
OK, that stuff about the cable doesn't compute for me. Can you post a photo?

--Michael

When I put the cable in the arduino , I can move it right and left , top and bottom .
It feels like it doesn't fit in perfectly .

Hi,
Do the sockets on your Arduino have sockets that look like this?

We need pictures, especially of the cable, did it come with the Arduino when you bought it?

Tom... :slight_smile:

TomGeorge:
Hi,
Do the sockets on your Arduino have sockets that look like this?

We need pictures, especially of the cable, did it come with the Arduino when you bought it?

Tom... :slight_smile:

Pictures .

http://image.noelshack.com/fichiers/2016/36/1473254252-20160907-141331.jpg

http://image.noelshack.com/fichiers/2016/36/1473254274-20160907-141347.jpg

Hi,
OPs pics.

Tom.... :slight_smile:

Hi,
That cable is the right type for the UNO.
Is it pushed all the way in?
The fact that you have a couple of LEDs glowing on the UNO mans that you have power flowing through the connection.

What COM port does the IDE say your UNO connected to?

Tom... :slight_smile:
Its late here going to bed.. See if someone else who is awake can help.. lol, goodnight mate.

IDE says UNO is in COM4 .

Hi,

To confirm: does com 4 appear in the port list when you plug your Uno board in and disappear when you unplug it?

Another thing to consider--every once in a while one of those cables can be problematic. Have you confirmed it is good by using it on another device?

--Michael

Yep . Com 4 appears when I plug the arduino .
I use the cable for my printer . Works fine .

Well, I'm running out of ideas then.
You are trying to run the example blink sketch, unmodified, correct?
Have you tried reinstalling the IDE?
Have you opened the Windows device manager while your board is plugged in to make sure Windows thinks the port is functioning ok?
Is the error message you now get identical to the message in your original post?

--Michael

Actually , the error message changed after I set the programmer to ArduinoISP .

Arduino: 1.6.11 (Windows 8.1), Board: "Arduino/Genuino Uno"

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\ACER\AppData\Local\Temp\build9c9ef3bdfe2fccb480bc6e4bac749e41.tmp/Blink.ino.hex:i

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 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=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf8

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.

Hm. I see no reason why you can't upload normally.
At this point, I'm reduced to suggesting the option of last resort--a fresh install.
If that doesn't help, all I can offer is my hope that somebody else here has more insight.

--Michael