Patent ID: 9703629
Date: 2017-07-11
CPC Classifications: G06F,G11C

Claim:
1. A method comprising: receiving a write command with a set of data that is temporarily stored at a first memory page, wherein a copy of the set of data is temporarily stored at a second memory page; reading, from the first memory page, the set of data; in response to determining that a number of bits in error in the set of data exceed a threshold for an error correction code (ECC) engine, reading, from the second memory page, the copy of the set of data; in response to determining that a number of bits in error in the copy of the set of data exceed the threshold for the ECC engine, comparing the set of data with the copy of the set of data; modifying the ECC engine based on the comparison; processing the set of data and the copy of the set of data using the modified ECC engine to correct errors; and storing the data permanently, based on the comparison after the errors are corrected.