Patent ID: 8607124

Claim:
A method for selecting a first read threshold, the method comprising: performing a first read attempt of multiple codeword portions using a first read threshold candidate to provide multiple first read results; calculating a first read threshold candidate error correction decoding based score, the calculation including error correction decoding of the multiple first read results; performing a second read attempt of the multiple codeword portions using a second read threshold candidate to provide multiple second read results; calculating a second read threshold candidate error correction decoding based score, the calculation including error correction decoding of the multiple second read results; comparing the first and the second read threshold candidate error correction decoding based scores; selecting a first read threshold based on a result of the comparing step; error-correction decoding of the multiple first read results to provide multiple first decoding results; assigning a score to each of the multiple first decoding result; and calculating the first read threshold candidate error correction decoding based score using the assigned scores of the multiple first decoding results.