ISP_AVR
-
Upload
dawoodmoeinfar -
Category
Documents
-
view
217 -
download
0
Transcript of ISP_AVR
![Page 1: ISP_AVR](https://reader031.fdocuments.net/reader031/viewer/2022021200/577d22821a28ab4e1e979010/html5/thumbnails/1.jpg)
8/3/2019 ISP_AVR
http://slidepdf.com/reader/full/ispavr 1/1
ATMEL AVR ISP Dongle Monday, September 11, 2000
http://www.beyondlogic.org
Atmel AVR In System Programming Dongle
Atmel offers a software package called the AtmelAVR ISP which allows the programming of AVRMicrocontrollers in circuit with a simple dongle whichis attached to the Parallel Port. This dongle isdetailed below. It can be built cheaply, making it anideal starting point for developing with ATMEL AVRmicros.
The current release of the software is Version 2.65which can be downloaded atftp://www.atmel.com/pub/atmel/avr_isp.zip (875KB)
If you are seeking a Serial/RS232 Version, have alook at Atmel’s Application Note AVR910 whichdetails a serial programmer using at AT90S1200.
2
3
4
5
18
6
19
7
20
8
21
9
22
10
23
11
24
12
25
J1
Parallel Port
1A12
1A24
1A36
1A48
2A111
2A213
2A315
2A417
1Y118
1Y216
1Y314
1Y412
2Y19
2Y27
2Y35
2Y43
1G1
2G19
V C C
2 0
G N D
1 0
U1 74HC244
1 2
3 4
5 6
7 8
9 10
J2
ISP
VCC
C1
0.1uF
VCC
MOSI VDD
GND
GND
GND
GND
LED
RST
SCK
MISO
VCC
DATA3
DATA2
DATA4
DATA5
DATA6
DATA7
R1
100K
VCC
Figure 1 : Schematic for the ATMEL ISP Value Added Dongle
Using a 74HC244 Tri-State buffer as the maincomponent, operation is extremely simple. The twoloopback connections, pin 2 to 12 and 3 and 11 isused to identify the dongle. With both links in placethe dongle is identified as a Value Added PackDongle. With only pins 2 and 12 links, it is reportedas a STK300 or AVR ISP Dongle. With only 3 and 11the dongle is reported as an STK200 or old KandaISP Dongle.
DATA2 and DATA3 of the Parallel Port Drive theTriState Outputs. A low will allow the passing of theserial clock and data during programming. MOSI,
LED, SCK and Reset being outputs are buffered fromthe Parallel Port’s DATA5, DATA6, DATA4 andDATA7 Respectively. The only input, MISO is fed intonACK, a status input of the Parallel Port.
There are two standard ISP Connectors for AtmelAVR Microcontroller ISP Programming. One standardis the 10 pin version using a DIL 5x5 header of 0.1”Pitch, shown in the above schematic. This is used onthe ATMEL STK Kits. The other is a more compact 6pin version, once again using a DIL 3x3 header of0.1” pitch. This 6 pin version is the standardconnector for ATMEL ISP Programmers.
The main advantage of the 10 pin header is the cleanand easy use of 10 pin IDC crimp headers.
Name Function DescriptionMOSI Master Out - Slave
InData being transmitted to thepart being programmed is senton this pin
LED Program LED Optional Programming LED
RST Target MCU Reset Connects to Target AVR.Target AVR is programmedwhile in Reset State.
SCK Shift Clock Serial Clock Generated by theProgrammer
MISO Master In – SlaveOut
Data received from the partbeing programmed is sent onthis pin
VCC ISP Power Power Supply for the ISP. ISPHeader must supply power to
the dongle.GND Ground Common Ground
6 Pin Header 10 Pin Header
1 2
3 4
5 6
VDD
GND
MOSI
RS
SCK MISO
1 2
3 4
5 6
7 8
9 10
VDD
GND
GND
GND
GND
MOSI
LED
RST
SCK
MISO
tp://Electronica.irww.Redownload.ir