t1042rdb eeprom writing problem

cancel
Showing results for 
Search instead for 
Did you mean: 

t1042rdb eeprom writing problem

Jump to solution
934 Views
ysf_kya34
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.

Tags (2)
0 Kudos
1 Solution
353 Views
ysf_kya34
Contributor III

the problem was about using i2c command wrongly.

it works like the following; 

 

i2c mw 0x50 0.2 0x41 0x1

 

thanks.

View solution in original post

0 Kudos
3 Replies
354 Views
ysf_kya34
Contributor III

the problem was about using i2c command wrongly.

it works like the following; 

 

i2c mw 0x50 0.2 0x41 0x1

 

thanks.

View solution in original post

0 Kudos
353 Views
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 Kudos
353 Views
ysf_kya34
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 Kudos