Hi all, I have a Microchip serial eeprom 24LC16B connected to an F84. My problem appears to be with the eeeprom. (So, does this fall under OT, EE, or PIC?) Anyway, I can read and write to the eeprom just fine. As long as I write single bytes. I am saving a block of 7 bytes with each write, so I thought I would use the 'page write' mode. However, the page write mode appears quirky. Sometimes it places the correct data in the correct address. Other times, it places the data in the wrong address. All the sending/receiving of bytes, ACKs and NACKs, START and STOP bits are generated by subroutines. In other words, the code for writing a single byte uses the same routines as writing seven bytes. Writing one byte works. Reading 7 bytes works, writing 7 does not. Is there a known problem here? Incomplete documentation? Or am I doing things wrong? I positive I am following Figure 4-2 of Microchip's datasheet. The text says 'up to 16 data bytes' can be written, so I assume sending just 7 works. Or does it have to be exactly 16? If anyone has any clues on this, please let me know. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.