u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: dajiang.zhong at tektronix.com <dajiang.zhong@tektronix.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] "UnCorrectable RS-ECC Error" occurs when reading NAND flash under u-boot 2009.08 for i.mx25
Date: Fri, 27 Aug 2010 20:35:12 -0700	[thread overview]
Message-ID: <38A838806557FA4D80EFB2C91A7BC76411F277E17C@us-bv-m10.global.tektronix.net> (raw)

Hi, every one.
This is my first time of posting a message here, firstly , thanks for any body who builds such a nice platform give help.
In recent two weeks, I added a NAND flash driver support for Micron's MT29F2G08ABD (SLC;page size: x8 2048+64bytes; Block size: 64 pages; Device size: 2Gb) memory chip base on u-boot 2009.08 for i.mx25.  Block Erasing and Page Programming functions worked properly, but when I do page  reading  operation, "UnCorrectable RS-ECC Error" error message prompted.  I checked the NFC (NAND Flash Controller) spare area buffer and found that the 4th 512-byte spare area buffer's data were very weird, there is not any ECC code that should be generated by the FEC but contained the data what I programmed to the memory.
In order to easy to do troubleshooting works,  I make a simply testing process, what I do is, firstly, I only erase page 0 of block 0, and later I program the erased page with a 2k file which consisted of 2048 same character 'E', at last I read the page back , but "UnCorrectable RS-ECC Error" occurs. I pasted the contents of NFC's spare area buffer as following:

bb001000: ffffffff 66ffffff bab935d1 22446bbd    .......f.5...kD"
bb001010: b935d166 ffffffba ffffffff ffffffff    f.5.............
bb001020: 5f7467b9 21650de8 4d97fbd0 3166372c    .gt_..e!...M,7f1
bb001030: 3b7e8bef b1cf62a5 bb8f50f6 de0031b3    ..~;.b...P...1..
bb001040: ffffffff 66ffffff bab935d1 22446bbd    .......f.5...kD"
bb001050: b935d166 ffffffba ffffffff ffffffff    f.5.............
bb001060: bafcf1fa 0c0698ef 09089d72 e6200c80    ........r..... .
bb001070: d638f5ef 20130b40 591dd763 e224f527    ..8. at .. c..Y'.$.
bb001080: ffffffff 66ffffff bab935d1 22446bbd    .......f.5...kD"
bb001090: b935d166 ffffffba ffffffff ffffffff    f.5.............
bb0010a0: 76fa88ba 7a648809 d27bbc43 6b2b81cf    ...v..dzC.{...+k
bb0010b0: f6b95e3b 1286638e 73d324fb 22880ce5    ;^...c...$.s..."
bb0010c0: 45454545 45454545 45454545 45454545    EEEEEEEEEEEEEEEE
bb0010d0: 45454545 45454545 45454545 45454545    EEEEEEEEEEEEEEEE
bb0010e0: 36d8f3d5 0099a9e7 eb289d07 11664624    ...6......(.$Ff.
bb0010f0: 4fbb9f24 505ab041 25ff61f6 43280406    $..OA.ZP.a.%..(C

Contents written in red  characters should be ECC code, but changed to what I programmed to the memory in preverious programming process.
Any advice, please feel free to tell me. Thanks very much in advance.

Thanks & Regards,
Leon Zhong

             reply	other threads:[~2010-08-28  3:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28  3:35 dajiang.zhong at tektronix.com [this message]
2010-08-28  4:16 ` [U-Boot] "UnCorrectable RS-ECC Error" occurs when reading NAND flash under u-boot 2009.08 for i.mx25 dajiang
2010-08-30 19:36 ` Scott Wood
2010-09-01  5:35   ` dajiang
2010-08-28  3:57 dajiang

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=38A838806557FA4D80EFB2C91A7BC76411F277E17C@us-bv-m10.global.tektronix.net \
    --to=dajiang.zhong@tektronix.com \
    --cc=u-boot@lists.denx.de \
    /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;
as well as URLs for NNTP newsgroup(s).