SlideShare a Scribd company logo
CMYK


         CIRCUIT
           IDEAS

       ATMEL AVR ISP DONGLE                                                                      SANI TH
                                                                                                        EO




         EFY LAB                                 grammed is sent on this pin               parallel port.
                                                     3. SCK (Shift Clock): Serial clock        IC 74LS244 (IC1) acts as a buffer as


       A
                tmel’s AVR microcontroller       generated by the programmer from the      well as an isolator circuit when the
                chips are in-system program-     PC.                                       AVR is not in programming mode. In
                mable (ISP), i.e. these can be       4. RST (Reset): Reset (low pulse)     idle mode, all the outputs are tristated
       programmed directly in the target cir-    generated by the program. The AVR         so as not to affect the operation of the
       cuit. A special programmer software       is programmed while in reset state.       target system.
       is used to download the program from          Here’s a dongle circuit for in-sys-       When the AVR’s ISP mode is se-
       the PC into the AVR’s flash memory.       tem programming of Atmel’s AVR chip       lected, the lower half of IC 74LS244
       Atmel offers a software package called    AT90S8515 using such software pack-       is enabled, pulling the target system’s
       the Atmel AVR ISP that allows pro-        ages as Atmel ISP 2.65 and                Reset line low. Once the target
       gramming of the AVR microcontrollers      PonyProg2000. Though not exactly the      system is in Reset mode, the SCK,
       in the circuit using a simple dongle. A   same, a similar dongle circuit can be     MISO and MOSI lines are no longer
       dongle is nothing but an adaptor cable    found at the Website ‘www.iready.org/     loaded by the peripheral circuitry, if
       that connects the PC’s parallel port      projects/uinternet/ispdongle.pdf.’        any, on the target system. Now, it is
       with the ISP pins of the AVR chip for         The PC’s parallel-port pins 4 and     safe to enable the upper half of
       programming.                              5 drive buffer IC 74LS244 by enabling     74LS244, driving the MOSI, LED and
           For programming, the four lines re-   its pins 19 and 1, respectively. A low    SCK lines of the dongle. The RST pin
       quired from the AVR chip to the ISP       pulse on these pins will allow the        becomes high after the AVR is pro-
       adaptor (dongle) are:                     passing of the serial clock and data      grammed. Glowing of LED2 indicates
           1. MOSI (Master Out, Slave In):       during programming. MOSI, LED,            that the AVR is in programming mode.
       Data being transmitted to the AVR be-     SCK and RST outputs are buffered              There are two standard connectors
       ing programmed is sent on this pin        from the parallel port’s pins 7, 8, 6     for in-system programming of Atmel
           2. MISO (Master In, Slave Out):       and 9, respectively. The MISO input       AVR microcontroller. One is the 10-
       Data received from the AVR being pro-     from the AVR is fed into pin 10 of the    pin header (dual-in-line (DIL) connec-




       100 • FEBRUARY 2005 • ELECTRONICS FOR YOU                                                              WWW.EFYMAG.COM
CMYK


                                                                                                                        CIRCUIT
                                                                                                                        IDEAS
       tor)) used on the Atmel STK kits. The       the dongle is identified as a value-           6-line cable of about 30cm length is
       other is a 6-pin header (DIL connec-        added pack dongle.                             required for connecting this ISP adap-
       tor) used in Atmel ISPs. The two loop-          Here, we’ve used an 8-pin single-in-       tor (dongle) to the target circuit.
       back connections, pin 2-to-pin 12 and       line (SIL) connector and an additional             If the AVR is not on the target cir-
       pin 3-to-pin 11 of the parallel port, are   6-pin SIL connector for the Atmel pro-         cuit, you can insert the AVR into the
       used to identify the dongle. With only      gramer circuit. With the buffer and the        ZIF socket and program it. Regulated
       pin 2-to-pin 12 link, the dongle is         40-pin ZIF socket in this circuit, it can be   5V DC is required for the AVR and
       called STK300 or AVR ISP dongle.            used as a standalone programmer. The           the associated dongle circuit, whose
       With only pin 3-to-pin 11 link, the         6-pin SIL male connector is used for           terminals are also provided in connec-
       dongle is called STK200 or old Kanda        connection between the dongle and the          tor CON4. LED1 is used as the power
       ISP dongle. With both links in place,       AVR on the target board. Thus, another         indicator for the circuit.




       WWW.EFYMAG.COM                                                                             ELECTRONICS FOR YOU • FEBRUARY 2005 • 101

More Related Content

DOCX
Led chaser
PPTX
LED Chaser /Sequencer
PPTX
IC 4017 Pin Configuration and Its Application
PDF
T 000118--digital ic-tester
PPTX
Remote Controlled Home Appliance
PDF
14849441 rf-wireless (1)
PPTX
Wireless transmission of voice signal using nRF24L01 module
PDF
Digital dice
Led chaser
LED Chaser /Sequencer
IC 4017 Pin Configuration and Its Application
T 000118--digital ic-tester
Remote Controlled Home Appliance
14849441 rf-wireless (1)
Wireless transmission of voice signal using nRF24L01 module
Digital dice

