Re: EEPROM Saving Issue
From my experience 99.9% of EEPROM issues (or bootloader issues) are due to software bugs or hardware ...I mean the PIC itself is not defective. I have seen software running well for several years and suddenly some failures
As we don't know your operating conditions, let me give you some hints where to look :
1/ Does your system monitor power supply (detect power failure ? how is it done ?)
2/ if this case is possible in your system, does your system detect unforeseen power supply failure to stop writing EEPROM while power supply goes down ?
3/ Have you changed any component around the PIC ?
4/ Do you have a software mechanism to garantee that your write operations are validated after being done (checksum, flags,...) ?
5/ If you have some flag or some variable to indicate a change in EEPROM, how do you make sure that it is in line with the changes if power fail just before updating this variable ? (like writing to double location a vairable, one time before starting the changes and one time after so that when you reboot both should be the same to ensure that the change was properly done...