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.

4-bit ECC on c5514 EMIF for NAND interface

Can anybody provide the 'check task' for NAND FLASH 4-bit ECC debug?

I currently have a trouble with attempt to write just few bytes (126) of metadata to spare area with 4-bit ECC calculation. The parity words are the same all times, but at readout, the syndrom is too far from non-error, more than 4 bit errors detected.

- Is it possible to perform 4-bit ECC checking for arrays, less than 518 bytes?

- have anybody the check task with constant data array, supplied with correct parity words (for write) and syndrom (for read)

  • C5514 supports 4-bit ECC on blocks of 512 bytes. Have you checked out the examples in CSL under EMIF folder? It uses ECC feature.

    Hope this help.

    Regards.

  • Steve Tsang said:

    C5514 supports 4-bit ECC on blocks of 512 bytes. Have you checked out the examples in CSL under EMIF folder? It uses ECC feature.

    Hope this help.

    Regards.

    As I have seen, the example in CSL just read the ECC registers, but not perform the error finding and correction.

    If that's not right, can You pleease quote a part of code?

    My first question was: is it possible to perform 4-bit ECC checks on arbitrary-size memory blocks. By the way, the EMIF datasheet describes the 4-bit ECC on 518-byte blocks, not 512-byte.

    Regards, Andrey.

    P.S. Sorry for delay with this message, the Thunderbird moved your answer to 'spam' folder, apologises...