On the "F" parts, you only need to reprogram the chip without code protection. You should be able to hit "program" to reprogram the chip. The code protect bits are set in the source code file or in the "configuration bits", it should be in the same general menu as setting which clock method you are using, power on timer, etc. Jeff At 03:54 PM 1/6/02 -0800, you wrote: >David, > >It is a 16F876. How do you do a bulk erase on MPLAB. I have been trying to >figure out what I did >to code protect it and it says "code protection all" does it mean that the >chip is useless and I >can not use it anymore. My understanding from the data sheet that there >are three memory areas -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu