cancel
Showing results for 
Search instead for 
Did you mean: 

ECC

siddj
Associate II
Posted on February 03, 2009 at 12:27

ECC

1 REPLY 1
siddj
Associate II
Posted on May 17, 2011 at 13:01

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?