public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Steve Tsai" <startec@ms11.hinet.net>
To: "Linux MTD mailing list" <linux-mtd@lists.infradead.org>
Subject: ECC in Nand_write_page
Date: Thu, 11 Jul 2002 18:19:49 +0800	[thread overview]
Message-ID: <003701c228c4$7decfee0$5501a8c0@synso.com.tw> (raw)

The board I used will display the message, "nand_write_ecc: Failed ECC
write", so I try to trace the function nand_write_ecc, I found it can
not write the ECC code into OOB sometime because the ECC in OOB are not
set as 0xff. There are two conditions to cause the problem, one
condition is the erase does not success, another condition is that the
page  was written before. Nand_write_page could write partial page to
the flash. Does it cause the ECC in OOB was written and ECC can not be
written next time. For example, nand_write_page write 100 byte the first
time and if it want to write 412 bytes to the same page next time, it
will fail. Does anyone have this problem?


Steve Tsai

             reply	other threads:[~2002-07-11 10:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-11 10:19 Steve Tsai [this message]
2002-07-11 13:25 ` ECC in Nand_write_page Ken Offer
2002-07-12  2:39   ` Steve Tsai
2002-07-12 12:30     ` Jörn Engel
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='003701c228c4$7decfee0$5501a8c0@synso.com.tw' \
    --to=startec@ms11.hinet.net \
    --cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox