AVR ISP

From HwB

Revision as of 21:06, 22 September 2006 by Joakim (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Todo: This page needs some editing.

ICSP=In Circuit Serial Programming
ISP=In System Programming

Atmel AVR 8-bit microprocessors.

Contents

Pinout (10 pin)

2   10
.....
..... (at the device/CPU)
1   9

File:Idc10m.png

10 PIN IDC MALE at the device/CPU.

File:Idc10f.png

10 PIN IDC FEMALE at the cable/programmer.

Pin Name Dir Description
1 MOSI
2 +5V
3 LED or n/c
4 GND
5 RESET
6 GND
7 SCK
8 GND
9 MISO
10 GND

Note: Direction is target (CPU) relative programmer (PC)

Pinout (6 pin)

2 6
...
... (at the device/CPU)
1 5

File:Idc6m.png

6 PIN IDC MALE at the CPU.

File:Idc6f.png

6 PIN IDC FEMALE at the cable/programmer.

Pin Name Dir Description
1 MISO
2 +5V
3 SCK
4 MOSI
5 RESET
6 GND

Note: Direction is target (CPU) relative programmer (PC)

Technical

RESET

Used to reset the target system under the PC's control.

SCK

The serial data clock

MOSI

Master Out Slave In, used to send data from the PC (master) to the AVR (slave). Data is transmitted on the edges of SCK.

MISO

Master In Slave Out, used to send data from the AVR (master) to the PC (slave). Data is transmitted on the edges of SCK.

LED

The PC makes this line high to indicate that programming is occuring. Not used in all systems.

+5V

Can be used either to provide power to the target system during programming, or for the programmer to draw power from the target system during programming. I use it to allow the programmer to draw power from the system.

Contributions

Sources