So this Lazy Old Geek (LOG) has had a lot of trouble getting Arduino bootload on Atmega chips.
I couldn’t get either of these to work with Arduino UNO Rev3.
So I developed a couple that worked for me:
Problem: Well, my second Instructable works good for Atmega328s in a socket, but I have a Seeeduino that uses a SMD Atmega. So I can’t bootload it with my ICPs. See picture.
Solution: What many people may not realize is most of these Arduino In Circuit programmers use the same pins that are on the ICSP connector or sometimes called ISP.
ICSP: In-Circuit Serial Programming
Basically, this is a way of programming a microcontroller PCB through a connector.
ISP: In System Programming
Basically, the same thing. I don’t know the difference. They seem to be used interchangeably.
Step 1: ISP Cable
Construction: There’s a couple of ways to do this. You could take 2 2x6 female headers and solder wires or you can take six female-female adapter jumpers like these.
I used the second method.
Two Arduinos with ICSP/ISP connectors
6 f-f adapters
1 m-m adapter
Identifying pin 1 on ICSP/ISP connectors. These connectors are 2x3 male headers. See picture. Sometimes pin 1 is identified by a dot or a 1 or if you turn the Arduino over, pin 1 is square instead of round pad.
What I like to do is make sure by using a DMM and check which pin is connected to ground. This is pin 6 of the connector and pin 1 is the opposite. See pinout drawing.
For future reference, I mark pin 1 with red nail polish.
Now you have pin 1 identified on the two Arduinos. Identify one as the source Arduino. Source is the Arduino used to bootload the other Arduino, the Target.
Take one of the f-f adaptors and connect 1 to 1 on the two Arduino ICSP/ISP connectors.
Take another and connect 2-2, 3-3, 4-4 and 6-6
Take another f-f and connect one end to pin 5 on the Target Arduino.
On the other end, connect the m-m adapter, plug the other end into D10 female header of the Source.
See picture and schematic.
Then I wrapped both connectors with transparent tape to keep them bundled in order.
And I marked each Pin 1 with red nail polish. See picture.