ISP Programming

From XinCheJian
Jump to: navigation, search

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.

USB ASP ISP connections

The SwarmRobot part list has a link to Taobao shop.

ISP Header pins

AVR 6 pin ISP Header</P>

MISO

1

2

Vcc

SCLK

3

4

MOSI

Reset

5

6

Gnd


AVR 10 Pin ISP Header

MOSI

1

2

Vcc

Notused

3

4

Gnd

SCLK

4

6

Gnd

Reset

7

8

Gnd

MISO

9

10

Gnd


ISP connections for several AVR chips & Arduino boards

BusPirate

ISP
6

pin

AVR

AtTiny

25/45

/85

AtTiny

13/V

<A HREF="http://www.atmel.com/dyn/resources/prod_documents/8246S.pdf">ATtiny
2313
</A>
/A

<A HREF="http://www.atmel.com/dyn/resources/prod_documents/8271S.pdf">ATmega
x8,
x28</A>*1

<A HREF="http://www.atmel.com/dyn/resources/prod_documents/8271S.pdf">ATmega
x
</A>
x4,

xxx4

Arduino
Board Pin IO#

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)