How to verify the ECC code for NAND Flash do work

Shen Aaron-r62966
2004-03-09T05:48:44Z

Hello all,

I have modified the ECC part of code in my Linux system, but I don't know how to confirm that it does work.
One way I'm thinking of is to get a NAND Flash with bad block somewhere inside it. Then there will be three points to be thought about.
1. A suitable probram to create a period of bad block inside a normal NAND Flash is needed.
2. How to run the program? Just run it on the running Linux platform or should use extern tools like AXD?
3. What's the result if the ECC part fails?

Thanks.

//Aaron.