Professional Documents
Culture Documents
pk
ET-AVR JTAG (RS232) V1.0
AVR-JTAG (RS232) V1.0
User’s Guide
DigiSoft’s AVR-JTAG is an Embedded Board designed to download HEX File and debug
program for AVR family of MCUs from Atmel through JTAG Interface. It can only be used with
AVR MCU that has JTAG Interface and the board is fully compatible to AVR Studio.
Specifications
1. AVR Studio® Compatible
2. Supports all AVR Devices that has a JTAG Interface
3. Emulates all Digital and Analog On-chip Functions
4. Break on Change of Program Flow
5. Data and Program Memory Breakpoints
6. Supports Assembler and HLL Source Level Debugging
7. RS-232 Interface to PC for Programming and Control
8. Support Real Time debugging.
9. Be able to upgrade Firmware through Program AVR Studio 4 for using with new MCU
10. Be able to use with Power Supply between 4.5V- 5.5V.
11. Takes power from Target Board.
12. LED for operation status of Power, Active.
Supported Microcontrollers
− ATmega16 , ATmega16L
− ATmega162 , ATmega162L
− ATmega169 , ATmega169L , ATmega169V
− ATmega32 , ATmega32L
− ATmega323 , ATmega323L
− ATmega64 , ATmega64L
− ATmega128 , ATmega128L
− AT90CAN128
It uses only TCK, TDO, TMS, TDI, VCC and GND for connection. It is not necessary to
connect VTref (Internally it is connected to VCC)
Down Loading Hex File, Modifying Fuse bits and User EPROM through AVR-JTAG
1. Open AVR Studio and it will display Window of Welcome to AVR Studio, click Cancel to
close this window.
3. After that it will display window of Select AVR Programmer as in the picture below, select
Platform as JTAG ICE and Port that is connected with DS-AVR-JTAG and then click
Connect…
AVR-JTAG User Manual www.digisoft.com.pk
4. If AVR Studio can connect with DS-JTAG AVR, it will display window of JTAG ICE as in
the picture. Select ATmega16 from Dropdown Box of Device.
5. Type the file name with complete path in Input HEX File or browse through browse button.
and specify name and address of HEX File completely. In blank of Programming Mode, select
as Erase Device Before Programming, it uses to erase data before programming and select as
Verify Device After Programming, it uses to verify data correctly or not after programming
completely.
6. In case of not to adjust any default values of Fuses and LockBits, can press Program button to
program Hex File into MCU instantly. Because default values of Fuses and LockBits is
programmed before, so it are not erased with program. If user want to adjust default values of
Fuses and LockBits, can adjust
AVR-JTAG User Manual www.digisoft.com.pk
7. If there’s not any mistake in programming Hex File into MCU, it will display the message as in
the picture.
8. To adjust default value of Fuses and LockBits, select Fuses and LockBits to setup and program
after as in the picture.
AVR-JTAG User Manual www.digisoft.com.pk
To debug code running in ATMEGA 16, the user has the option to insert a break point anywhere
in the code, Run the program till the cursor, break, or single step the code. Whenever the
execution halts due to any break condition, AVR studio reads all the required information from
the MCU like Register contents, Data Memory, status of the different peripherals and values of
the program variables. The user has the option to change any of the desired value and continue
the execution of the code. Using the information provided by AVR Studio about the user
program, user can locate the bug if anything going on wrong.
To start debugging, compile the current project (you may have to load it or create it first), and
then select start debugging from debug menu.
For further information and in-depth working og the AVR-JTAG, consult AVR JTAG user guide
from ATMEL.