>-----Original Message----- >From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] >On Behalf Of Simon Lavallin >Sent: 15 November 2004 09:16 >To: piclist@mit.edu >Subject: [PIC] > > >I have accidently code protected two 16F877's and dont know >how to disable >code protection. >I am using Tony Nixons Micro Pro Programer And Rom Zap. >I thought of programing code into Rom Zap and hard wiring to >the F877 to disable code protection. Page 10 of Microchips >Data Sheet DS30925B explains how to disable code protection >but I am Not experienced enough to Write the code to enable >the chip to enter a load Command and then the >configuration >commands. Executing a bulk erase should remove code protection (as well as everything else in the PIC). Does the programming software have an option to "erase flash" or simmilar? Regards Mike ======================================================================= This e-mail is intended for the person it is addressed to only. The information contained in it may be confidential and/or protected by law. If you are not the intended recipient of this message, you must not make any use of this information, or copy or show it to any person. Please contact us immediately to tell us that you have received this e-mail, and return the original to us. Any use, forwarding, printing or copying of this message is strictly prohibited. No part of this message can be considered a request for goods or services. ======================================================================= _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist