eeprom man page

eeprom — reads and writes 24Cxx EEPROMs connected to I2C serial bus.

Synopsis

eeprom [-d dev] [-a adr] [-p pgs] [-w] [-y] [-f file]

Description

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 (24C16s) this tool works with 1-byte addresses!

Note

Don't forget to load your i2c chipset and the i2c-dev drivers.

Pages/addresses:
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
increasing addresses

Parameters

dev
device, e.g. /dev/i2c-0 (def)
adr
base address of eeprom, eg 0xA0 (def)
pgs
number of pages to read, eg 8 (def)
-w
write to eeprom (default is reading!)
-y
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)

See Also

eeprog(8) eepromer(8)

Author

Christian Vogel

Referenced By

eeprog(8), eepromer(8).

Jul 2013 i2c-tools System Administration