Try to include the support for serial EEPROM device in I2C framework. Currently the I2C framework generated has following functions:
uint8_t I2C_ReadFrame(uint8_t i2cSlaveAddress, uint8_t *i2cReadPointer, uint8_t i2cFrameLength);
uint8_t I2C_WriteFrame(uint8_t i2cSlaveAddress, uint8_t *i2cWritePointer, uint8_t i2cFrameLength);
uint8_t I2C_WriteByte(uint8_t i2cSlaveAddress, uint8_t i2cData);
It is not possible to read the serial EEPROM device using this code. When we want to read the serial EEPROM, we need to first give write packet (containing start address) and then without giving stop condition we need to restart the read sequence.