i'm trying to write eeprom via i2c interface but i could'nt.
i2c eeprom address is 0x50 and i use following u-boot commands.
=>i2c md 0x50 0x00 0x01 // firstly i read 0x0000 eeprom address
0000: ff .
=>i2c mw 0x50 0x00 0x41 0x01 // 0x41 is written to 0x0000 eeprom adress
=>i2c md 0x50 0x00 0x01
0000: ff . // but it's same not changing.
i miss something when i try to write eeprom ?
thanks in advance.
解決済! 解決策の投稿を見る。
the problem was about using i2c command wrongly.
it works like the following;
i2c mw 0x50 0.2 0x41 0x1
thanks.
the problem was about using i2c command wrongly.
it works like the following;
i2c mw 0x50 0.2 0x41 0x1
thanks.
It seems that 0x50 is not the valid address, please refer to the following.
=> i2c md 0x75 0 1
0000: 00 .
=> i2c mw 0x75 0x00 0x41 0x01
=> i2c md 0x75 0 1
0000: 41 A
=>
i'm sure eeprom addres is 0x50 and this address was specified in QorIQ T1042DR Reference Design Board Ref Man.
the following is output of i2c probe command.
=>i2c probe
Valid chip addresses : 00 19 36 37 38 40 4C 50 51 68 6A 75