I used AT89S52 uC in an equipment for Automatic Water Pumping Control. When one of the units stopped functioning, I had to replace the uC. But the old uC was found OK after re-programming. Is this because of any program corruption? If so, should I take any precautions for that?