US 11,869,615 B2
Method for reading and writing and memory device
Shuliang Ning, Hefei (CN)
Assigned to CHANGXIN MEMORY TECHNOLOGIES, INC., Hefei (CN)
Filed by CHANGXIN MEMORY TECHNOLOGIES, INC., Hefei (CN)
Filed on Jun. 30, 2021, as Appl. No. 17/363,013.
Application 17/363,013 is a continuation of application No. PCT/CN2020/130389, filed on Nov. 20, 2020.
Claims priority of application No. 202010249989.5 (CN), filed on Apr. 1, 2020.
Prior Publication US 2021/0327531 A1, Oct. 21, 2021
Int. Cl. G11C 29/12 (2006.01); G11C 29/18 (2006.01); G11C 29/42 (2006.01); G11C 29/44 (2006.01); G11C 29/00 (2006.01)
CPC G11C 29/42 (2013.01) [G11C 29/18 (2013.01); G11C 29/4401 (2013.01); G11C 29/702 (2013.01)] 13 Claims
OG exemplary drawing
 
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;
associating the address information pointed to by the read command with a spare memory cell if an error occurs in the data to be read out;
generating an identification code configured for identifying the spare memory cell, wherein the address information pointed to by the read command is associated with the spare memory cell through the identification code; and
marking the address information pointed to by the read command as invalid if the error occurs in the data to be read out;
wherein address information not marked as invalid is initially set as valid;
wherein the reading data to be read out from a memory cell corresponding to the address information pointed to by the read command further comprises:
reading, from the memory cell corresponding to the address information pointed to by the read command, a first error correction code (ECC) corresponding to the data to be read out; and
wherein a method for determining whether an error occurs in the data to be read out comprises: decoding the first ECC to determine whether the error occurs in the data to be read out.