This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

U-Boot: i2c read

Hi,

Hopefully this hasn't been touched in a previous posting but I'm seeing peculiar i2c read operation. If I'm reading the EEPROM on an AM335x design I can dump but not read to memory:

“i2c md 0x50 0 100” 

Correctly yields: 

0000: aa 55 33 ee 41 33 33 35 58 5f 53 4b 31 2e 32 42    .U3.A335X_SK1.2B

0010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

0090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

00a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

00b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

00c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

00d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

00e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

00f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................

 

“i2c read 0x50 0 100 0x402F0400”

 Hangs

 

What is the correct way to read i2c data to memory? Thanks for your help.