Method and apparatus for error code correction
First Claim
1. An error correction method for detecting and correcting an error in an ECC (error correction code) block read from a storage medium, said ECC block including a PI (parity of inner-code) block and a PO (parity outer-code) block, the method comprising:
- executing a first directional ECC decoding and a second directional ECC decoding iteratively if a retry count of one of said first directional ECC decoding and said second directional ECC decoding being less than a first threshold count, otherwise regarding as ECC failure (skipping out of the ECC method); and
executing the first directional ECC decoding and the second directional ECC decoding iteratively if an un-modified count of one of said first ECC decoding and said second ECC decoding being less than a second threshold count, otherwise regarding as ECC failure (skipping out of the ECC method).
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for ECC (error code correction) adopts a first directional first decoding, a first directional second decoding with a greater error tolerant ability than the first directional first decoding, a second directional first decoding, and a second directional second decoding with a greater error tolerant ability than the second directional first decoding. The ECC method includes steps of: read to be decoded; if there exists at least one solution cannot be efficiently solved after continuous executing the first directional first decoding and the second directional second decoding, execute the decoding action according to a predetermined flow control rule; if there exists no correction performed during the ECC decoding and switch to the other directional decoding, the un-modified value is added by one; and if the un-modified value reached a maximum un-modified value, an ECC failure is confirmed and then stop the ECC decoding.
17 Citations
16 Claims
-
1. An error correction method for detecting and correcting an error in an ECC (error correction code) block read from a storage medium, said ECC block including a PI (parity of inner-code) block and a PO (parity outer-code) block, the method comprising:
-
executing a first directional ECC decoding and a second directional ECC decoding iteratively if a retry count of one of said first directional ECC decoding and said second directional ECC decoding being less than a first threshold count, otherwise regarding as ECC failure (skipping out of the ECC method); and executing the first directional ECC decoding and the second directional ECC decoding iteratively if an un-modified count of one of said first ECC decoding and said second ECC decoding being less than a second threshold count, otherwise regarding as ECC failure (skipping out of the ECC method). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An error correction apparatus for detecting and correcting an error in an ECC (error correction code) block read from a storage medium, said ECC block including a PI (parity of inner-code) block and a PO (parity outer-code) block, the apparatus comprising:
-
means for executing a first directional ECC decoding and a second directional ECC decoding iteratively if a retry count of one of said first directional ECC decoding and said second directional ECC decoding being less than a first threshold count, otherwise regarding as ECC failure (skipping out of the ECC method); and means for executing the first directional ECC decoding and the second directional ECC decoding iteratively if an un-modified count of one of said first ECC decoding and said second ECC decoding being less than a second threshold count, otherwise regarding as ECC failure (skipping out of the ECC method). - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification