Scroll to navigation

eeprom(8) System Administration eeprom(8)

NAME

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

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

Jul 2013 i2c-tools