public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* ECC in Nand_write_page
@ 2002-07-11 10:19 Steve Tsai
  2002-07-11 13:25 ` Ken Offer
  2002-07-12  6:11 ` Thomas Gleixner
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Tsai @ 2002-07-11 10:19 UTC (permalink / raw)
  To: Linux MTD mailing list

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-12 12:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-07-12  6:11 ` Thomas Gleixner
2002-07-12  6:58   ` Steve Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox