public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Steve Tsai <startec@ms11.hinet.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: ECC in Nand_write_page
Date: Fri, 12 Jul 2002 14:30:46 +0200	[thread overview]
Message-ID: <20020712123046.GA10639@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <003701c2294d$5dcd6e40$5501a8c0@synso.com.tw>

On Fri, 12 July 2002 10:39:36 +0800, Steve Tsai wrote:
> I don't think nand_write_page can write partial page, if someone enable
> ECC. For example, when I write the partial page to the page 100, it will
> write ECC code into the page also, but when I write the other data to
> the empty area of the same page, I can write data into  the empty area
> of the page, but I can not write the ECC code, because the area storing
> ECC code was written at the previous time.  

You are right. I've had a similar problem with ECC flash lately - NOR
flash, but the principle is the same. The ECC checksum is written to
the flash. By writing the same page twice, the checksum would have to
toggle some bits from 0 to 1, which is impossible for flash.
Thus you have a constraint to write any given page but once between
two erase cycles.

Joern

  reply	other threads:[~2002-07-12 12:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11 10:19 ECC in Nand_write_page Steve Tsai
2002-07-11 13:25 ` Ken Offer
2002-07-12  2:39   ` Steve Tsai
2002-07-12 12:30     ` Jörn Engel [this message]
2002-07-12  6:11 ` Thomas Gleixner
2002-07-12  6:58   ` Steve Tsai

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=20020712123046.GA10639@wohnheim.fh-wedel.de \
    --to=joern@wohnheim.fh-wedel.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=startec@ms11.hinet.net \
    /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