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.

unable to read & write to eeprom on BBB

Dear Ti e2e community,

i2ctools on beaglebone black eeprom

I have to read & write to eeprom which is present in beaglebone black
I have changed dts file accordingly in am335x-bone-common.dtsi

i2c0: i2c@44e0b000 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
clock-frequency = <400000>;

/* Set OPP50 (0.95V) for VDD core */
sleep-sequence = /bits/ 8 <
0x02 0x24 0x0b 0x6d /* Password unlock 1 */
0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
0x02 0x24 0x0b 0x6d /* Password unlock 2 */
0x02 0x24 0x10 0x02 /* Set DCDC3 to 0.95V */
0x02 0x24 0x0b 0x6c /* Password unlock 1 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
0x02 0x24 0x0b 0x6c /* Password unlock 2 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
>;

/* Set OPP100 (1.10V) for VDD core */
wake-sequence = /bits/ 8 <
0x02 0x24 0x0b 0x6d /* Password unlock 1 */
0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
0x02 0x24 0x0b 0x6d /* Password unlock 2 */
0x02 0x24 0x10 0x08 /* Set DCDC3 to 1.1V */
0x02 0x24 0x0b 0x6c /* Password unlock 1 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
0x02 0x24 0x0b 0x6c /* Password unlock 2 */
0x02 0x24 0x11 0x86 /* Apply DCDC changes */
>;

tps: tps@24 {
reg = <0x24>;
};

eeprom: eeprom@50 {
/*compatible = "eeprom";*/
compatible = "at,24c256";
};


};
};

Kernel messages
[ 0.610354] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

Am trying to use i2ctools ie., i2cdetect, i2cdump, i2cset, i2cget, inorder to write & read it to the eeprom, but am unable to read & write back to eeprom which is present in beaglebone black

root@am335x-evm:~# i2cdetect -y -a -r 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
root@am335x-evm:~# i2cset -f -y 0 0x50 0x84 0x72
root@am335x-evm:~# i2cget -f -y 0 0x50 0x84
0xff

root@am335x-evm:~# i2cdump -f -y 0 0x50

No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
20: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
40: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
60: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
80: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff U...............
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................

Could you please kindly do the needful in reading & writing to the eeprom as early as possible as am stuck with this

Many Thanks in advance