Atmel AVR USB ISP HOWTO -
AVR USB ISP Tutorial
using AVR910

 AVR Programming Instructions using AVR-UISP and AVR-UISP-D

 

AVR-UISP / AVR-UISP-D, a USB AVR910 Programmer

The AVR-UISP (a AVR910 Programmer) is ready to use. The only step needed is to install the operation system dependant USB to Serial Bridge.

Installation of USB to Serial Bridge:

1. Download FTDI FT232R USB to Serial Bridge VCP driver

Download source: http://www.ftdichip.com/Products/FT232R.htm

2. Install FTDI FT232R USB to Serial Bridge

Notice: You should use the same port during usage.
Plug the AVR-UISP Programmer into a PC USB port.
Windows Operation Systems detects the new hardware automatically.
Important Information: You have to install both of the 2 FTDI drivers (USB Serial Converter and USB Serial Port (COMx)) during the installation! Just select “ok” and choose driver source path twice.
 

Using AVR-UISP with AVR Studio 4

To use AVR-UISP with AVR Studio the AVR-UISP must have a com port within com1-com4. Otherwise the AVR Studio does not find the AVR910 Programmer.
If you want to change the com port number, use your system hardware manager.

Supply power (2.5V-5.5V) to AVR-UISP device from your target device/board over ISP cable. Plug AVR-UISP device into PC USB port.
Select “Tools->AVR Prog” from the AVR Studio main menu.
If the AVR-UISP device is detected correctly the window “AVRProg” opens in the AVR Studio.
Browse Hex-File, select destination device and use Flash “Program” to flash your AVR device.

 

Using AVR-UISP with avrdude version 5 (Linux)

Supply power (2.5V-5.5V) to AVR-UISP device from your target device/board over ISP cable. Plug AVR-UISP device into PC USB port.

Support of block writes with programmer type "butterfly":
avrdude -p ATmega128 -c butterfly -P com2 -U flash:w:hexfile.hex:i

Standard block write and fuse bit setting with programmer type "avr910":
avrdude -p ATmega128 -c avr910 -P com2 -U flash:w:hexfile.hex:i

On Linux OS you can use the command “setserial /dev/ttyS2 low_latency” for speedup.

 

[SIPHEC home]