Raspberry Pi2-B
Trying to use the eepromutils form GitHub.
i2cdetect seems to find an eeprom.
When I try to read, I get an error.
After the attempted read, i2cdetect shows UU.
In eepflash.sh, I changed the 4 instances of i2c-0 to i2c-1.
Can somebody help, its quite probable I'm making some sort of error.
Regards
Code: Select all
pi@mypi ~ $ modprobe i2c-bcm2708
pi@mypi ~ $ modprobe i2c-dev
pi@mypi ~ $ modprobe at24
Code: Select all
pi@mypi ~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Code: Select all
pi@mypi ~ $ sudo /home/pi/hats/eepflash.sh -r -f=/home/pi/hatFiles/test2.eep -t=24c128
This will disable the camera so you will need to REBOOT after this process completes.
This will attempt to write to i2c address 0x50. Make sure there is an eeprom at this address.
This script comes with ABSOLUTELY no warranty. Continue only if you know what you are doing.
Do you wish to continue? (yes/no): yes
Reading...
dd: opening `/sys/class/i2c-adapter/i2c-1/0-0050/eeprom': No such file or directory
Error doing I/O operation.
Code: Select all
pi@mypi ~ $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --