- Joined
- Jul 7, 2010
- Messages
- 4,111
- Reaction score
- 4,485
- Trophies
- 2
- Location
- /dev/random
- Website
- www.gudenau.net
- XP
- 7,871
- Country

According to the Wiki the NAND hardware ECC is formated like this:
Which translates to something like this structure:
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.
Which translates to something like this structure:
Code:
typedef struct{
uint8_t spare[0x40];
uint8_t ecc[0x10];
} NandECC;
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.





