I carnt upload program to arduino uno

So I just got back into programming my Arduino Uno, I was at first able to upload programmes before ( as I said a do have some experience). However a few days an ago I had finished building my LED cube and writing the programme, unfortunately when upload sketch this came up.

''
Sketch uses 928 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_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xc8
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc8
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
''

This was annoying. I then decided to search the internet. First I found that I may have to open the sketch differently, so I did; unsuccessful
Second, I was told to update drives; they are up-to-date. Third, I was told to re-upload bootloader; apparently; it was fine according to the board. Then I had my suspicion that the cable was broke so I bought a new one; turns out the cable isn't the problem.

So what the hell is wrong with my Arduino Uno.

Is it my Arduino board?

Is it the IDE?

It can't be the program I tried with others.

Please help, thanks.

Jakob

Hello there!

There could indeed be an issue with either of the two chips on your board. When you plug the Arduino into the computer, can you check Tools->Port and see if a COM port appears?

Do you have another Uno that you can substitute temporarily to see if the current Uno is faulty?

First off the ports shows the correct board and second off i dont have another boards.

Any other suggestions.

Thanks.

So 68 people have read the post and only 1 thought of a solution.

I really think I am F*****

Are you using a library with your code. I once had a huge problem where the upload didn't work due to the library not installed correctly. If you could post a code, I'll look over it.

void setup()
{
{
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
}
pinMode(A0,OUTPUT);
pinMode(A1,OUTPUT);
pinMode(A2,OUTPUT);

digitalWrite(A0,HIGH);
digitalWrite(A1,HIGH);
digitalWrite(A2,HIGH);

Serial.begin(9600);
pinMode(2,OUTPUT);

}
void loop() {
digitalWrite(A0,LOW);
{
digitalWrite(2,HIGH);
delay(200);
digitalWrite(3,HIGH);
delay(200);
digitalWrite(4,HIGH);
delay(200);
digitalWrite(5,HIGH);
delay(200);
digitalWrite;(6,HIGH);
delay(200);
digitalWrite(7,HIGH);
delay(200);
digitalWrite(8,HIGH);
delay(200);
digitalWrite(9,HIGH);
delay(200);
digitalWrite(10,HIGH);
}
digitalWrite(A0,HIGH);
}

WE have a solution for some nano !!

in fact , the boatloader is the BL of a Micro , so our NANO is reconize as Micro and works as Micro ...

Thanks to Simon and Benoit !

Have a good day !

It can't be the program I tried with others.

Disconnect everything; connect via USB to PC.
Try loopback test
Try to upload

kerm:
WE have a solution for some nano !!

in fact , the boatloader is the BL of a Micro , so our NANO is reconize as Micro and works as Micro ...

Thanks to Simon and Benoit !

Have a good day !

OK, how does that help OP who has an Uno?

And an Nano can never work as a Micro.

I am having the exact same problem.

I have :

Nano A
Nano B
Uno 1

Computer 1
Computer 2

Here is where it gets freaky.

(BTW, it did work for a long time , then suddenly this : )

Try Nano A on Comp1 - Error as described above.
Try Nano B on Comp1 - Same Error
Try UNO 1on Comp1 - Works OK

Move to Computer 2

Nano a, B and Uno Works ok.

So it seems something specific to the NANO driver on Comp1.

I have uninstalled , updated and reinstalled the drivers numerous times, no Joy

TheClown:
I am having the exact same problem.

I have :

Nano A
Nano B
Uno 1

Computer 1
Computer 2

Here is where it gets freaky.

(BTW, it did work for a long time , then suddenly this : )

Try Nano A on Comp1 - Error as described above.
Try Nano B on Comp1 - Same Error
Try UNO 1on Comp1 - Works OK

Move to Computer 2

Nano a, B and Uno Works ok.

So it seems something specific to the NANO driver on Comp1.

I have uninstalled , updated and reinstalled the drivers numerous times, no Joy

How did you end up in a thread about unos :wink:

I suspect that on the system where the nano no longer works you did an update if the board manager. If so, you now have 3 processor choices, one with old bootloader. Select that one.

Can we use Analog pins as output?? I doubt

jameelsheikh:
Can we use Analog pins as output?? I doubt

Yes but it depends which board. E.g. the 328P micro has 8 analog pins; two of them (A6 and A7) are analog in only, the other pins are multi-functional.

So I just attempted the LoopBack test and while doing so I came up with a problem. When on serial monitor I would type hello into the Section were one can type and then clicked send. nothing happened. I Don't know if I did anything wrong but I don't think so. So what should I do.

Board is recognised.
Loopback test fails; did you see the RX led flash while performing the test?

That means that the ttl-to-usb chip is damaged (or the connections from that chip to the TX and/or RX pins are damaged). I would replace the board (or try another one if available).

Note:
If it's an original Uno, the 16U2 ttl-to-usb chip is prone to failures due to abuse.

so my boards broken

JakobatEckl:
so my boards broken

It would be my conclusion.

You know what you did with it (willingly or unwillingly) :wink:

hey, thanks,
So I am f***** now as I can't really afford another.
Do you think Arduino would replace it?

No idea if Arduino will replace it.

You can buy an FTDI cable (needs to have DTR) and use that for communication.

what you mean with FTDI