Method for reading and writing and memory device
AssigneeChangxin Memory Technologies, Inc.
InventorShuliang Ning
Life of this patent
Estimating the term…
Abstract
The embodiments provide a method for reading and writing and a memory device. The method includes: applying a read command to the 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; and 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.
Claims17
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.
A memory device, comprising:
- a command receiving unit, configured to receive a read/write command;
- a memory cell, configured to correspond to address information pointed to by the read/write command;
- an execution unit, configured to perform a read/write operation on the memory cell;
- a marking unit, configured to store address information and mark information corresponding to the address information, wherein the mark information records whether the address information is valid or invalid;
- a non-volatile memory cell, configured to back up the address information and the mark information according to a preset rule;
- and
- a loading unit, wherein the loading unit is connected to the marking unit and the non-volatile memory cell, the loading unit being configured to load the address information and the mark information backed up in the non-volatile memory cell into the marking unit.
Dependencies are inferred from the claim text.