Hi Stefan,
the following routines work in my XC167CI-application and I can communication with a 24C1024 (EEPROM).
http://www.keil.com/download/docs/xc16x_i2c_ex.zip.asp
To write 128kB to the EEPROM take very much time (~4 Minutes).
Please send me sources/ drivers who work better under similar conditions.
Thank you very much.