Simon Lavallin wrote: > I have accidently code protected two 16F877's and dont know how to > disable code protection. First, use a reasonable subject line. Just putting [PIC] there doesn't help anyone know what it's about in a short listing. Second, you don't need specifically disable code protection. Code protection is removed during a bulk erase, which any programmer should do before programming the new code into a PIC. All you have to do is change the CONFIG bits so that code protection is off and reprogram the PIC. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist