Hello
I was exact in the same position! (reconstruct the complete filesystem, but all the images are seriously
damaged caused of thousands of "bit-flips" that occurred on the NAND-flashes)
with try and trai I finde out the solution:
The algorithmus is a bch 14 code [8373,8191,14]. The minimal polynom is {1,0,0,0,0,0,0,0,0,1,1,0,1,1} (0X201B)
1. Place the 512 * 0XFF field at bit pos 0-4095 (fill the rest with NULL) and calculate the ecc value.
2. clear the data field and place the new calculated ecc value at bit pos 3699.
3. calculate now again the ecc.
BINGO -> 0x59 0xC0 0xED 0x58 .... 0xD2 0x46 0x90
I hope this mini description will you help.
kind regards
↧