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.

TMS320C6657: EMIF配置NAND mode,硬件4bit ECC配合软件纠错有概率错误

Part Number: TMS320C6657

C6657 EMIF的ce0外接 nandflash,型号MT29F8G08ABBCAH4,细节如下图,每页共(4K + 224)byte。

参考evmc665x的官方nand例程,选择EMIF的4bit ECC为ce0,每512个字节读写一次,读写一页由例程的4次变为8次。

发现当断电重启后,读nandflash第一次数据出错时,软件纠错读取NANDFSR寄存器进行判断时,会进入 over 4 bit error分支,即下图的case 1。

但自行判断读到的数据和写入的数据时,发现只有1bit错误,但硬件判断出错导致纠错失败。想请问一下会是什么原因导致的?

  • 读nandflash第一次数据出错时

    请问是怎么做出错测试的?请参考下面帖子中的方法。
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/299721/nand-4-bit-ecc-test

  • 并没有特意做出错测试,测试时的nandflash擦除读写过很多次,已经老化,比较容易出错。测试是普通的循环读写。

  • 感谢您对TI产品的关注!由于问题比较复杂,已将您的问题发布在E2E英文技术论坛上,由资深的英文论坛工程师为您提供帮助。 您也可以点击下帖链接了解进展:
    e2e.ti.com/.../tms320c6657-4bit-ecc-nand-error

  • 抱歉,产品线工程师要2周后才回来,请关注帖子的回复。

    Hello, The engineer (Sankari) responsible is currently out of office for next few weeks.

    Please expect 2 week delay in response.

  • 抱歉回复晚了。

    工程师想更好地了解一下您的问题,请回复一下下面的问题。

    Just to understand your problem better, please answer the questions below.

    1. Are you testing 4 bit NAND ECC errors ? or while doing data transfer, you are experiencing this error?

    2. At least for one time, are you able to transfer data to nand memory without any errors ? 

    3. Have you tried the sample NAND examples of processor SDK 6.3 with the TI-C6657 EVM ?

    Because, this will give some good understanding before we move on to the custom board ( i.e., own board)

    4. Please mention the name of the example code and version of the SDK you use for this test.

  • 抱歉!现在才回复

    1.While doing data transfer, I expect to encounter less than 4 bit data error to check whether EMIF Ecc Correct works. When the first 1 bit error comes, it seems like EMIF Ecc Correct doesn't work. However, the ohter times, EMIF Ecc Correct works.

    2.Yes, Most of the time the test is correct.

    About Question 3 and 4, because of the NAND difference between TI-C6657 EVM and our board, we reprogram based on SDK(c665x-evm-06.03.00.106-Windows-x86-Install) and routine(evmc665x_nand.h).

  • 没事,已跟进!请关注帖子的回复。

  • 请看下面e2e工程师的回复。如果有EVM板的话,工程师建议您先在EVM板试一下。

    Let me look into the first one.

    Regarding my questions on 3 and 4, I understand, you re-program for your custom board.

    My question is " Do you have TI-C6657 EVM ? 

    Did you happen to run the sample NAND examples of processor SDK 6.3 on Ti-C6657 EVM ? 

    Is it possible to reproduce the same data transfer test on the TI EVM and reproduce the same error ?

    Because, this will narrow down whether it is a NAND flash memory issue which you use in your custom board......