Ponyprog Usb To Serial

If you are looking for a simple but powerful programmer you are right, it's here.
PonyProg is a serial device programmer software with a user friendly GUI framework available for Windows95/98/ME/NT/2000/XP and Intel Linux. Its purpose is reading and writing every serial device. At the moment it supports I²C Bus, Microwire, SPI eeprom, the Atmel AVR and Microchip PIC micro.
SI-Prog is the programmer hardware interface for PonyProg.
With PonyProg and SI-Prog you can program Wafercard for SAT, eeprom within GSM, TV or CAR-RADIO. Furthermore it can be used as a low cost starter kit for PIC and AVR.

Become the first manager for PonyProg: serial device programmer. Vulnerabilities per Version ( last 10 releases ).

PonyProg works also with other simple hardware interfaces like AVR ISP (STK200/300), JDM/Ludipipo, EasyI2C and DT-006 AVR (by Dontronics).
  • PonyProg: a powerful but simple serial device programmer with a GUI framework for Linux and Windows.
  • Jaguar98 wrote: Well, I haven't tested USB to SERIAL with pony prog yet.But I did tests in my work with that FTDI chip, and it detected as a COM PORT, which is good, because the windows apps detected that COM port. Last Of The Mohicans 2 there. With USB to LPT adapter, Windows don't even recognized as a LPT port.Just a 'Virtual printer Port'.
  • Download PonyProg for Linux - PonyProg is a serial device programmer with a user friendly GUI framework available for Intel Linux and Windows.
0diggsdigg
PonyProg is a great software for flash memory programming. It supports a great variety of microcontrollers and other devices. Before using it you should check if your device is supported on theOfficial PonyProg 2000 Homepage. PonyProg 2000 is constantly updated and new devices are added.
The latest version is available on the Download Page.


So After you download and install it, you have to configure it for your hardware.
Go to >> 'Setup' >> 'Interface Setup'
Click on “Serial” if you are using AVR Serial port Flash programmer or “Parallel” if you are using AVR Parallel port Flash programmer. Next select “SI Prog I/O” (in case of serial) or “AVR ISP I/O” (in case of parallel).
Now click on “Probe” to check if your hardware is connected and working. If it says “Test Passed” it means your hardware is working with the configuration. If it says “Test Failed”, it means there is a fault in above configuration or your hardware.
Now click “OK”.Serial
Then go to >> “Setup” >> ”Calibration”. Click “Yes” on the next message box and wait for the “Calibration OK” confirmation.


ConverterNow Select “AVR micro” from the list of devices and select your AVR device from the next drop box.


Now load your hex file from the “Open Program Flash Memory File” button (1).
Then program the microcontroller by pressing the “Write Program Memory” button (2).
The Fuse bits of AVR microcontroller can be read and set by pressing the button with the lock (3).
Update: Its not always a good idea to use the latest version of PonyProg. I once updated from an older version and it started giving me 'test failed' errors. So I went back to the older version and began working again. Latest versions are sometimes buggy so you should wait a while before updating.
If anybody wants any help with this stuff, just drop a comment or 'Contact me'. I'll be happy to help.

Ponyprog

All the development on TrxAVR-Picastar used an Atmel AVRISP2 USB programmer (cost £30 + VAT from Farnell)

Ponyprog is an alternative programmer.

The software can be downloaded free of charge from: http://www.lancos.com/ppwin95.html

To program the Atmega2560, you must download and install version 2.07c beta or later
and then run PonyFix.exe.

PonyFix.exe simply replaces the PonyProg application file, PonyProg2000.exe with a modified version.
The modifications were carried out by Gerard Sexton, VK3CG.
The ATmega2560 has 256k of program memory. When we passed the 128k mark, we had to take some control
of where the different program modules were located in memory. This was done in order to ensure that all
functions that were referenced by 16 bit procedure pointers were in the lower 128k. The relocation resulted
in some modules being located in
their own code section in memory above the 128k mark..
PonyProg could not cope with this sectioned code above 128k. Gerard fixed it so that it did cope
(Internet searches revealed that we were not the only PonyProggers to have encountered this problem.)

