Go Down

Topic: Starting- Problem (Read 549 times) previous topic - next topic

dk1kq

Hi,
I would like to use Arduino Mini with my students
but can not overcome the problem with uploading to I/O board.
I checked all settings twice.
Using
Arduino -0012 Alpha - USB-Mini- Arduino mini and Winxp
there is always comming up

AVRdude:stk500_getsync(): not in sync: resp=0x00
AVRdude:stk500_disbled(): protocol  error, expect=0x14, resp=0x51

have not found in forum solution.

how can such a product adverticed with such obstacles ?

any help welcome

greetings from a almost frustrated tutor

uwe


Franklin

Several things to check. Make sure you have the correct com port selected and the correct device. make sure you have the most current drivers for the USB and your power is comming from the expected source. If all this is good then after the sketch compiles press the reset button to reset the mini, this sometimes helps when the autoreset does not work as expected assuming the mini has autoreset.
Stephen

miketheman

Hello!

I´m having the same problem. I´ve followed your suggestions (updated drivers for usb) but still get this:


Couldn't determine program size:

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Any ideas?

/Mike

miketheman

OK, so I´ve somewhat managed to get by this problem thanks to reading this thread:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1208211518

In his reply, Ausboy mentioned unplugging the USB cable for a bit longer time and re-insert it. If done AND directly after this hitting "Upload to I/O boards" I´ve got it to work and not getting any error messages...

Trying to upload a sketch again, same error. Do a "reset" and hit "upload to I/O boards" directly afterwards = success.

Seems that a reset button is very much needed for Arduino Mini.

/Mike

mellis

Good point.  I added that to the documentation at: http://arduino.cc/en/Guide/ArduinoMini.  The page was originally written when you had to press the reset button on the regular Arduino (NG) to, so this wasn't a difference of the Mini.

miketheman

Good! It´s easy to miss such a little thing, especially if you´re a beginner. I just went thru the circuit build based on that picture (a little bit lazy) that shows both a mini and a usb (mini), this picture doesn´t have any reset button in the circuit. Which makes you think that it will work without errors if you build it.

/Mike

Go Up