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 | Master Out Slave In | |
2 | +5V | target supply voltage | |
3 | LED or n/c | programming in progress | |
4 | GND | Signal ground | |
5 | RESET | target Reset | |
6 | GND | Signal ground | |
7 | SCK | Serial Clock | |
8 | GND | Signal ground | |
9 | MISO | Master In Slave Out | |
10 | GND | Signal ground |
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 | Master In Slave Out | |
2 | +5V | target supply voltage | |
3 | SCK | Serial Clock | |
4 | MOSI | Master Out Slave In | |
5 | RESET | target Reset | |
6 | GND | Signal ground |
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.