anther data point -- to rule out my board design I used a Raspberry Pi M.2 Hat+ and tried to read it's eeprom with eepflash.sh and get the following. The below run is with dtoverlay=i2c0-pi5 set.
same error if bus 0 or 9 is used. this is the line 189 from eepflash.sh;without dtoverlay=i2c0-pi5 set the error is:line 161 - line 189 -
Code:
wkeeling@pi5dev8g:~ $ sudo eepflash.sh -r -t=24c32 -a=0x51 -f=ssd.eepThis will attempt to talk to an eeprom at i2c address 0x0x51. 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/usr/local/bin/eepflash.sh: 161: echo: echo: I/O errorReading...dd: failed to open '/sys/class/i2c-dev/i2c-0/device/0-000x51/eeprom': No such file or directoryClosing EEPROM Device./usr/local/bin/eepflash.sh: 189: echo: echo: I/O errorError doing I/O operation.
same error if bus 0 or 9 is used. this is the line 189 from eepflash.sh;
Code:
echo "$TYPE 0x$ADDR" > $SYS/new_device
Code:
wkeeling@pi5dev8g:~ $ sudo eepflash.sh -r -t=24c32 -a=0x51 -f=ssd.eepThis will attempt to talk to an eeprom at i2c address 0x0x51. 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/usr/local/bin/eepflash.sh: 161: echo: echo: I/O errorReading...dd: failed to open '/sys/class/i2c-dev/i2c-9/device/9-000x51/eeprom': No such file or directoryClosing EEPROM Device./usr/local/bin/eepflash.sh: 189: echo: echo: I/O errorError doing I/O operation.
Code:
echo "$TYPE 0x$ADDR" > $SYS/new_device
Code:
echo "0x$ADDR" > $SYS/delete_device
Statistics: Posted by wkeeling — Tue Dec 17, 2024 12:22 am