From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: EEPROM read/write user space program
Date: Thu, 19 May 2005 06:24:27 +0000 [thread overview]
Message-ID: <20031128192357.0f0021bc.khali@linux-fr.org> (raw)
In-Reply-To: <20031122084059.0f9f73fa.khali@linux-fr.org>
> __________________________________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/
next prev parent reply other threads:[~2005-05-19 6:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 EEPROM read/write user space program Jean Delvare
2005-05-19 6:24 ` Mark Studebaker
2005-05-19 6:24 ` Stefano Barbato
2005-05-19 6:24 ` Stefano Barbato
2005-05-19 6:24 ` Jean Delvare [this message]
2005-05-19 6:24 ` Stefano Barbato
2005-05-19 6:24 ` Stefano Barbato
2005-05-19 6:24 ` Stefano Barbato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031128192357.0f0021bc.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.