I am interfacing AT24C1024 (2 Nos.) EEPROM using I2C1 (channel 1) port of LPC2378 but i am not able to read / write into it. However i have successfully implemented same EEPROM with I2C0 (channel 0) port of LPC2378. And i used same code snippets which i used for I2C0 while interfacing EEPROM with I2C1 but it is not working. Currently i have disabled I2C0 initialisation, ISR Routines in my code only using I2C1 but still it is giving me problems. SDA0, SCL0 have external pull ups of 10K and SDA1 and SC1 have internal pull ups enabled. As fas as software is concerned i have used same working code which i used in I2C0 with only changing regsiters name. Do help me in this regard.
you will have to read the manual for the EEPROM to know for sure - but yes, you need to start with an idle i2c bus. are you sure the peripheral clock frequency for both i2c1 and i2c0 is the same? do you have a scope to observe the traffic?
You might find this useful:
NXP/LeCroy - "How to Debug I2C Devices Using an Oscilloscope" ics.nxp.com/.../debug.i2c.oscilloscope.pdf
The actual debugging seems rather focussed on the specific I2C features of a LeCroy scope - but the general information about the I2C protocol showing corresponding scope traces should be informative...