I have completed the first version of the perl code that works under Linux. It will read, write, and production verify.
Here's what the program thinks it can do:
pohpic -h
POHPIC V0.1a: Author Matt Bennett, http://www.hazmat.com/~mjb/contact/
Usage:
Parameters:
-h -- What you are seeing right now.
-d DEVICE -- program device type DEVICE
-r FILENAME -- read contents of PIC into FILENAME, fails if FILENAME
exists, unless -o flag is included
-o -- overwrite FILENAME if FILENAME as specified in -r exists
-w FILENAME -- write contents of FILENAME into PIC
-c YES_REALLY_PROTECT -- really write the code protection, if
FILENAME specifies it
-p -- perform production level verify
-q -- be quiet
-v -- be verbose (default)
-b -- verify part is blank before programming
-e -- erase program memory (flash device only)
-E -- erase data memory (flash device only)
-x -- remove code protect and erase data (flash device only)
You can get a copy of the the perl code (tested under Linux)
here. It only supports the 16C71 and 16F84 right
now, since that is all I have to test it with. By adding a few lines of
code to set a few parameters
it should be possible to have it program any of the mid range PIC devices.