I am trying to write and read data to an EEPROM using IIC in MC9S08DZ60. The problem is i am using while i am debugging the code step by step i can see the written and read Data is same. But when i use it and run using any application it is reading some garbage values. can any one clear me this problem and please explain me why this type of problem arises. I am using AT24C32A as an EEPROM. thanks in advance for your replies.