> > WaitEEWriteComplete: > btfss PIR2,EEIF > goto WaitEEWriteComplete You should add bcf PIR2,EEIF to clear EEIF. See if that makes a difference - there may be something in your program that's reacting to EEIF being set outside of the EEPROM routine. The rest of the code looks alright > return -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics