ISP Programming
Information on ISP programming
This SwarmRobots page has Lots of info on Arduino, USBASP and AtTiny2313.
Here is a picture of ISP connection on the header of the USBasp ISP programmer the SwarmRobots team is using. 
The SwarmRobot part list has a link to Taobao shop.
ISP Header pins
| AVR 6 pin ISP Header 
 | AVR 10 Pin ISP Header 
 | 
|---|
ISP connections for several AVR chips & Arduino boards
| BusPirate | ISP pin | AVR | AtTiny 25/45 /85 | AtTiny 13/V | <A HREF="http://www.atmel.com/dyn/resources/prod_documents/8246S.pdf">ATtiny | <A HREF="http://www.atmel.com/dyn/resources/prod_documents/8271S.pdf">ATmega | <A HREF="http://www.atmel.com/dyn/resources/prod_documents/8271S.pdf">ATmega xxx4 | Arduino | Usnoobie | Boarduino use same IO# as Arduino | 
|---|---|---|---|---|---|---|---|---|---|---|
| GND | 6 | GND | 4 | 4 | 10 | 8, 22 | 11 | Gnd | Gnd | Gnd | 
| +5V/3.3V | 2 | Vcc | 8 | 8 | 20 | 7, 20 | 10 | +5v | ViaUSB | +5v | 
| CS (white) | 5 | RESET | 1 | 1 | 1 | 1 | 9 | Reset | Reset | Reset | 
| MOSI | 4 | MOSI | 5 | 5 | 17 | 17(PB3) | 6 | D11 | B3 | D11 | 
| MISO | 1 | MISO | 6 | 6 | 18 | 18(PB4) | 7 | D12 | B4 | D12 | 
| SCLK/CLK | 3 | SCK | 7 | 7 | 19 | 19(PB5) | 8 | D13 | B5 | D13 | 
Notes: *1 ??Atmega8 is pin compatible – see notes in part tester /atmega??? 48A/PA/88A/PA/168A/PA/328/P differ only in memory sizes, boot loader support & and interrupt vector sizes. In the 48A/48PA there is no Read-While-Write support and no separate Boot Loader Section. The SPM instruction can execute from the entire Flash. xx4, xxx4 = 164/324/644/1284 – for example used in Sanguino or Sarduino (644, for Sarduino 328 see x28 column)


