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.

NAND flash programming

Hi,


I once have run the attached test for nandflash programming on EVM6424 and it worked successfully. I then tried to run it again and it failed.

The test erases NAND, wirtes, reads, then compare what has been written with what is read. If found different, then a page is counted as bad, and after some limit, I receive the error " Error: Too many bad pages".

I followed program execution, and I found that, the first block of the NAND is successfully written, however, when the second block is started, the program exits after the above mentioned error message.

Note: The jumper2 is at NAND position, SW1 boot mode indicates NAND flash (0111), memory width is 16bit, and SW2 indicates 8-bit EMIF NAND flash. (I have tested many configurations of the switches to check if a hardware change is the cause of the error).

Can you help to explain, what happened, and how to fix?

BR,

Sarah

nandflash.rar