PICPrg is a fast Linux command line (or ncurses) program, to program any Microchip PIC microcontroller using the PC parallel port interface. Any parallel port PIC programmer hardware can be used, simply edit the configuration file or use the ncurses configuration menu.
This project was originally created and managed by Brian C. Lane, however Luke Cole has now taken over the project and since have re-implemented all the core functions to provide a more efficient programmer and provide full functionality for any Microchip PIC microcontroller. Please see the latest release notes below for a more detailed description of the changes.
root@localhost:~>less ~/.picprgrc port=1 vpp=+6 vdd=+4 clock=-3 datao=-2 datai=-10 idaddr=2000 eeaddr=2100 cfaddr=2007 colors=1 PIC_size=2000
tar xvfz PICPrg-3.0.tgz
cd PICPrg-3.0
make
make install
PICPrg file.hex
The latest version can always be found within DROS at http://dros.org under: DROS/src/Equipment/PIC/PICPrg/
Alternatively you can click here to download the standalone version PICPrg-3.0.tgz.
Fixed problems with programmers that use open collector outputs, like the PIC-1 from ITUtech.
GNU provide two packages gputils, for compiling assembly programs and gpsim provides simulation features. Also available within the Debian/Ubuntu package tree.
Hi-Tech provide a free (but limited) C compiler called PICC Lite. If you require other devices, it is recommend you buy the expensive PICC/PICC18 ($950USD). CCS is much cheaper ($175USD), but not as flexible and gcc-like as the Hi-Tech version. Otherwise code up a nice free PIC C compiler for us all.
piklab-prog is a good command line program that supports many USB and Serial programmers, such as the Microchip MPLAB ICD2 ($190USD) and gpsim. Visit http://piklab.sf.net for more information.
NOTE: Currently it is recommenced you download the development source via svn.