Leonardo not working as ISP for Attiny84

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
asymptote
 
Posts: 24
Joined: Mon Oct 24, 2011 8:35 pm

Leonardo not working as ISP for Attiny84

Post by asymptote »

Hey all,

I'm trying to program an attiny84 with my Arduino Leonardo as the ISP.

I loaded the ArduinoISP sketch onto my Leonardo, and the connected my attiny84 to the leonardo with a 6-pin ISP patch cable, as in http://i.imgur.com/VRWs60I.jpg

The green LED shows power from the +5V line, and the blue led is attached to pin 2 of the attiny84 (pin 0 in Wiring according to http://BANNED/14a176S) so I can tell if the code is working.

When I try to upload this through the ISP, I get the error:

[tt]
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84
avrdude: Yikes!  Invalid device signature.
        Double check connections and try again, or use -F to override
        this check.
[/tt]

which is no good :(

After some googling, it seems like there was a problem with the Leonardo as an ISP because of the reset pin (http://BANNED/1zsAthB).  So I followed the instructable and rewired to get the above picture (with reset going from pin 10 instead of the ISP header).

Still no dice, though :(

I'm trying to doing this on Mac OSX, and have had some trouble with using avrdude (as documented in another thread).  Does anyone have suggestions for what may be wrong here?

I can upload normal programs to the Leonardo just fine.

thanks!

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”