Go Down

Topic: Leonardo as ISP for ATtiny85 (Read 1 time) previous topic - next topic

kduin

I'm using a 10uF capacitor.

As you said, maybe a bigger one would help?

I tried with 3 more capacitors (in paralell), but it also doesn't work.

Strange: When i choose Leonardo and upload something, even with the 4 capacitors, the upload succeeds!



skootles

#6
Dec 11, 2012, 09:59 pm Last Edit: Dec 11, 2012, 10:05 pm by skootles Reason: 1
The instructions you're following are for an Arduino Uno, not the Leonardo. On the Leonardo, the SCK, MISO, MOSI, and SS pins were remapped, and are no longer on pins D13-D10. You'll have to use the ICSP pins instead.

Try this tutorial:

http://petervanhoyweghen.wordpress.com/2012/09/16/arduinoisp-on-the-leonardo/

I can't tell you if it works or not, I haven't gotten my hands on a Leonardo yet (hell, I might just pick one up tonight for the sake of it). Also, you should use the cores from the Arduino-Tiny project instead of the ones in that first tutorial: http://code.google.com/p/arduino-tiny/

PeterVH

@kduin: what windows are you on? I hope it is not xp, I just discovered some problems with it.

The output you posted shows that the ide uses -cstk500v1. It should use -carduino instead (a work around, needed on windows). See http://arduino.cc/forum/index.php/topic,108270.msg1014458.html#msg1014458 for how to do this.

Go Up