Skip to main content
Topic: Please Help: I2C Read From Address 0x0000 (Read 1968 times) previous topic - next topic

Please Help: I2C Read From Address 0x0000

I'm using the Bus Pirate v3.6 to read a 24AA512 EEPROM using I2C.  I had this working a couple months ago but I forgot to write down the commands I was using.

The problem I'm having is I don't think I'm reading from address 0x0000 in the EEPROM.  I think when I enter my read command, I'm reading from some arbitrary address (the address I was at on the last read).  How do I set the address back to 0x0000 so I'm reading from the beginning of the chip?

I have tried [0xAE 0x0000] but that doesn't work.

Thanks in advance.

Re: Please Help: I2C Read From Address 0x0000

Reply #1
Hi Aileyus.
If something is not wrong, starting from the datasheet this should be the right way:

block 0 [0xA0 0x00 0x00][0xA1 r:64000]

block 1 [0xA2 0x00 0x00][0xA3 r:64000]

block 2 [0xA4 0x00 0x00][0xA5 r:64000]

block 3 [0xA6 0x00 0x00][0xA7 r:64000]

block 4 [0xA8 0x00 0x00][0xA9 r:64000]

block 5 [0xAA 0x00 0x00][0xAB r:64000]

block 6 [0xAC 0x00 0x00][0xAD r:64000]

block 7 [0xAE 0x00 0x00][0xAF r:64000]

Be seeing you.

U.Sb

Re: Please Help: I2C Read From Address 0x0000

Reply #2
That did it.  Thanks very much.