i am working on I2C-2 bus beaglebone black and interface an EEPROM of CAT24C256 which is located at 0x50 address.
The problem is when i access this eeprom using i2c-tools etc i2cdump, i2cget, i2cset then the results are not correct most of the time.
But when i use :
root@beaglebone:~****# echo 24c256 0x50 > /sys/bus/i2c/devices/i2c-1/new_device
root@beaglebone:~# echo “This is a text to be stored in out EEPROM” > /sys/bus/i2c/devices/1-0050/eeprom.
The above one work 100% correct and text is stored in the eeprom from address 0x0000, but the i2cset 1 0x50 0x00 0x41 is not doing anything but dont show error.
Kindly tell me that what is this strange problem?