POHPIC Software
The host computer software for the POHPIC is written in Perl. I have been using the Activestate port. This port is working great under Windows NT, but it has serious problems reading from the serial port under Windows 95. I have submitted a bug report, but I have yet to hear back from them. This puts a serious limitation on the project, since I am using Perl to create operating system independence.

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.


Back to the POHPIC Table of Contents
This page was last modified 423 weeks ago, on Sun Jan 27 2002.

All information contained on this page is © 1998, Matthew J. Bennett, and may not be reproduced, archived, mirrored, bought, sold, or bartered without express written permission of the Author. Offenders will be forced to endure a variety of punishments, including, but not limited to, Vogon Poetry and waxing my car weekly.