摘要 |
<p>When writing data to a first-type FM part, an FM controller of a flash memory device (A1) generates a redundant code, and (A2) writes the data and the redundant code. when reading the written data, the flash memory controller (B1) reads the data and the redundant code, (B2) corrects any bit errors based on the redundant code, (B3) generates error correction information including positions of the bit errors occurring and values before the bit errors occurred, and (B4) writes the error correction information to a second-type FM part. Subsequently, when reading the data, the flash memory controller (C1) reads the data and the redundant code, (C2) reads the error correction information, (C3) corrects the data and the redundant code based on the error correction information, (C4) corrects any bit errors based on the corrected redundant code, (C5) updates the error correction information by adding, to the error correction information, positions of the corrected bit errors and values before the bit errors occurred, and (C6) writes the updated error correction information to the second-type FM part.</p> |