Go Down

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


Jan 04, 2013, 11:45 pm Last Edit: Jan 08, 2013, 11:56 pm by spycatcher2k Reason: 1
Hi all, I've been struggling to get my new leonardo to work as an ISP programmer. But finally found out what I was doing wrong.

1. The ICSP pins are not broken out to digital pins - Use the 6 pin header - mosi->mosi, sck->sck etc
2.1 Need to modify the Arduino as ISP sketch - find #define RESET SS, and replace SS with 10 (The reset from the TARGET connects here)
2.2 I've saved the sketch as LeonardoISP - in the Examples Directory - Easy to find (Also works with the UNO)
3. modify the programmers.txt file (its in the arduino folder-hardware-arduino, include :

leo.name=Leonardo as ISP

at the end of the file

Upload the Arduino as ISP sketch to the leonardo
Load/Type your sketch
select the target chip type
Click 'Upload Using Programmer' or 'Burn Bootloader'

Hope this helps.

Edited to update Info.
Mrs Drew
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.


Go Up