Please Help: I2C Read From Address 0x0000

Hacking multi-tool. Get one for $30, including worldwide shipping.

Please Help: I2C Read From Address 0x0000

Postby Aileyus » Mon Oct 23, 2017 11:31 am

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.
Aileyus
Newbie
Newbie
 
Posts: 4
Joined: Thu Aug 10, 2017 1:11 pm

Re: Please Help: I2C Read From Address 0x0000

Postby USBEprom » Mon Oct 23, 2017 1:39 pm

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
USBEprom
Full Member
Full Member
 
Posts: 137
Joined: Wed Mar 14, 2012 4:09 pm

Re: Please Help: I2C Read From Address 0x0000

Postby Aileyus » Mon Oct 23, 2017 2:02 pm

That did it. Thanks very much.
Aileyus
Newbie
Newbie
 
Posts: 4
Joined: Thu Aug 10, 2017 1:11 pm


Return to Bus Pirate Support