A new version of the serial device programmer PonyProg has been released. It comes with a good-looking Qt based interface. Here are some screenshots and tests.
If you still have an older computer with a motherboard serial port, you may take into consideration building the serial adapter used by PonyProg, because it is easy to build and probably the cheapest programmer possible. The schematic of the interface can be found at the author's page (SI-Prog by Claudio Lanconelli).
Currently, PonyProg only support SI-Prog or other serial based programmers and some parallel port programmers. With serial port, it communicates by bit-banging various protocols to the signaling lines contained in the RS232 interface (RTS, CTR and DTR). It would be nice if a future version would support the modern USB based programmers (like the CH341A MiniProgrammer) which lack a good software.
PonyProg 3.0 main window after reading an I2C EEPROM |
Installation is easy. You have a setup for Windows and a deb package for Linux. The package is designed for Ubuntu 16.04 and uses Qt4, but I had no issues installing it in 17.04. Also, the Linux binaries are for amd64 only. If you're looking for the source code, check the GitHub repo.
Before installing, you need to have access to the serial port. To enable it, add your user to dialout group. In a terminal, run (replace your_name with your username):
sudo adduser your_name dialoutLog out and then back in.
If you don't know how to install deb packages in Ubuntu, after you download the file, you open a terminal in the directory where the file is and run the following commands:
sudo dpkg -i ponyprog-3.0.0-ubuntu16.04-amd64.deb sudo apt install -fThis will install PonyProg and all dependencies. You can start it from your application menu or from command line (ponyprog).
If you want/need to compile from source, start by getting sources from Github. Make sure you also get the forked qhexedit. The easiest way is to use Git. Here are all the commands you need:
git clone --recursive https://github.com/lancos/ponyprog.git cd ponyprog qmake make -j2 sudo make installYou can use qmake-qt4 or cmake . instead of qmake. Note that some errors may occur because of missing development packages. It compiles both with Qt4 and Qt5.
Start PonyProg and follow on-screen instructions and run Calibration then open Interface Setup dialog.
PonyProg 3.0 I/O port setup |
I only tested PonyProg with an I2C EEPROM. I also sampled the protocol with a logic analyzer and it looks pretty nice for a bit-banging approach.
I2C generated by PonyProg 3.0 |
SI-Prog minimal interface |
PonyProg with USB-serial adapter |
Overall, this new release comes with a new interface (which is good news especially for Linux users). Unfortunately, no new programmer is supported.
Many thanks for this. Now I can use my main Linux (Mint KDE ) with Ponyprog so one more thing I can release from my ancient XP pc.
ReplyDeleteI don't do much programming, but occasionally need to upgrade my Avr2560 and Ponyprog has always done this perfectly.
73, Tony
G4CIZ
Merci ces très bon
ReplyDelete