Patent ID: 9116830
Filing Date: 2015-08-25
Classification: G06F

Abstract:
1. A method of error correction in a FLASH memory comprising the steps of: periodically checking the FLASH memory to find single erroneous bits employing an error correction code stored with data; determining whether an erroneous bit is a bit that should be 0 read as a 1 or a bit that should be 1 read as 0; if said erroneous bit is a bit that should be 0 read as a 1, then writing correct data into the smallest data portion in the FLASH memory that can be independently written including the erroneous bit; and if said erroneous bit is a bit that should be 1 read as 0, then copying the smallest data portion in the FLASH memory that can be independently erased including the erroneous bit into a scratch memory, wherein the smallest data portion in the FLASH memory that can be independently erased differs from the smallest data portion in the FLASH memory that can be independently written, erasing the smallest data portion in the FLASH memory that can be independently erased including the erroneous bit, and writing correct data from the scratch memory into the smallest data portion in the FLASH memory that can be independently erased including the erroneous bit.