t1042rdb eeprom writing problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

t1042rdb eeprom writing problem

ソリューションへジャンプ
2,181件の閲覧回数
love_hate_and_repeat
Contributor III

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.

タグ(2)
0 件の賞賛
返信
1 解決策
1,600件の閲覧回数
love_hate_and_repeat
Contributor III

the problem was about using i2c command wrongly.

it works like the following; 

 

i2c mw 0x50 0.2 0x41 0x1

 

thanks.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,601件の閲覧回数
love_hate_and_repeat
Contributor III

the problem was about using i2c command wrongly.

it works like the following; 

 

i2c mw 0x50 0.2 0x41 0x1

 

thanks.

0 件の賞賛
返信
1,600件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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
=>

0 件の賞賛
返信
1,600件の閲覧回数
love_hate_and_repeat
Contributor III

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

0 件の賞賛
返信