This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i2c routine

-i am interfacing the 8051 with the 24c64
-in that some values are manually written to eeprom and some are stored using program
-i am accessing the location 195th to (195+60)-range
which is not used before
-i am using a buffer to store the values i.e. required location to buffer and from buffer to eeprom
-this is stored properly because i am debuging it and i am getting corret
-but when i am trying to read from the eeprom eg-reset the software (eeprom is read at the power on)
my values not stored
-are they changing anywhere????
-if so then how to debug those areas

Parents
  • So you are using I2C routines .. if you could specify what variant of the x51 you are using and a few other things people might be able to help you. If you are using hardware (the x51) or software to perform the I2C functions affects this as well. What specific X24c64 EEPROM you are using? There are numerous factors that can influence your success in this case all of which depend on what processor, what EEPROM, and what software is handling the EEPROM. Showing some code might help immensely.

    Stephen

Reply
  • So you are using I2C routines .. if you could specify what variant of the x51 you are using and a few other things people might be able to help you. If you are using hardware (the x51) or software to perform the I2C functions affects this as well. What specific X24c64 EEPROM you are using? There are numerous factors that can influence your success in this case all of which depend on what processor, what EEPROM, and what software is handling the EEPROM. Showing some code might help immensely.

    Stephen

Children