> I have been tearing my hair (not much to pull) out with writing to the > PIC18F1320s Data EEPROM. > I finally went to a routine which repeatedly writes and reads until the > two agree. However, this is taking up to 85 retries and although I now > have a working solution, it is really only working on my bench and I am > not comfortable fielding the product. I I have posted the code here > I am aware of a silicon errata relating to reading EEPROM, but this > doesn't seem to be my problem. What clock speed are you running the 18F1320 at? Are you waiting for any existing write operation to complete before starting a new read or write? ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.