EEPROM read/write user space program
stefano at codesink.org
Tue Dec 2 21:50:49 CET 2003
I've modified eeprog so that -8 and -16 can be selected. 8bit mode is now the
default (thanks to Jean for the suggestion). It's definitely safer.
please update, thanks.
On Friday 28 November 2003 19:23, Jean Delvare wrote:
> > __________________________________WARNING____________________________
> > ___ Erroneously writing to a system EEPROM (like DIMM SPD modules) can
> > brake your system. It will NOT boot any more so you'll not be able to
> > fix it.
> It's "break", not "brake" (also in some way I agree it does too ;)).
> And "any more" is "anymore".
> > Reading from 8bit EEPROMs (like that in your DIMM) without using the
> > -8 switch can also UNEXPECTEDLY write to them, so be sure to use the
> > -8 command param when required.
> Wouldn't it be safer to default to 8-bit and have a switch to use
> 16-bit addressing? From what you said, "reading from an 8bit eeprom
> using 16bit addressing can actually *write* to the eeprom", but what
> would reading a 16-bit eeprom using 8-bit addressing do? If it isn't
> dangerous, I believe you should default to 8-bit addressing.
> BTW, isn't it possible to detect the addressing mode?
More information about the lm-sensors