What's hot (20)

PDF
communication interfaces-Embedded real time systems
PDF
Nrf24l01 tutorial 0
PDF
I2c interfacing raspberry pi to arduino
PPTX
I2 c communication protocol
PDF
Remotely Secured Device Automation using Infrared
PPT
Logic Families Electronics
PDF
Report on Mobile Bug
PDF
COVERAGE DRIVEN VERIFICATION OF I2C PROTOCOL USING SYSTEM VERILOG
PPTX
Difference amplifier and subtractor
PDF
UNDERGROUND CABLE FAULT DISTANCE LOCATOR
PDF
Digital logic families
PPTX
I2c protocol - Inter–Integrated Circuit Communication Protocol
PDF
Lpc2148 i2c
DOCX
Water level indicator
PPTX
Differential amplifier
PDF
Heat Sensitive Switch
PPT
Basics of digital ic
PPT
umar yousuf
PPTX
Lec 4 digital electronics - interated circuit technology -characteristics o...
PPTX
Remote controlling of home appliance by moniruzzaman iiuc
communication interfaces-Embedded real time systems
Nrf24l01 tutorial 0
I2c interfacing raspberry pi to arduino
I2 c communication protocol
Remotely Secured Device Automation using Infrared
Logic Families Electronics
Report on Mobile Bug
COVERAGE DRIVEN VERIFICATION OF I2C PROTOCOL USING SYSTEM VERILOG
Difference amplifier and subtractor
UNDERGROUND CABLE FAULT DISTANCE LOCATOR
Digital logic families
I2c protocol - Inter–Integrated Circuit Communication Protocol
Lpc2148 i2c
Water level indicator
Differential amplifier
Heat Sensitive Switch
Basics of digital ic
umar yousuf
Lec 4 digital electronics - interated circuit technology -characteristics o...
Remote controlling of home appliance by moniruzzaman iiuc
Ad

Viewers also liked (15)

PDF
Arm cross development_with_eclipse
PPTX
Fundraiser
PPT
E-Waste
ODP
PPTX
Parallel port programming
DOC
Tutorial básico control puerto paralelo con visual basic 6.0
PPTX
Creative and Profitable Ways to Use Autoresponders
PPTX
Parallel Port
PDF
textile warping
PPTX
Input output ports and connectors
PDF
Listado de funciones en scilab
PDF
רשימת שמירה מרץ 13
PDF
Anti theft alarm for bikes
Arm cross development_with_eclipse
Fundraiser
E-Waste
Parallel port programming
Tutorial básico control puerto paralelo con visual basic 6.0
Creative and Profitable Ways to Use Autoresponders
Parallel Port
textile warping
Input output ports and connectors
Listado de funciones en scilab
רשימת שמירה מרץ 13
Anti theft alarm for bikes
Ad

Similar to Atmel avr isp dongle (20)

PPTX
UNI T 6- SPI_I2C_Lecture8.pptx
PPT
ARDUINO AND ITS PIN CONFIGURATION
PPTX
ATmegaMicrocontrollerArchitecturenotes.pptx
PDF
PPTX
Overview of Microcontroller and ATMega32 microcontroller
PDF
ACCELEROMETER BASED GESTURE ROBO CAR
PPTX
Part-2: Mastering microcontroller with embedded driver development
PDF
DOCX
digital clock atmega16
DOCX
project 3 full report
PDF
Magnetic door lock
PPTX
Bluetooth based home appliances control
PPT
Embedded & pcb design
PDF
arduinoworkshop-160204051621.pdf
PPTX
Ardui no
PPTX
Iot Workshop NITT 2015
PDF
Contactless digital tachometer using microcontroller
PPTX
embedded system on board communication.pptx
PPTX
embedded system on board communication.pptx
PPTX
embedded system on board communication.pptx
UNI T 6- SPI_I2C_Lecture8.pptx
ARDUINO AND ITS PIN CONFIGURATION
ATmegaMicrocontrollerArchitecturenotes.pptx
Overview of Microcontroller and ATMega32 microcontroller
ACCELEROMETER BASED GESTURE ROBO CAR
Part-2: Mastering microcontroller with embedded driver development
digital clock atmega16
project 3 full report
Magnetic door lock
Bluetooth based home appliances control
Embedded & pcb design
arduinoworkshop-160204051621.pdf
Ardui no
Iot Workshop NITT 2015
Contactless digital tachometer using microcontroller
embedded system on board communication.pptx
embedded system on board communication.pptx
embedded system on board communication.pptx

More from viv3ksharma (20)

