> I'm using a low voltage programmer, so Vpp = Vdd = 5.25V. Is the low voltage programming enable bit set. > The 16f87x memory programming > datasheet (DS39025F) doesn't explicitly state that LVP mode is able to do a code > protected bulk erase, however it does say that other than the lower Vpp voltage and > dedicating RB3 to programming, "All other specifications for high voltage ICSP apply". > > I'm beginning to think that maybe the code protected bulk erase needs Vpp at the high > voltage level (Vdd + 3.5) rather than the low voltage level (Vdd) as provided by my > programmer. I'm going to modify my TLVP to use a higher Vpp (make it a THVP) and see if > that solves the problem. Have you (or anyone else for that matter) found any > documentation that says LVP mode can or can't do this kind of erase? I thought you couldn't erase code protected memory with low voltage programming, but I just checked the spec and found the same thing you did. I don't have any experience with low voltage programming. My programmer always uses high voltage. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu