EEPROM read/write user space program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> __________________________________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?

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux