icdprog - a programmer for Microchip PIC controllers.

http://icdprog.sourceforge.net/

ICDPROG is a simple command line programmer for Microchip PIC controllers,
using the Microchip ICD (in circuit debugger) as a programmer.

ICDPROG is primarily written for linux, but it should be easy to port to
other architectures, since it uses POSIX for serial port handling. The
program is written for command line usage. I use the hitech picc
compiler and gnu make, so I wanted a simple command line programmer
which I can run from gnu make on my linux system.

This program is covered by the GNU GPL license, see http://www.gnu.org/

FEATURES
 * Works with PIC16F87x, x = [0,1,2,3,4,6,7] (3,7 is well tested ... )
 * Reads intel hex format
 * Auto-detects controller type

INSTALLATION
This is beta software, so you have to compile it yourself. This is
simple:

    cd src
    make


The programmer works faster if you set the low_latency flag on the serial
port with setserial. You need root access to do this.


    setserial /dev/ttyS0 low_latency


run the program with

    ./icdprog <hex file>

or

    ./icdprog -p /dev/ttyS1 <hex file>

if you connect the ICD to serial port #2


TODO
* Better documentation, and web page
* Add EEPROM programming support
* Add verify mode (but it verifies during programming)
* Better error checking
* Set the fuse bits from the command line
* Windows port (I need this for our production environment)
* Check sum calculation
* Binaries (I am running RedHat so a RPM would be nice ...)
* gdb support :-)  /* sorry, I am dreaming again ... */


MICROCHIP
If you have any problems with this software, please don't bug Microchip
with them. This software was written without any help from them
(it would have been much easier if they had released the specification
of the ICD..). Use the sourceforge forum instead.

CHANGELOG
ver 0.3 Cleaned up reading of Intel hex files, now works with files
	with MS-DOS line terminations.
ver 0.2	Initial release on sourceforge.
ver 0.1	First version that could do anything useful ...


CREDITS
Geir Thomassen, geirt@powertech.no
