My board is EasyEVM. When debugging NAND FLASH, I set the eccType to NAND_ECC_ALGO_RS_4BIT according to the official routine, and found the following two problems:
1. When reading block0, page0, it will always return NAND_STATUS_READ_ECC_UNCORRECTABLE_ERROR;
2. After writing data to block0, page0, when calling NAND_BadBlockCheck to scan all blocks, block0, 1024, 2048, 3072 will always be detected as bad blocks;
But after the eccType is reconfigured to NAND_ECC_ALGO_HAMMING_1BIT, reading, writing, and scanning will not return any exceptions.
So what is the correct configuration here? The NAND FLASH data in the CD claims 1-bit ECC, can it only be configured as NAND_ECC_ALGO_HAMMING_1BIT?
How to configure the ECC of NAND FLASH?
Who is online
Users browsing this forum: No registered users and 4 guests