> To fully erase the device, you have to make sure the code protection bits > start out 0. Apparently it is the transition from 0 to 1 that erases all > the bits covered by the code protect bits. I implemented the code Olin sent, however it did not affect the outcome of the bulk erase. It seems as if all the sequence is doing is trying to write 0x3fff to the config register. The bulk erase doesn't happen. I can program and read the ID registers so I'm sure my data communication routines are fine. I'm rather stumped as to why the bulk erase doesn't happen. My TLVP programmer is implemented exactly as described at http://www.finitesite.com/d3jsys with the exception of using an HCT373 instead of an HCT573. I rechecked voltages and am getting 5.25V at high. Has anyone had success using this programmer and getting a code protected bulk erase to work with a 16F876? I don't know if this makes any difference or not, but the device ID word is 0x09E4. I just recieved my new batch of PIC's (16F877, 18F452, 18F458) so this isn't as much as an issue since I can use them. However, I would really like to figure out why this doesn't seem to work. Sean __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body