John, Many thanks for that keen observation, I have no idea where my datasheet came from. The new one is about twice the size and includes the missing line. The read now works but the write is still not working. I'll play with that a bit more before resorting to another posting. Cheers, Roger -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of John Temples Sent: 12 June 2003 22:04 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]:PIC18F458 Data EEPROM R/W example doesn't work? On Thu, 12 Jun 2003, Roger Froud wrote: > There seems to be some confusion in the data sheet PIC18FXX8.PDF as the > diagram 5-1 refers to bit 6 as EEFS in EECON1 whereas diagram 6-1 refers > to bit 6 as CFGS. I suspect you have an old datasheet; there's nothing called EEFS in the current 18Fxx8 datasheet. -- John W. Temples, III -- 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 -- 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