Verify the chip and see if there is a common theme. You can disable flash writing in the config fuses - try that and see if the problem still happens, if not then your program is almost certainly writing to the flash by accident. This is very hard to do accidentally so you may have made a mistake in writing to data EEPROM. Robin Abbott Forest Electronics - Home of WIZ-C ANSI C Compiler for PIC's with RAD Front end robin.abbott@fored.co.uk www.fored.co.uk -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Andre Abelian Sent: 16 November 2007 18:07 To: Microcontroller discussion list - Public. Subject: [PIC] PIC looses it's program memory Hi to all, I use pic18f4550 and I noticed that the pic looses it's program memory I am not sure how many % but it is enough to see things are not working and this is my 3rd time I started doing hardware trouble shooting and I ended up reprogramming pic fixed the problem. The only possibility is the part got over heated while soldering. any idea? thanks Andre -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist