Patent ID: 8321757

Claim:
A method for handling error correction, the method comprising a) writing original data to a portion of a memory; b) subsequent to the writing, reading from the portion of the memory, thereby generating first read data; c) comparing the first read data to the original data; d) subsequent to the comparing, reading from the portion of the memory, thereby generating second read data; and e) in accordance with results of the comparing of step (c), correcting errors in the second read data wherein the correcting of errors includes effecting at least one of: i) choosing one of a first decoder and a second decoder in accordance with the results of the comparing of step (c) and correcting errors using only the chosen decoder of the first and second decoders; or ii) choosing one of a first mode of a decoder and a second mode of the decoder in accordance with the results of the comparing of step (c) and correcting errors using only the chosen mode of the first and second modes.