Hardware How Does NAND Hardware ECC Work?

  • Thread starter Thread starter gudenau
  • Start date Start date
  • Views Views 1,392
  • Replies Replies 1

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
4,111
Reaction score
4,486
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
7,872
Country
United States
According to the Wiki the NAND hardware ECC is formated like this:

BAo7Lmb.png


Which translates to something like this structure:
Code:
typedef struct{
    uint8_t spare[0x40];
    uint8_t ecc[0x10];
} NandECC;
which is easy enough to understand.

What I don't know is how that gets calculated by the NAND hardware. It says that the 0x10 bytes after the spare data is calculated by the NAND engine,

How is this calculated and how can the ECC data be used? The wiki does not seem to have any info about this.
 

Site & Scene News

Popular threads in this forum