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
  • now i changed EEPROM AT24C04 to AT24C02A and thing are fine A2 A1 A0 WP are grounded

    can you tell me how this happened

    I sit in a hotel waiting for as part, so I took the time to have a good look at the datasheet. There are several places where the 2k and 4k devices differ, such as page read and page write. since all you say is "it does not work (with the '04) I an only suggest you have a good look at the differences, notably the use of a0 in the larger device which I GUESS is the source of your problem.

    Erik

Reply
  • now i changed EEPROM AT24C04 to AT24C02A and thing are fine A2 A1 A0 WP are grounded

    can you tell me how this happened

    I sit in a hotel waiting for as part, so I took the time to have a good look at the datasheet. There are several places where the 2k and 4k devices differ, such as page read and page write. since all you say is "it does not work (with the '04) I an only suggest you have a good look at the differences, notably the use of a0 in the larger device which I GUESS is the source of your problem.

    Erik

Children
No data