From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Bernhard Priewasser <priewasser@gmail.com>
Cc: MTD mailing list <linux-mtd@lists.infradead.org>
Subject: Re: NOR "bad blocks"
Date: Thu, 27 Oct 2005 10:21:08 +0200 [thread overview]
Message-ID: <20051027082108.GC24422@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <436089F3.806@gmail.com>
On Thu, 27 October 2005 10:04:03 +0200, Bernhard Priewasser wrote:
>
> just a thought...
> Same as NAND, NOR flashes mostly have an endurance of guaranted 100K
> program/erase cycles.
> If a block reaches this (theoretical) value, it should be recognized as
> bad block if erase fails; e.g. not conaining only 0xFF after erase on
> NAND. (I don't know if the "100K" erase cycle boundary is mostly
> responsible for this)
> But obviously a block can wear out on NOR too after the max. number of
> erase cycles. (How) can this be recognized, handled?
Not easily. I haven't done the experiments myself, but wear-out
effects were described to me. Basically, you can write to a block and
read it back out in a tight loop and things will never fail. Not
after 100k, not after 1M erases. But if you write to the block and
wait long enough, bits will flip.
Bit-flipping will always happen from 0 to 1, similar to erases.
Problem should be that the insulation around a flash cell has eroded
and the charge will leak out over time - this cell is self-erasing
now.
And if you want to check whether all this is actually true, you can
try a testrun like this:
for (int i=1; ; i++) {
for (int j=0; j<1000; j++)
erase(block);
write(block);
sleep(10);
read(block);
if (read doesn't match write) {
printf("block died at %d000 erases\n", i);
break;
}
}
Jörn
--
Geld macht nicht glücklich.
Glück macht nicht satt.
next prev parent reply other threads:[~2005-10-27 8:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 8:04 NOR "bad blocks" Bernhard Priewasser
2005-10-27 8:21 ` Jörn Engel [this message]
2005-10-27 8:31 ` Bernhard Priewasser
2005-10-27 8:49 ` Jörn Engel
2005-10-27 9:09 ` Bernhard Priewasser
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=20051027082108.GC24422@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=linux-mtd@lists.infradead.org \
--cc=priewasser@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox