Hey everybody.
I'm doing a project for school with an Arduino. I tried to upload my programme on it but I got this default message:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20 Beim Hochladen des Sketches ist ein Fehler aufgetreten avrdude done. Thank you.
And I don't know what to do now. I've already tried out uploading with the reset button and I've tried it with another computer.
The port is right and registered. Moreover, in the Device Manager, you can see the port. So the board is registered but I can't upload any programme.
It's really strange because it has already worked with those Tools: programme, cabel, computer and Arduino. But from one second to the other, it just doesn't.
Can anyone help me please? I definitely do not know what to do and the deadline is coming closer and closer.... :o
If you were previously able to upload a program to the same Arduino you may solve the problem by disconnecting and reconnecting the Arduino, by closing and restarting the Arduino IDE or by shutting down and restarting your PC.
einfallslose99:
I've already tried this several times but still, it doesn't work...
Do you think using another Arduino will be the solution??
If you already have another Arduino it can do no harm to try. I would not rush out to buy a new one at this stage.
You have not said what Arduino you are using, what program you are trying to upload, what version of the Arduino IDE you are using or what PC operating system you are using.
The next step on my debug path would be to delete and reinstall the Arduino IDE or to install an older version alongside the one you already have.
Perhaps you have another PC, or access to one, from which to try uploading?
...R
PS. (intended as a friendly comment) what you are seeing are "fault" or "error" messages. "default" has a different meaning. For programming "default" means a pre-selected option that is used when no alternative is selected.
I am using an Arduino Uno and I have the ARDUINO 1.8.5 installed. And on my computer I have Windows 7. But I've already tried it with a Mac Book, with the same result.
And I've already tried several programmes which have all worked previously...
einfallslose99:
I am using an Arduino Uno and I have the ARDUINO 1.8.5 installed. And on my computer I have Windows 7. But I've already tried it with a Mac Book, with the same result.
And I've already tried several programmes which have all worked previously...
E99
So you have been able to load programs before with your computer, but the same programs now don't.
What COM port have you selected in the IDE, COM port allocation can change if you change controller.
Have you changed the USB lead?
Tom...
I have the Wifi-Shield ESP8266 on the Arduino.
And well, the Arduino is part of a robot car. So there is also a LCD Display, the whole engine thing, the power thing, a grove linefinder and a colour sensor. But all these things have worked more or less properly till the uploading of the programme stricted.
TomGeorge:
So you have been able to load programs before with your computer, but the same programs now don't.
What COM port have you selected in the IDE, COM port allocation can change if you change controller.
Have you changed the USB lead?
Tom...
Do you mean the port you can choose at "tools"??
I've checked it on the Device Manager
einfallslose99:
I have the Wifi-Shield ESP8266 on the Arduino.
You are not answering questions with sufficient precision.
I asked "Have you anything connected to pins 0 and 1 on the Uno?"
If your ESP8266 is connected to pins 0 and 1 that is probably what is preventing the code from uploading because pins 0 and 1 are used by Serial as part of the program upload process.
Robin2:
You are not answering questions with sufficient precision.
I asked "Have you anything connected to pins 0 and 1 on the Uno?"
If your ESP8266 is connected to pins 0 and 1 that is probably what is preventing the code from uploading because pins 0 and 1 are used by Serial as part of the program upload process.
...R
Sorry...
The Shield is completely on the Uno, so yes every pin is "occupied".
If you mean the analog Pins 0 and 1 on the shield (or the Uno) then the answer is also yes, they are used for the linefinder.
Is it possible that there's suddenly a problem with that although I didn't switch the pins at all??
I hope that answer is sufficient now... English's not my mother language...
Well, I have a new Arduino Uno now and the uploading of the program works
But now, I do have the problem that the connection between the Wifi Shield ESP8266 and the Router dosn't work properly.
So the Shield replys but it does not get the message as it used to be with the old one.
I don't want what kind of Information you need in order to give an advice