Go Down

Topic: Arduino won't upload (Read 567 times) previous topic - next topic

xNordens

My Arduino UNO won't upload any sketches anymore, it has worked before, but now it just stopped working. It's happend when I moved the USB connector from the PC to a USB-hub, then I moved the connector back again to the computers USB-connector Com4-port. (have Windows 10 and 64bits. Arduino R3)

I've got this message
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xd5

I have red Rubin Grolsch topic, he has the same topic from 15.10.2012

I have tried CodingBadly's loopback test? on this address;

http://arduino.cc/forum/index.php/topic,73748.0.html

And it's works for me, BUT I still cannot load the sketch.

ballscrewbob

If your ports are USB 3.0 then try with a USB 2.0 port.

Also another cable.

Remove anything you have connected to the board too before trying to upload.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

xNordens

But communication is working according to the test I mentioned. Everyting are removed. I have now tested another cable and the same result appears.
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x88
I do not know if I have USB 3.0 but I have my doubts.

ballscrewbob

Your results from the loopback are a good indicator that the board may be OK but never 100% guaranteed.

I cant see your computer from here so you will have to work out what you have for USB ports etc.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

xNordens


ballscrewbob

So far you have deduced that the loopback works and it is on USB 2.0 which are both good things.

Are you using the windows APP or the REAL IDE ?
The windows app is a bit flakey.

Also disconnect EVERYTHING from the board including any external PSU and try a simple upload of the example "blink"



It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

xNordens

Everything is disconnected. Using internal power thrue the USB cable. I have down loaded IDE from Aurdino. arduino.org/download. I have tried several different sketches which have worked before, even blink.

ballscrewbob

Take a look at your address bar.
Notice it says Arduino.CC and not arduino.ORG

There is still a difference between the sites so you have two options.

1. Get rid of the IDE from the other site and get the one from here so everybody is on the same page.

2. Go to the other site and repeat your question there.

It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

xNordens

I'm back with new IDE from .cc. I've got this message
.
Archiving built core (caching) in: C:\Users\mun\AppData\Local\Temp\arduino_cache_590041\core\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a
Sketch uses 1926 bytes (5%) of program storage space. Maximum is 32256 bytes.
Arduino:1.8.2 (Windows 10), Kort:"Arduino/Genuino Uno"

Archiving built core (caching) in: C:\Users\mun\AppData\Local\Temp\arduino_cache_590041\core\core_arduino_avr_uno_0c812875ac70eb4a9b385d8fb077f54c.a
Sketch uses 1926 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 202 bytes (9%) of dynamic memory, leaving 1846 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=0x32
avrdude: stk500_recv(): programmer is not responding
etc
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x32

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

can not find any file named Prferences. more then 4 .jpg files from 2009.

ballscrewbob

Open the IDE.

Click FILE

When file opens try looking near the bottom where it says "Preferences"
That will open a new panel with the "Preferences" in it.

TICK the one for UPLOAD.

Although I dont think we are going to see much more as we know it fails at almost the final hurdle.

It is almost as if the bootloader is somehow corrupt but I don't know how you may have done that.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

xNordens

What happens when I press reset-button, is the sketch emptied from the Arduino? My pin13 LED is always on! Can I reload the bootloader?

XwowX

I am having problems uploading too :P but not the same error message

ballscrewbob

@ XwowX
Do not jump on somebody else's thread.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

ballscrewbob

No the sketch is not emptied from the Arduino until you put another one in.

But from your understanding of Arduino it would seem you have a little more to learn.
Are you sure it is pin 13 that is always lit ? or the power LED ?

I am not there so it is impossible for me to know what you may have done ?
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

xNordens

The power LED to the right is more green and the screen printing saying ON. The pin 13 LED is above TX and RX LEDs and is always on/true since my trouble began.

Go Up