Raw NAND ships with thousands of bit errors per page and would be unusable without error correction. This is the story of how ECC evolved from single-bit Hamming through BCH to soft-decision LDPC, what "soft bits" physically are, and the UBER math that turns a noisy die into a reliability promise.
Ldpc
-
ECC for Flash: Hamming to LDPC