Jinx wrote: >>Can an interrupt that occurs while waiting for write completion >>attempt to read from EEPROM or read/write program memory? >> >> > >AFAIK no manual or EEPROM d/s specifically says you can't >read EE whilst a write is occuring. As the actual write on a micro >is done in h/w on a single byte by a timer/charge pump and doesn't >rely on or affect s/w, maybe you can read other locations during the >~4ms that the write takes. I've never tried that and unfortunately not >able to at the moment > AFAIK, changing EEADR during a write is not good! IIRC, this one caught me last year. The code I posted yesterday definately does work correctly and we have hundreds of units out there working hard all the time. David... -- ___________________________________________ David Duffy Audio Visual Devices P/L U8, 9-11 Trade St, Cleveland 4163 Australia Ph: +61 7 38210362 Fax: +61 7 38210281 New Web: www.audiovisualdevices.com.au ___________________________________________ -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads