Patent ID: 7925960
Filing Date: 2011-04-12
Classification: G06F,H03M

Abstract:
1. A method for checking reading errors of a memory, comprising: receiving a first data fragment; generating a first error correction code (ECC) and a first count index according to the first data fragment, wherein the first count index is corresponding to a quantity of one kind of binary value in the first data fragment; writing the first data fragment, the first error correction code and the first count index into a memory; reading the first data fragment from the memory as a second data fragment; generating a second error correction code and a second count index according to the second data fragment; determining whether the first count index and the second count index are equal; determine whether the first error correction code and the second error correction code are equal; and outputting the second data fragment when the first count index and the second count index are equal, and the first error correction code and the second error correction code are equal.