1942Views9Replies

Author Options:

Why wont my arduino let me upload ? Answered

Hi there,

I have had my dumilanove for a few weeks now and i have suddenly started getting an error when trying to upload to the board I have not added or removed, or changed any settings that im aware of

here is the error code: avrdude: stk500_getsync(): not in sync: resp=0x30
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Also when i push the reset button on the board, the led on pin 13 doesn't light, but it used to.

I have a sad feeling this is to do with the bootloader

my pc spec is below:
Windows 7
64-bit 4gb ram
2ghz 1 mb l2 chache - AMD Athlon II X2 M300,
Running arduino 0022

Please could someone help me, Thank you!

Discussions

0
gmoon
gmoon

Best Answer 9 years ago

The "stk500" refers to a very standard Atmel programmer / proto board (I've got one).

Are you sure all the connections are correct?  An stk500 doesn't use USB, but avrdude may default to stk500 mode.

You (and Steve) may be right about the loader. Do you have an ISP programming cable? (like a simple DAPA parallel type?) Your Arduino has an ISP port, and you can reinstall the bootloader via ISP...

0
DrWilson
DrWilson

Answer 9 years ago

You mean like a parallel programmer? Would it be possible to make one?

0
gmoon
gmoon

Answer 9 years ago

Yes, like the "ghetto AVR programmer".

I used one for awhile before I got my Dragon and STK500 (actually, I still use the DAPA). The pin outs should be easy to convert to the six-pin version.

0
DrWilson
DrWilson

Answer 9 years ago

thanks!

0
steveastrouk
steveastrouk

Answer 9 years ago

Its the non-flashing boot led that worries me. Classic symptom.

Steve

0
steveastrouk
steveastrouk

9 years ago

"Sorry" to agree with you - sounds like the bootloader's borked to me too. Have you got a proper programmer for it ?

Steve

0
DrWilson
DrWilson

Answer 9 years ago

Sadly no :( - Unless a parallel programmer counts? (i could make one i think)

0
steveastrouk
steveastrouk

Answer 9 years ago

https://www.instructables.com/id/Programming-Arduino-Bootloader-without-External-Pr/

0
DrWilson
DrWilson

Answer 9 years ago

thanks! Thats useful!