eeprom [-d dev] [-a addr] [-p pgs] [-w] [-y] [-f file]
eeprom can be used for reading from / writing to I2C EEPROMs like the popular 24C16, 24C08, 24C04, etc. In contrast to eeprommer which supports 24C256-type EEPROMs, this tool works with 1-byte addresses!
Don't forget to load your i2c chipset and the i2c-dev drivers.
EEPROMs with more than 256 bytes appear as if they
were several EEPROMs with consecutive addresses on the bus
so we might as well address several separate EEPROMs with
device (default /dev/i2c-0)
base address of EEPROM (default 0xA0)
number of pages to read (default 8)
write to EEPROM (default is reading!)
suppress warning when writing (default is to warn!)
- -f file
copy EEPROM contents to/from file (default for read is test only; for write is all zeros)