AnsweredAssumed Answered

U-Boot commands to read/write i2c eeprom

Question asked by Dean Saridakis on Nov 14, 2018
Latest reply on Nov 15, 2018 by Pavel Chubakov

I'm working on a P5020DS SuperHydra - the factory loaded RCW is in I2C EEPROM (Atmel AT24C64A or equivalent on I2C1 addr 0x50).

 

I've experimented w/ various U-Boot commands - the closest I get is:

 

=> i2c dev 0
Setting bus to 0
=> i2c read 50 0 100 100000
=> md 100000
00100000: 55aa5501 0e01000c 58000000 0000001e    U.U.....X.......
00100010: 12000000 000000d8 602a0000 002000fe    ........`*... ..
00100020: 80000041 00000000 00000000 00000000    ...A............
00100030: 00000010 c30001a8 00000000 00000000    ................
00100040: 00000000 00000008 1380408b c4c2fcff    ..........@.....
00100050: ffffffff ffffffff ffffffff ffffffff    ................
00100060: ffffffff ffffffff ffffffff ffffffff    ................
00100070: ffffffff ffffffff ffffffff ffffffff    ................

 

But the 1st byte is missing. I definitely don't want to overwrite anything until I'm sure I can recover from corruption.

Thanks,

Outcomes