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
  • 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

    How do you know if the values are not written or not read? do you wipe the buffer between write and read

    in that some values are manually written to eeprom and some are stored using program
    What do you mean by "manually written"

    Erik

Reply
  • 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

    How do you know if the values are not written or not read? do you wipe the buffer between write and read

    in that some values are manually written to eeprom and some are stored using program
    What do you mean by "manually written"

    Erik

Children
  • i do not wipe the buffer in between
    manually written means using programmer hex file is loaded in the eeprom
    i am using atmel 24c64-with c8051f020
    can we write the more values at a time because i hav tried with the set of values-(set value, actual value, percentage) i face problem but i separated the routines and saving it individually and now it is working