AN #200 - AVR ISP Programmer
AVR ISP Programmer
Application note by Mike Crean
Also at the bottom of this note, an AVR ISP programmer PCB layout from
Pedro Silva
I have made a PCB for the simple SPI programmer found in the Bascom AVR help file. It uses a DB25 pin male plug to connect to a PC or Lap Top parallel port. It uses a cable with two pin and four pin plugs to connect to my AVR projects, these plugs are the same type used on the Hotchip cable.
NOTE : The pin outs to the two plugs are NOT THE SAME AS the HOTCHIP pin outs.
The programmer uses the STK200/STK300 Programmer option found in the Options - Programmer menu of Bascom AVR. I have successfully used the SPI programmer with Win95, 98, ME and 2000 pro. I have not used it with NT.
Programmer connected to AT90S8535-8PI eurocard master control board.
Connector pin outs
4-PIN PLUG |
COLOUR |
AVR-Pin |
DESCRIPTION |
1 |
Blue |
6 |
MOSI |
2 |
Yellow |
7 |
MISO |
3 |
Green |
8 |
SCK |
4 |
White |
9 |
ReSet |
2-PIN PLUG |
COLOUR |
AVR-Pin |
DESCRIPTION |
1 |
Red |
10 |
+ 5 Volt |
2 |
Black |
11 |
- 5 Volt |
I have used standard 6 core data cable for the lead, shield is connected to - at the SPI adaptor end only. I have run up to 5 meters of cable with out any problems.
Protel overlays for the simple SPI Programmer
Schematic for the SPI Programmer (from Bascom AVR PDF help files)
an200-1.zip