is that any connection between timer interrupt and eeprom ???
because when i starting timer interrupt in my code than eeprom write function is not working correctly.
It is the other way round: Interrupts are masked while eeprom programming. Post a project archive to let us see if there is something wrong.