In message , Richard Prosser writes >Dave, > Atmel had a problem with some of their AtMega chips. They recommended >that the first EEPROM location not be used. IIRC it could get >corrupted when the chip power supply died or glitched. > >Have you tried using a different address? Or perhaps writing to a few addresses (which I appreciate may alter the problem in itself but...) to try and isolate a code problem from a hardware problem? > >RP > -- Clint Sharp -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist