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.

Read nand flash contents through JTAG

Hi,

Is it possible to read the NAND flash contents throgh JTAG using CCSv5? If it is possible what is the procedure?

What is ELM (Error locator module) ? How does it help ?

Regards

Madhura 

  • Hi Madhura,

    Load the image from NAND to DDR3 RAM, then you can explore the RAM content under CCS/JTAG.

    ELM ECC engine: used for locating and decoding ECC errors while reading the NAND device. Error Locator Module (ELM) Outside of GPMC to Provide Upto 16-Bit/512-Bytes Hardware ECC for NAND.
    UBIFS is now implemented using 8-bit BCH ECC scheme. The implementation makes use of the ELM module and enables a uniform 8-bit ECC schemes across ROM, U-boot, Kernel and File System.

    See also the below pointers for ELM:

    DM814x datasheet, section 8.8 General-Purpose Memory Controller (GPMC) and Error Location Module (ELM)
    DM814x TRM, section 1.11 Error Location Module, 4.7.3.3 NAND Read Sector Procedure

    processors.wiki.ti.com/.../Raw_NAND_ECC
    processors.wiki.ti.com/.../Linux_Core_NAND_User's_Guide

    Regards,
    Pavel