This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

nand testing and validation

Guru 20755 points

Hello,

I have some general question.

Is anyone familiar with some method to test the correctness of nand read/write in u-boot/Linux.

For example, with RAM there is mtest in u-boot, but for nand, I am not familiar with any tool/utility, unless maybe writing some script for read/write.

Thanks,

Ran

  • Hi,

    There isnt any tool to test the nand data integrity in uboot/Linux.  Although you need to manually write your own scripts/application, at uboot level you have nand read/write commands available, On Linux you can use http://processors.wiki.ti.com/index.php/Mtdutils which allows to write/read.

    Thanks,

    --Prabhakar Lad

  • Ran,

    As Prabhakar stated, you can use mtdutils, where you have "Nand test command".

    You can also check if the CCS NAND test will be in help - CCS_Test_code/NAND - NAND-Flash CCS test case for DM814X EVM. This CCS test application validates the NAND-Flash for its ability to perform  write access; read access and data storing ability. The test application writes a known pattern into the desired number of pages and then reads back the same. The known  pattern written into the memory is the incremental hexadecimal numbers. After writing to the entire memory area, this application reads them back and validates  the data read. If the data read does not match the expected pattern, this test is declared failed. It is declared pass otherwise.

    Regards,
    Pavel