HI,
I do not know whether you have solved the problem.
If you are not,
check, whether you have correctly initialize/configure the delay function of your processor.
Check whether there are any noice are in the communication lines.
Are you using correct speed of I2C of the external EEPROM.
Check the writing protocol with the EEPROM datasheet.