Using PonyProg to program AVR Processors

Sections

  1. Overview
  2. Downloading and Installing PonyProg
  3. Configuring PonyProg
  4. Testing and optimizing your configuration
  5. Programming an AVR processor on an AVRmini board using PonyProg

If the installation and configuration of PonyProg has already been done for you, you can skip directly to section 5.

Written by Pascal Stang | Updated: Wed Apr 02, 2003

1. Overview

PonyProg is a free open-source device programming utility written by Claudio Lanconelli. PonyProg exists in Windows and Linux versions and is capable of programming and reading a huge variety of devices including PIC, 8051, and AVR microcontrollers, serial EEPROMs, and more. PonyProg can use a standard RS-232 serial port, or a parallel (LPT) port to talk to most devices. A small amount of interface hardware is necessary to go between the serial or parallel port and your target device. See Claudio's PonyProg site for details and schematics of simple interfaces. For more information about PonyProg, see Claudio Lanconelli's PonyProg Page.

NOTE: The remainder of this document assumes you are using PonyProg to program an AVR processor using an AVRmini board (or using an AVRmini interface you've build yourself).

2. Downloading and Installing PonyProg

PonyProg is available from several sites on the web because it is a free open-source program. You can get full details about the available versions of PonyProg from Claudio Lanconelli's PonyProg Page. However, it's highly recommended you download the currently supported version of PonyProg from the RSL AVR Software Page.

Download PonyProg from:

Installing PonyProg

PonyProg is extremely easy to install. Unzipping it reveals a single setup file. Run the setup and use the default installation directory. You can delete the setup and zip files after the installation completes.

3. Configuring PonyProg

The first time you run PonyProg you will need to configure the programming interface, calibrate for the speed of your computer, and test to make sure your settings work.

4. Testing and optimizing your configuration

NOTE: You will need a working AVRmini board with AVR processor to perform the testing and optimization.

5. Programming an AVR processor on an AVRmini board using PonyProg

The following is a quick reference on how to load a program into an AVR processor using PonyProg.

Once you have opened your *.hex file for the first time, you can automate the above process by doing the following:


Written by Pascal Stang | Updated: Wed Apr 02, 2003