On 8/12/2014 11:53 AM, Mike wrote: > Do you have the BOREN config bits set so that the BOR can't be over-ridde= n > by software? Do you also have the power-up timer enabled? Yep. > Since you aren't writing anything, do you keep the WREN bit clear at all = times? No, not explicitly. Default on the EECON1 register is to have WREN off,=20 but I can still force that in my init routine. > Some of the older AVR devices were a prone to EEPROM corruption during po= wer > cycles. On a project I worked on some years ago I reserved EEPROM address > 0x0000 and made sure the address registers were always set back to 0x0000 > after any access which seemed to greatly reduce the chance of corruption > occurring. Hmmm... interesting idea, which I can try easily. I'm going to setup a=20 relay on a 0.1-Hz output from a function generator to see if I can=20 reproduce the issue with repeated power on/offs, and then I'll see if=20 these changes make any difference. > Mike > Much thanks, -Neil --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .