Professional Documents
Culture Documents
ver 2
1
Table of Contents
1. Introduction............................................................................................... 3
1.1 Specifications...................................................................................................... 3
1.2 Supplements........................................................................................................ 3
1.3 Suggested System.............................................................................................. 3
3. LED Indicator............................................................................................. 4
5. Configcuration Example........................................................................... 14
5.1 AVR Studio........................................................................................................... 14
5.2 CodeVisionAVR................................................................................................... 14
5.3 AVRDUDE............................................................................................................. 15
5.4 BASCOM-AVR..................................................................................................... 16
6. Troubleshooting Guide............................................................................. 17
2
1. INTRODUCTION
Congratulations! You have a DT-HiQ AVR USB ISP mkII now!
DT-HiQ AVR USB ISP mkII is an In-System Programmer (ISP) for 8-bit RISC
AVR® microcontroller. This programmer can be connected to the PC via USB
interface and draws power from target board. DT-HiQ AVR USB ISP mkII can
be used along with AVR Studio©, CodeVisionAVR©, AVRDUDE© (WinAVR™),
BASCOM-AVR©, and other softwares that supports ATMEL AVRISP MKII (USB)
protocol.
1.1. SPECIFICATIONS
The DT-HiQ AVR USB ISP mkII specifications are as follows:
● Uses ATMEL AVRISP MKII (USB) protocol.
● Can be used on all types of AVR which has an ISP feature.
● Operates at target voltage of 2.7V – 5.5V.
● USB to PC Interface.
● Draws power from target board. Does not require a separate power
source and is safe for the PC if there is a short circuit on the target board.
The full list of supported AVR depends on the software used. Always update your
softwares (AVR Studio, CodeVisionAVR, BASCOM-AVR, AVRDUDE, etc.) to
make sure it supports the latest AVR.
1.2. SUPPLEMENTS
Each DT-HiQ AVR USB ISP mkII package contains:
● DT-HiQ AVR USB ISP mkII.
● USB cable.
● CD/DVD-ROM media.
Software:
®
● Windows XP or Vista operating system.
© © © ©
● AVR Studio , BASCOM-AVR , AVRDUDE , atau CodeVisionAVR .
● The files included in the CD/DVD:
AVRDUDE©, WinAVR™, AVR Studio©, libusb installer, part description
update for AVR Studio (AT90USB1286.xml, AT90USB1287.xml,
ATmega1280.xml, ATmega8515.xml, & ATmega8535.xml), TARGET
BOARD DESIGN GUIDE for AVR.PDF, dan DT-HiQ AVR USB ISP MKII
MANUAL.
Notes:
Part description update files (AT90USB1286.xml, AT90USB1287.xml,
ATmega1280.xml, ATmega8515.xml, & ATmega8535.xml) in CD/DVD can be
copied to folder Program Files\Atmel\AVR Tools\Partdescriptionfiles\ (default
installation location, change it if the installation location is changed).
3
2. ISP PIN CONNECTOR CONFIGURATION
The pin configuration uses Atmel's standard 10-pin ISP header.
1 2
MOSI VTG
LED GND
RESET GND
SCK GND
MISO GND
Because the DT-HiQ AVR USB ISP draws power from target board, make sure
the target board can supply enough power to DT-HiQ AVR USB ISP mkII. The
DT-HiQ AVR USB ISP mkII requires a maximum current of 50mA @ 5.5V.
3. LED INDICATOR
There are 2 LED indicators on the DT-HiQ AVR USB ISP mkII which are POWER
LED and STATUS LED. The POWER LED indicator is used to indicate whether the
power source has been connected to the VTG and GND pin or not. If DT-HiQ
AVR USB ISP mkII has received power from the target board, then the POWER
LED will light up.
The STATUS LED indicator is used as indicator of DT-HiQ AVR USB ISP mkII's
current status. If DT-HiQ AVR USB ISP mkII is in idle status and ready to receive
orders from the PC, then the STATUS LED will light up.
4
4. AVR STUDIO INSTALLATION
Before using the DT-HiQ AVR USB ISP mkII, the USB driver (included in AVR
Studio) must be installed first. The steps for AVR Studio installation are as
follows:
● Disconnect DT-HiQ AVR USB ISP mkII from computer.
● Run AvrStudio4Setup.exe and then click Next.
● Select “I accept the terms of the license agreement” and then click Next.
5
● Change destination location in needed and the click Next.
● Click Install.
6
● Wait until installation is finished.
● Click Next.
7
● Select “I accept the terms of the license agreement” and then click Next.
8
● Click Install.
9
● Click Finish to end AVR Jungo USB installation.
10
● Click Finish to end the installation.
● After the driver installation process succeeded, then every time DT-HiQ
AVR USB ISP mkII is turned on and connected to PC via USB port, a device
called the “AVRISP mkII” will appear.
● Install libusb driver so that DT-HiQ AVR USB ISP mkII can be accessed by
AVRDUDE or other softwares using libusb protocol to access AVRISP MKII
type programmer.
● Make sure AVRISP MKII driver has been installed successfully before
installing libusb driver.
● To install libusb driver, open folder “libusb-win32-bin-1.2.4.0\bin\” and
select the correct architecture (choose x86 folder for 32 bit OS). Rename
“libusb0_x86.dll” to “libusb0.dll” then copy it to System32 directory
11
(Windows\System32). Copy “libusb0.sys” to drivers directory
(Windows\System32\drivers). And then run "install-filter-win.exe".
● Select "Install a device filter", then click “Next”.
● If DT-HiQ AVR USB ISP mkII is turned on and in idle condition, then AVRISP
MKII option will appear. Select that line/device and then click “Install”.
12
● If libusb driver installation process succeeded, then the following window
will appear:
● After this installation, DT-HiQ AVR USB ISP mkII will be able to be accessed
by softwares based on Jungo AVRISPMKII driver or libusb driver (such as
AVRDUDE).
13
5. CONFIGURATION EXAMPLE
5.2. CodeVisionAVR
To start the configuration, select menu Setting → Programmer.
14
Select AVR Programmer type: Atmel AVRISP MKII (USB).
5.3. AVRDUDE
AVRDUDE is an open source software that can be run using command line.
AVRDUDE is usually included in WinAVR installation package. To access DT-
HiQ AVR USB ISP mkII from AVRDUDE, select programmer type (parameter -c )
avrispmkii or avrisp2, and select port (parameter -P) usb. Other parameters
can be set according to chip type and desired process.
WinAVR:
• copy avrdude.exe to folder …\WinAVR-xxxxxxxx\bin\
• copy avrdude.conf to folder …\WinAVR-xxxxxxxx\bin\
15
5.4. BASCOM-AVR
To start the configuration, select Options → Programmer. Select programmer
type: “External Programmer”.
BASCOM-AVR can use AVRDUDE as its programmer. Thus, arrange the location
of AVRDUDE. In the previous figure, the location is at “C:\WinAVR-
20100110\bin\avrdude.exe“.
16
6. TROUBLESHOOTING GUIDE
♦ Thank you for your confidence in using our products, if there are difficulties, questions,
or suggestions regarding this product please contact our technical support :
support@innovativeelectronics.com
17