How to use TMP87P809N with any EEPROM so that I can save timer counting of CMOS RAM in EEPROM for backup, I want to save that counting if electricity get failed and restart.
The TMP87P809N is an old microcontroller, rather limited in features, having neither SPI nor I2C on board. It's also OTP, while most controllers today have Flash program memory, so that you can reprogram them. Any reason why you would use that particular controller?
I could not find the TMP87P809 on Digikey (availability problems as well?), but the TMP87P808 is probably comparable and costs USD 6.62! That's Bloody Expensive™. You can easily find microcontrollers with many better features at a fraction of that price, and they will often have the EEPROM on-chip. I would seriously advice against the Toshiba.
Anyway, for a controller without serial interfaces like the TMP87P809N I would suggest to use an SPI EEPROM, as SPI is easier to bit-bang than I2C. The 25AA010 can hold 128 bytes of data.
Recommended Usage of Microchip SPI Serial EEPROM Devices, Microchip AN1040.