摘要 |
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.
|