PDF
Friendly charger for mobile phones
PDF
Flying saucer
PDF
Flashing cum running light
PDF
Flashing beacon
PDF
Fire alarm using thermistor
PDF
Electronic watchdog
PDF
Electronic security system
PDF
Electronic horn
PDF
Electronic bicycle lock
PDF
Dtmf reciever ic mt 8870 tester
PDF
Electric window fence charger
PDF
Drinking water alarm
PDF
Digital stop watch
PDF
Dice with 7 segment display
PDF
Desktop power supply
PDF
Current sensor
PDF
Computerised universal timer
PDF
College quiz buzzer
PDF
Clock timer
PDF
Clap switch
Friendly charger for mobile phones
Flying saucer
Flashing cum running light
Flashing beacon
Fire alarm using thermistor
Electronic watchdog
Electronic security system
Electronic horn
Electronic bicycle lock
Dtmf reciever ic mt 8870 tester
Electric window fence charger
Drinking water alarm
Digital stop watch
Dice with 7 segment display
Desktop power supply
Current sensor
Computerised universal timer
College quiz buzzer
Clock timer
Clap switch

Atmel avr isp dongle

  • 1. CMYK CIRCUIT IDEAS ATMEL AVR ISP DONGLE SANI TH EO EFY LAB grammed is sent on this pin parallel port. 3. SCK (Shift Clock): Serial clock IC 74LS244 (IC1) acts as a buffer as A tmel’s AVR microcontroller generated by the programmer from the well as an isolator circuit when the chips are in-system program- PC. AVR is not in programming mode. In mable (ISP), i.e. these can be 4. RST (Reset): Reset (low pulse) idle mode, all the outputs are tristated programmed directly in the target cir- generated by the program. The AVR so as not to affect the operation of the cuit. A special programmer software is programmed while in reset state. target system. is used to download the program from Here’s a dongle circuit for in-sys- When the AVR’s ISP mode is se- the PC into the AVR’s flash memory. tem programming of Atmel’s AVR chip lected, the lower half of IC 74LS244 Atmel offers a software package called AT90S8515 using such software pack- is enabled, pulling the target system’s the Atmel AVR ISP that allows pro- ages as Atmel ISP 2.65 and Reset line low. Once the target gramming of the AVR microcontrollers PonyProg2000. Though not exactly the system is in Reset mode, the SCK, in the circuit using a simple dongle. A same, a similar dongle circuit can be MISO and MOSI lines are no longer dongle is nothing but an adaptor cable found at the Website ‘www.iready.org/ loaded by the peripheral circuitry, if that connects the PC’s parallel port projects/uinternet/ispdongle.pdf.’ any, on the target system. Now, it is with the ISP pins of the AVR chip for The PC’s parallel-port pins 4 and safe to enable the upper half of programming. 5 drive buffer IC 74LS244 by enabling 74LS244, driving the MOSI, LED and For programming, the four lines re- its pins 19 and 1, respectively. A low SCK lines of the dongle. The RST pin quired from the AVR chip to the ISP pulse on these pins will allow the becomes high after the AVR is pro- adaptor (dongle) are: passing of the serial clock and data grammed. Glowing of LED2 indicates 1. MOSI (Master Out, Slave In): during programming. MOSI, LED, that the AVR is in programming mode. Data being transmitted to the AVR be- SCK and RST outputs are buffered There are two standard connectors ing programmed is sent on this pin from the parallel port’s pins 7, 8, 6 for in-system programming of Atmel 2. MISO (Master In, Slave Out): and 9, respectively. The MISO input AVR microcontroller. One is the 10- Data received from the AVR being pro- from the AVR is fed into pin 10 of the pin header (dual-in-line (DIL) connec- 100 • FEBRUARY 2005 • ELECTRONICS FOR YOU WWW.EFYMAG.COM
  • 2. CMYK CIRCUIT IDEAS tor)) used on the Atmel STK kits. The the dongle is identified as a value- 6-line cable of about 30cm length is other is a 6-pin header (DIL connec- added pack dongle. required for connecting this ISP adap- tor) used in Atmel ISPs. The two loop- Here, we’ve used an 8-pin single-in- tor (dongle) to the target circuit. back connections, pin 2-to-pin 12 and line (SIL) connector and an additional If the AVR is not on the target cir- pin 3-to-pin 11 of the parallel port, are 6-pin SIL connector for the Atmel pro- cuit, you can insert the AVR into the used to identify the dongle. With only gramer circuit. With the buffer and the ZIF socket and program it. Regulated pin 2-to-pin 12 link, the dongle is 40-pin ZIF socket in this circuit, it can be 5V DC is required for the AVR and called STK300 or AVR ISP dongle. used as a standalone programmer. The the associated dongle circuit, whose With only pin 3-to-pin 11 link, the 6-pin SIL male connector is used for terminals are also provided in connec- dongle is called STK200 or old Kanda connection between the dongle and the tor CON4. LED1 is used as the power ISP dongle. With both links in place, AVR on the target board. Thus, another indicator for the circuit. WWW.EFYMAG.COM ELECTRONICS FOR YOU • FEBRUARY 2005 • 101