Wiring up USBasp

You need to wire up the end of the ribbon cable from the USBasp to the ATtiny85. Make sure you get it the right way round.[br][br]As well as the notch, check the red wire of the ribbon cable - on mine it matches to VCC/MOSI end of the plug at both ends of the cable. Also check if the diagram you use is "from above" or "looking into" the plug[br][br]You can tell which way round the ATtiny85 goes by looking for a small circle which indicates "pin 1"[br][br]You need to make the following 6 connections using some breadboard and wires.[br]MOSI: USBasp pin 1 to ATtiny85 pin 5[br]RST: USBasp pin 5 to ATtiny85 pin 1[br]SCK: USBasp pin 7 to ATtiny85 pin 7[br]MISO: USBasp pin 9 to ATtiny85 pin 6[br]VCC: USBasp pin 2 to ATtiny85 pin 8[br]GND: USBasp pin 10 to ATtiny85 pin 4[br][br]Once you've got that working you may want to wire up a more robust solution using a socket soldered to some protoboard, [url=https://www.ebay.co.uk/sch/i.html?_from=R40&_trksid=p2047675.m570.l1313.TR0.TRC0.H0.X2.54mm+2x5+Pin+Straight+Male+Shrouded+header+IDC+Socket.TRS0&_nkw=2.54mm+2x5+Pin+Straight+Male+Shrouded+header+IDC+Socket&_sacat=0]search for "2.54mm 2x5 Pin Straight Male Shrouded header IDC Socket" on eBay[/url].
Once you've wired it up, then [url=http://khazama.com/project/programmer/]Khazama AVR Progrogrammer[/url] is very useful to test (Command -> Read chip signature) that the wiring is correct and you can also try programming a .hex file:[br]* File -> Load FLASH file to buffer[br]* Command -> Write FLASH buffer to chip

Information: Wiring up USBasp