Go Down

Topic: Problem for burning the Arduino bootloader on a ATTiny85 (Read 1 time) previous topic - next topic

Wilfish

Hi,
I have a problem for burning the Arduino bootloader on a ATTiny85 :
I've an arduino mega 2560 and I followed this tutorial http://hlt.media.mit.edu/?p=1695 but I get this error:
Quote
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Please help me.
Thanks you in advance

Nick Gammon

From that page:

Quote
(Note this doesn't actually burn a bootloader onto the board; you'll still need to upload new programs using an external programmer.)
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Wilfish

Thanks you for your quick reply!
Which programmer you suggest me to buy?
Thanks
Wilfish

mrburnette

Check out these two links:
http://arduino.cc/forum/index.php?action=printpage;topic=96735.0
http://hlt.media.mit.edu/?p=1695

I'm using the UNO with the MIT instructions and no issues.  Just remember, you "flash" the Tiny from the 1.0 GUI but you are only setting the fuses, not actually downloading the bootloader.

- Ray

Wilfish

#4
May 06, 2012, 06:05 pm Last Edit: May 06, 2012, 06:11 pm by Wilfish Reason: 1
Thanks Ray,
I've tried to follow the instruction of the MIT but now I get this error
Quote
avrdude: stk500_getsync(): not in sync: resp=0x00

Coding Badly


What method did you use to disable auto-reset?

Are you using the Arduino 1.0 IDE?

Are you using the updated version of ArduinoISP?

Wilfish

Hi,

  • I'm using the Arduino 1.0 IDE.

  • To disable auto-reset, I have a 1µ capacitor between gnd and reset.

  • But I'm using the ArduinoISP already present in the IDE.Where can I download the updated version of ArduinoISP?


Thank you for your help

Coding Badly

To disable auto-reset, I have a 1µ capacitor between gnd and reset.


They may not be big enough.  There are accounts that 10 uF (or bigger) are required.

Quote
But I'm using the ArduinoISP already present in the IDE.Where can I download the updated version of ArduinoISP?


https://github.com/arduino/Arduino/blob/master/build/shared/examples/ArduinoISP/ArduinoISP.ino
Right-click Raw then click Save Link As

Wilfish

Thank you very much it works.
I'm relieved.
Wilfish

Go Up