Patent ID: 9600363
Date: 2017-03-21
CPC Classifications: G06F,G11C,H03M

Claim:
1. A data accessing method for a memory storage apparatus, wherein the memory storage apparatus has a rewritable non-volatile memory module, the rewritable non-volatile memory module has a plurality of physical erasing units, and each of the physical erasing units has a plurality of physical programming units, the data accessing method comprising: receiving a first data stream, generating a first check code corresponding to the first data stream by using a first check code circuit, and generating a first data set according to the first data stream and the first check code corresponding to the first data stream; obtaining the first data stream and the first check code corresponding to the first data stream from the first data set by using a second check code circuit and checking the first data stream by using the first check code corresponding to the first data stream; generating a second check code according to information corresponding to the checked first data stream by using a third check code circuit; generating an error checking and correcting code by using an error checking and correcting circuit; generating a data frame according to the checked first data stream, the second check code, and the error checking and correcting code; and writing the data frame to a first physical programming unit of the physical programming units, wherein the first check code circuit is different from the third check code circuit.