POHPIC Firmware

Here's a brief summary of the commands the programmer interprets:

Command function argument returns
s start programming an EPROM device none nothing
f start programming a flash device none nothing
r read data at current address none data
p program data into program memory at current address 2 hexadecimal bytes of data to be programmed 2 hexadecimal bytes indicating how many programming cycles it took to program device, or 00FFh if programming was unsuccessful
P program data into data memory at current address 2 hexadecimal bytes of data to be programmed (only 2nd is significant) 2 hexadecimal bytes indicating how many programming cycles it took to program device, or 00FFh if programming was unsuccessful
c enter configuration area (address 2000h) none nothing
e erase program memory none nothing
E erase data memory none nothing
5 set Vdd to 5V none nothing
l set Vdd to Vlow none nothing
h set Vdd to Vhigh none nothing
X remove code protect and erase data, must not already be in configuration area none nothing
g goto address address to go to (not implemented)

Here's a sample session with the programmer. Take note, the commands are case sensitive.

POHPic 0.91b
Ready to start
>s [Start the programmer into EPROM mode] 
Ready to program
A0000 Ready
E>r
D3FFF
A0000 Ready
E>p03AC
C0004  [the number of programming cycles done] 
A0001 Ready
E>i
A0002 Ready
E>i
A0003 Ready
E>i
A0004 Ready
E>p01F00  [note the extra zero- the data is just truncated] 
C0004
A0005 Ready
E>q
POHPic 0.91b
Ready to start
>r  [this is an invalid command for the idle mode] 
Error: unknown command
Ready to start
>s
Ready to program
A0000 Ready
E>r
D03AC
A0000 Ready
E>i
A0001 Ready
E>r
D3FFF
A0001 Ready
E>i
A0002 Ready
E>r
D3FFF
A0002 Ready
E>i
A0003 Ready
E>r
D3FFF
A0003 Ready
E>i
A0004 Ready
E>r
D01F0  [From above, the data was truncated] 
A0004 Ready
E>c
A2000
A2000 Ready
E>r
D3FFF
A2000 Ready
E>r
D3FFF
A2000 Ready
E>i
A2001 Ready
E>i
A2002 Ready
E>i
A2003 Ready
E>i
A2004 Ready
E>i
A2005 Ready
E>i
A2006 Ready
E>i
A2007 Ready
E>r
D3FFF
A2007 Ready
E>q
POHPic 0.91b
Ready to start
>

Back to the POHPIC Table of Contents
This page was last modified 362 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.