beautypg.com

Upgrading firmware – Pololu USB AVR User Manual

Page 53

background image

2. In the Details tab, select the “Hardware Ids” property in the dropdown box.

3. The first value displayed should be something like

USB\VID_1FFB&PID_0081&REV_0101&MI_04

. The number

after the

REV_

is your revision code. If the revision code is “0001” then you have firmware version 1.00.

Otherwise, your firmware version is determined by inserting a period in the middle of the revision code. For
example, a revision code of “0107” corresponds to firmware version 1.07, while a revision code of “0101”
corresponds to a firmware version 1.01.

To determine the programmer’s revision code in Linux: If you only see only one device with a name matching

/dev/ttyACM*

appear when you connect the programmer to your computer, then you have a special modified

firmware version. If you see two such devices appear, then you have one of the standard firmware versions and you
can determine the exact version number by following these steps:

1. Connect the programmer to your computer via USB.

2. Run the following command:

lsusb -v -d 1ffb:0081 | grep bcdDevice

3. This should output a line that has a number on it. That number is the revision code. If the revision code is
“0.01” then you have firmware version 1.00. Otherwise, your firmware version is the same as the revision code.

Upgrading Firmware

To upgrade your programmer’s firmware, follow these steps:

1. If you have changed any of the programmer’s settings in the configuration utility or with

PgmCmd

, record your

current settings because the firmware upgrade process will reset the settings.

2. Download the desired version of the firmware here:

Firmware version 1.07 for the USB AVR Programmer

[http://www.pololu.com/file/download/

pgm03a_v1.07.pgm?file_id=0J535]

(29k pgm) — released February 29th, 2012. Recommended.

Firmware version 1.01 for the USB AVR Programmer

[http://www.pololu.com/file/download/

pgm03a_v1.01.pgm?file_id=0J316]

(34k pgm) — released December 17th, 2009.

3. Get your programmer into bootloader mode. If you are using Windows and your programmer has the
standard firmware, this can be done by clicking the “Start Bootloader” button in the lower left corner of the
configuration utility.

If you cannot use the “Start Bootloader” button for any reason (e.g. you are using a different operating
system, you have installed a special modified firmware, or your firmware has been corrupted during an upgrade
attempt), then you will need to use the programmer’s bootloader pads to get it into bootloader mode. To do this,
first unplug everything from your programmer. Short out the two bootloader pads highlighted below by touching
them both to a wire, screwdriver, or other conductive tool. While the pads are shorted out, plug the programmer
in to USB. This may take a few tries. You can stop shorting out the pads after the programmer is plugged in to
USB.

The Pololu USB AVR Programmer’s bootloader pads.

Pololu USB AVR Programmer User's Guide

© 2001–2014 Pololu Corporation

9. Upgrading Firmware

Page 53 of 54