I am trying to write the routine to store the char, int, float datas in the serial eeprom 24FC512 and read back the written values using random read method.
My problem is sometimes only the data is written properly and read back corretly.
I dont know what is the reason behind the wrong writing and reading.
But my I2C_Read, I2C_Write, I2C_Start,I2C_Stop works well with my RTC DS1307.
Idont know why the problem is coming with EEPROM?
Can anybody give me a suggestion?