> 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. The source I sent is the actual operational source for my programmer, which can definitely erase a code protected 16F877. Are the Vpp and Vdd voltages within spec. Note that the allowable Vdd range is narrower for erasing and programming the chip than for verifying it. If I remember right, Vpp needs to be 13V +-.5 and Vdd 5V +-.5. I would want to be closer than +-.5V. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body