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 Page Issue on 16 Bit NAND flash

Hello,

We're trying to access a 16 bit nand flash (MT29F2G16)  via the tool --> \nand-flash-writer_AM335x. 

The details (Device ID & Manufacture ID, ...etc) of the NAND flash can be get  with no error, but the program always stop in this line: 

  // Clear the ECC hardware before starting
  (*hNandInfo->hEccInfo->fxnDisable)(hNandInfo);

Please anyone help how to address the issue.

Thanks,

Elvis

  • Hi,

    Could someone help to give advice how to solve the issue on the nand-flash-writer_AM335x tool.

    The NAND_readPage function in nand.c will always return "E_FAIL" when execution the line below:

    if ((*hNandInfo->hEccInfo->fxnCorrect)(hNandInfo, (block * hNandInfo->pagesPerBlock) + page,
    spareBytes, &dest[hNandInfo->dataBytesPerOp * i], i) != E_PASS) 
                return E_FAIL;

    Is it any part wrong?

    Thanks,

    Elvis

  • Hi Elvis,

    The nand-flash-writer utility in the starterware package works for 8bit Nand device by default. You need to change it for your Nand part which is 16bit.