We built our system on the DSP DM6437
The Nand flash we used is now EOL. We have 3 possible solutions to solve this situation.
Firstly, we may use another kind of 1-bit ECC Nand flash. Secondly, we may use on-die ECC Nand flash(the ECC requirement is more than which the hardware supply, but there is a controller inside). Thirdly, we may use raw Nand(the ECC requirement is more than which the hardware supply and there is no controller inside) and add the ecc algorithm in the code.
I have some issues about the second and the third ways.
In the second solution, there will be two kind of ecc algorithms in the whole system. One is the hardware provide and the other one is the Nand flash own. Is there any problems when running two ecc controller at the same times? Which of the ecc controller will execute first, on-die or hardware? If the on-die will always execute first, I think there is no problem, but if not, the problem may happens. In this situation, if more than 1-bit error occurred, the hardware ecc controller would not have any ability to correct the error and would change the block into bad block even though we had higher ecc algorithm in the on-die ECC Nand flash.
Am I right?
How can I handle this situation?
If I have any misunderstanding, please tell me positively.