The modified source code for this fix is in: PonyProg2000-2.07d.zip
By making this source code available here, we comply with the terms of PonyProg's GNU licence.

PonyProg hardware

A suitable serial port programmer circuit ican be found at:

http://www.olimex.com/dev/images/avr-pg1b-sch.gif:

I have designed a single sided pcb for this circuit which you can download:

Serial programmer layout (pdf)
Serial programmer copper etching mask(pdf)

This board can carry the 10 pin IDC or the 6 pin IDC programming connector.
Use the 6 pin (The circuit shows a 10 pin connector)

Make sure that you use a DB9 pin right angled female connector that has the correct pin layout for the baord.
(I have found two variants.)

Programming instructions

Install Ponyprog. Run PonyFix.exe. Run PonyProg

Connect the programmer to your serial port and to TrxAVR-Picastar's programming socket.

Power up TrxAVR

Click Menu | Device | AVR micro and select ATmega2560

Click Menu | Setup | IO interface The window shown below appears

Make sure it is set to your selected COM port and is otherwise as below

Click Ok to save

Click Menu | Setup | Calibration Click Yes to proceed and expect a successful calibration

Click Menu | Command | Security and Configuration bits The window below appears

Set the check-boxes as shown above and then click Write to send these settings to the ATmega2560.
Click OK to exit

Click Menu | Command | Write program (FLASH)

Set the check boxes as above (Hobcat will write the EEPROM later)

Click OK programming will begin

The programming progress bar will reach about 30% after a minute of so and then will jump
to 50%. It will then steadily advance to about 75% and then jump to 100%. The verify process
will then begin. The verify progress runs 0% to 100% and so takes longer.

Encoders8

If you are using Encoders8 (built into TrxAVR-B) then you need to program the ATmega2560 in Encoders8.

Then go to Testing the processor and USB at the end ofSetup 3 - programming

PonyProg - more explanation

We have advised setting the option to erase before programming. Erase sets every byte of the 256k flash
memory to 0xFF (ie: hexadecimal FF = decimal 256 = binary 1111 1111).
Note that we have advised setting the fuse to prevent erasing the internal EEPROM.

PonyProg first loads the .hex file into PC memory as follows:
It first allocates a block of memory the size of the device's flash memory (ie 256K for the 2560/1).
It then sets all of this 256k block to 0xFF.
It then places the code from the .hex file into this memory block at the places specified in the .hex file (Intel format).
So when it goes to program the device it is always working from a complete 256K buffer that matches the 2560’s flash.

When programming, PonyProg programs every block that is not “blank” ie set to 0xFF.
Blocks of 256 bytes which are 0xFF are skipped because that is the default state of the flash after an erase.

When programming TrxAVR, the status bar behaviour corresponds to where we have located the code in flash memory.
It moves slowly to around 30%, jumps to 50%, moves slowly to around 75% then jumps to verify.
( When doing the Encoders8 code, it will jump almost immediately to verify as there is very little code.)

In the verify stage, the same 256k PC memory block is used to verifie the device against.
The verify DOES work – however, it does assume you have an ERASED flash to start with
– if it is not erased, then it is likely that the verify will fail.
The verify process will go through the entire 256K of flash before reporting its result
and at present takes nearly twice as long as programming.

We therefore recommend that the flash is always erased before or as part of the programming sequence.
It is a chip erase and is VERY quick. As we have set the EESAVE fuse, the eeprom on the AVR chip will not be erased.

Ponyprog Usb To Serial Driver

Doing this means that the verify WILL verify the correct programming of the AVR chip.
(However, it does take quite a while – several minutes.
Glenn reports a total elapsed time of about 10 minutes with his programmer).