Pages: [1]   Go Down
Author Topic: Problem for burning the Arduino bootloader on a ATTiny85  (Read 1313 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Melbourne, Australia
Online Online
Brattain Member
*****
Karma: 511
Posts: 19310
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 56
Posts: 1847
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: May 06, 2012, 11:11:07 am by Wilfish » Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 212
Posts: 13072
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 212
Posts: 13072
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: