Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eepflash.sh update cannot find eeprom in system folder #73

Open
PoshMfg opened this issue Oct 30, 2020 · 0 comments
Open

eepflash.sh update cannot find eeprom in system folder #73

PoshMfg opened this issue Oct 30, 2020 · 0 comments

Comments

@PoshMfg
Copy link

PoshMfg commented Oct 30, 2020

Hello,

I am having difficulties using eepflash.sh to flash an eep file. I was previously using a Raspberry pi zero W running raspian Stretch and your code from 24 October 2018. I was able to flash my device without issue. After pulling the new repository (the most recent from 2020), my pi now returns this string of errors:

pi@raspberrypi:~/Desktop/EEPROM/hats/eepromutils $ sudo ./eepflash.sh -w -f=K9JR-BT-eeprom_settings.eep -a=50 -t=24c32 This will attempt to talk to an eeprom at i2c address 0x50 on bus NOT_SET. 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 Expected I2C bus (i2c-9) not found. ./eepflash.sh: 140: ./eepflash.sh: cannot create /sys/class/i2c-adapter/i2c-NOT_SET/new_device: Directory nonexistent Writing... dd: failed to open '/sys/class/i2c-adapter/i2c-NOT_SET/NOT_SET-0050/eeprom': No such file or directory Closing EEPROM Device. ./eepflash.sh: 164: ./eepflash.sh: cannot create /sys/class/i2c-adapter/i2c-NOT_SET/delete_device: Directory nonexistent Error doing I/O operation.

I followed the setup of the repository on my local machine but this did not help. Would you be able to offer any insights as to why the updated code fails on my device? Do I need to make any changes to my Raspberry Pi settings? Attempting to do an overlay like in the instruction s(to set i2c-9) also fails.

Note: I also tried the code (both old and new) on the new Raspberry pi OS running on a raspberry pi Zero and that also returned similar errors.

Please let me know if you require more clarity on the nature of my problem. I will be happy to give you more information if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant