USB Programmer Documentation
USB Programmer Documentation
USB Programmer Documentation
Users Manual
Robokits India
http://www.robokits.co.in
[email protected]
WWW.ROBOKITS.CO.IN
Page 1 of 21
Thank you for purchasing the Robokits AVR USB Programmer. This unit has been carefully engineered and
tested to provide superior performance. This document covers the features and operation of the AVR USB
Programmer.
This device is specially designed to work with Laptops/Notebooks which doesn’t have Parallel or serial
port. At full clock speed of 16 MHz of the microcontroller it can program the flash at very high speeds in
STK500 mode. This programmer is supported in STK500 as well as Human Interface Device (HID) mode. It is
supported on all versions of Windows, including Windows Vista and Longhorn, as well as on Linux.
Features
*On some PCs, the programmer can show clock errors while flashing the device, use HID
mode in this case. For Windows Vista and Linux, this device must be used in HID mode.
WWW.ROBOKITS.CO.IN
Page 2 of 21
Supported Atmel AVR microcontroller devices
WWW.ROBOKITS.CO.IN
Page 3 of 21
Jumper Settings
• USB-HID – To connect the programmer in HID (Human Interface Device) mode. If
this jumper is not shorted, the programmer will work in STK500 mode. In STK500
mode programmer will not work under Windows Vista.
• ISP Supply – To power up microcontroller board from USB 5V you can place this
jumper.
• Slow SCK – In STK500 mode, if target microcontroller speed is less than 1MHz place
this jumper.
1. Remove USB-HID jumper. Insert the programmer in the USB port. After inserting the
programmer in the USB port you will get following message.
WWW.ROBOKITS.CO.IN
Page 4 of 21
2. You will get this window asking for appropriate driver. Choose option "No, not this
time" and click next if it asks for searching through Windows Update.
WWW.ROBOKITS.CO.IN
Page 5 of 21
3. Now Choose "Install from a list or specific location (Advanced)", and click next.
WWW.ROBOKITS.CO.IN
Page 6 of 21
4. Choose the path of Robokits CD which contains "Robokits USB Programmer.inf" file. i.e.
"E:", click next.
WWW.ROBOKITS.CO.IN
Page 7 of 21
5. Click "Continue Anyway" option. This driver is not Digitally Signed by Microsoft.
WWW.ROBOKITS.CO.IN
Page 8 of 21
6. Click Finish to complete the wizard. Now your hardware is ready to work.
WWW.ROBOKITS.CO.IN
Page 9 of 21
7. For further customization go to Control Panel -> System -> Hardware -> Device
Manager.
WWW.ROBOKITS.CO.IN
Page 10 of 21
8. Double click "Robokits AVR USB Programmer" to select appropriate COM port and
changing setting. By Default it will take any port available. To select other com port go to
Port Settings -> Advance -> COM Port Number.
WWW.ROBOKITS.CO.IN
Page 11 of 21
Instructions
• STK500 is one of the kits made by ATMEL for learning AVR. It uses STK500V2 for programming the
device.
• For more details about STK500V2 protocol visit www.atmel.com.
• AVRStudio is a free source Assembler, C compiler, Simulator and Debugger.
• It supports the STK500V2 protocol. For high speed programming you need to use this software.
• When you run AVRStudio it will show the following screen.
• Robokits AVR USB programmer assigns a serial port which has to be taken care of. In AVRStudio
auto detect function does not need the previous task to be done. It automatically connects to the
programmer.
• Click on the icon where the cursor is pointing. It will Auto connect the programmer without
specifying any COM port settings if the programmer is present at USB port.
WWW.ROBOKITS.CO.IN
Page 12 of 21
• Once you get the window shown above the programmer is ready to use.
• Select the device and the programming mode ISP / High voltage serial.
• Economy Edition of this product does not support high voltage serial programming.
• For high speed programming, go to Board tab.
WWW.ROBOKITS.CO.IN
Page 13 of 21
• Normally the setting here is for a STK500 protocol and not for STK500V2 so you have to change the
clock settings.
• Set the STK500 Osc: to 3.69 MHz and ISP Freq: 1.845MHz and click on the write tab. You will get the
message shown in the last box.
• This procedure is not required if you don’t want very high speed programming.
• Now you can go to program tab and browse the hex file you want to write in flash and EEPROM and
click program.
• You can set the Fuses and LockBits from the relevant tab.
WWW.ROBOKITS.CO.IN
Page 14 of 21
WWW.ROBOKITS.CO.IN
Page 15 of 21
WWW.ROBOKITS.CO.IN
Page 16 of 21
• After programming the flash you will get the message shown in the last box.
WWW.ROBOKITS.CO.IN
Page 17 of 21
Mode 2: USB-HID Mode (Any Windows version & Linux)
• Before inserting the programmer place the USB-HID jumper. This mode doesent
require any drivers in any operating system.
WWW.ROBOKITS.CO.IN
Page 18 of 21
• After executing the exe file, you should see the following screen.
WWW.ROBOKITS.CO.IN
Page 19 of 21
• After clicking next, software will be installed and shortcut will be created on the
desktop as well as in start menu. You can click Robokits USB Programmer icon to
start the software. You should see the following dialog when you start the software.
WWW.ROBOKITS.CO.IN
Page 20 of 21
Service and Support
Service and support for this product are available from Robokits India. The Robokits Web site
(http://www.robokits.co.in) maintains current contact information for all Robokits products.
Disclaimer
Copyright © Robokits India, 2008
Neither the whole nor any part of the information contained in, or the product described in this manual, may be
adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder.
This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any
particular purpose is either made or implied.
This document provides preliminary information that may be subject to change without notice.
WWW.ROBOKITS.CO.IN
Page 21 of 21