you don't say what chip/osc you are using , consider this
The timing of the I2c instructions is set so that standard speed devices(100kHz) will be accessible at clock speeds up to 8MHz. Fast mode devices (400kHz) may be
used up to 20MHz. If it is desired to access a standard speed device at above
8MHz, the following DEFINE should be added to the program: DEFINE I2C_SLOW 1
also read the data sheet for your eprom re
1. address command size
2 page size
writes that exceed a page in size or cross a page boundary can go wrong
Bookmarks