Hi,

Did you try to read out the program memory from the faulty pic? How do you know you really had a problem? Do you have brown out turned on or off?

Sometimes if BOR is off and the pic gets...