1864Views9Replies

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!

9 Replies

user
gmoonBest Answer (author)2011-05-15

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...

Select as Best AnswerUndo Best Answer

user
DrWilson (author)gmoon2011-05-16

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

Select as Best AnswerUndo Best Answer

user
gmoon (author)DrWilson2011-05-16

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.

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)gmoon2011-05-15

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

Steve

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2011-05-15

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

Steve

Select as Best AnswerUndo Best Answer

user
DrWilson (author)steveastrouk2011-05-16

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

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)DrWilson2011-05-16

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

Select as Best AnswerUndo Best Answer