CPC G11C 29/42 (2013.01) [G11C 29/1201 (2013.01); G11C 29/18 (2013.01); G11C 29/4401 (2013.01); H03K 19/17728 (2013.01); G11C 2029/1802 (2013.01)] | 17 Claims |
1. A method for reading and writing, comprising:
applying a read command to a memory device, the read command pointing to address information;
reading data to be read out from a memory cell corresponding to the address information pointed to by the read command;
setting a mark of the address information pointed to by the read command as invalid if an error occurs in the data to be read out, and backing up the address information pointed to by the read command and the mark into a non-volatile memory cell according to a preset rule, wherein the preset rule is a preset cycle or a preset action; and
loading the address information and the mark from the non-volatile memory cell after the memory device is enabled, wherein address information not marked as invalid is initially set as valid.
|