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

addressing 24c04

hi i am using the controller P89c51RD2BN and eeprom AT24c04 my i2c routine read and write the data perfectly. but upto the address 116 D (0x74) if i am trying to store any variable beyound this address my display shows garbage(it hangs) but ALE signal is presents. can any one help me to solve this

Parents
  • "it is clearly not perfect - because it doesn't work for addresses above 0x74!"

    There's a proviso here: maybe your software is OK, but your hardware design is wrong, and/or your hardware implementation is wrong or broken.

    This is why it's totally inadequate just to say, "my display shows garbage (it hangs)".
    You need to do some testing and investigation to find out exactly what is happening!

    Again, have you used an oscilloscope to check what's happening on the I2C lines?

Reply
  • "it is clearly not perfect - because it doesn't work for addresses above 0x74!"

    There's a proviso here: maybe your software is OK, but your hardware design is wrong, and/or your hardware implementation is wrong or broken.

    This is why it's totally inadequate just to say, "my display shows garbage (it hangs)".
    You need to do some testing and investigation to find out exactly what is happening!

    Again, have you used an oscilloscope to check what's happening on the I2C lines?

Children