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.

How to generate ECC and syndrome with C5505?

Hello,

I am trying to generate ECC and compute syndrome when writting and reading data to / from NAND Flash. But I am not successful. I follow the steps from EMIF user guide (december 2011), chapter 1.2.7.6.7 4-Bit ECC Generation. But I have the problem that my syndrome is always nonzero. The difference between my code and the EMIF user guide is that I write and read 512 bytes only. Is it possible? I use the DMA. Is it possible?

Does anybody have some working example? There is an example in the CSL library. But how to generate ECC only. Not how to compute the syndrome.

Thank you for whatever advice

Jiri