I would suggest finding the interrupt problem first.Originally Posted by Brock
If a write to EEPROM gets Interrupted. It will fail. And, If you are having problems with the interrupts, it could be the cause.
Things to try,
- Disable all interrupts and try to write to EEPROM.
- Disable Interrupts while writing to EEPROM.
- Write to EEPROM, read it back, and if it's different try again. If unsuccesfull after so many tries, Disable Interrupts and try again.
- Use EE_Vars.pbp, and let it do it all for you.
http://www.picbasic.co.uk/forum/showthread.php?t=2444




Bookmarks