2009-02-03 03:27 AM
ECC
2011-05-17 04:01 AM
I have been writing to NAND FLASH using the FSMC peripheral on STM32F103VET6. I am having consistent bit errors when reading the chip/verifying the data.
I was wondering if the Error Code Correction has been implemented by ST or do I have to write the routine for it? My ECC values also do not get refreshed. Am I manually supposed to refresh the values for the ECC after every read/write? They stay constant throughout, after the first write/read. Also, it looks like they are using hamming codes for their error correction but I cannot make sense of the computed ECC value. I am using an 8 bit external nand flash memory. I get a value of 0x55555A66 in the FSMC_ECCR2 register and it stays constant. My page size is 4096. Does anyone have any idea what this means?