PIC 16f877 can be interfaced with eeprom 24c04 using I2C. find out more about pic , eeprom, I2C and atleast try n write a program.. if you face any problem we can giv u suggestion for correcting the program.
corect joydeep...u should have some knowledge about I2C , EEprom and interfacing with PIC then only u can understand the code...otherwise u will face problem..