AVR ISP
From HwB
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
10 PIN IDC MALE at the device/CPU.
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
6 PIN IDC MALE at the CPU.
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.