On Tue, Dec 9, 2014 at 1:27 AM,  <[email protected]> wrote:
> 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
> and then:
>  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?

Well, once you did "echo 24c256 0x50 >
/sys/bus/i2c/devices/i2c-1/new_device" the kernel now has control and
the i2c tools won't work.

If you do a i2cdump, that address should also have a "U" on it.

Regards,


-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to