Memory repairs
Memory devices can be protected (e.g., repaired) against hard bit errors by remapping logical pages to valid physical addresses and excluding those physical addresses having hard bit errors from being mapped to. The remapping can be done in unit of a finer granularity than a row of memory cells such that those valid memory cells within a row can still be used for the remapping despite that the row may include unusable memory cells.
1 . A method, comprising:
performing a scan operation to determine whether at least a portion of one or more arrays of memory cells of a memory device is bad by:
writing respective data patterns to a plurality of portions of the array of memory cells;
reading the data patterns from the plurality of portions; and
determining whether the data patterns read from the plurality of portions match the data patterns written to the plurality of portions to further determine whether the at least the portion of the array of memory cells is bad; and
repairing, responsive to one or more first memory cells of a first row of memory cells of a first array of memory cells being determined to be bad, the array by remapping one or more logical pages to:
one or more second memory cells of the first row of memory cells; and
one or more additional memory cells.
2 . The method of claim 1 , wherein:
the one or more additional memory cells are located on a second row of memory cells that is further located on a second array of memory cells; and
the method further comprises accessing data corresponding to the one or more logical pages by accessing the first and second arrays of memory cells substantially simultaneously.
3 . The method of claim 1 , further comprising performing the scan operation with an error correction code (ECC) feature disabled to not correct soft bit errors on the data patterns read from the plurality of portions.
4 . The method of claim 1 , further comprising performing the scan operation as a background operation.
5 . The method of claim 1 , further comprising performing the scan operation responsive to a power event of the memory device.
6 . The method of claim 1 , further comprising performing the scan operation during operation of the memory device.
7 . An apparatus, comprising:
an array of memory cells;
sensing circuitry coupled to the array of memory cells; and
a controller coupled to the array of memory cells, the controller configured to;
remap, in response to one or more first memory cells of a first row of memory cells of the array being determined to be bad, one or more logical pages to:
one or more second memory cells of the first row of memory cells; and
one or more spare memory cells of a second row of memory cells; and
to access the one or more second memory cells or the one or more spare memory cells mapped to the one or more logical pages:
activate a first portion of the sensing circuitry coupled to the one or more second memory cells or the one or more spare memory cells; and
maintain a second portion of the sensing circuitry not coupled to the one or more second memory cells or the one or more spare memory cells in a deactivated state.
8 . The apparatus of claim 7 , wherein:
the array of memory cells is one of a plurality of arrays of memory cells respectively corresponding to a plurality of banks; and
the first and second rows of memory cells are located in a first bank of the plurality of banks.
9 . The apparatus of claim 7 , wherein:
the array of memory cells is one of a plurality of arrays of memory cells respectively corresponding to a plurality of banks; and
the first row of memory cells is located in a first bank of the plurality of banks, while the second row of memory cells is located in a second bank of the plurality of banks.
10 . The apparatus of claim 9 , wherein the controller is configured to access multiple banks of the plurality of banks substantially simultaneously.
11 . The apparatus of claim 7 , wherein the one or more first memory cells and the one or more second memory cells correspond to a physical page having a dynamic random access memory (DRAM) page size.
12 . The apparatus of claim 7 , further comprising sensing circuitry coupled to the array of memory cells, the sensing circuitry comprising at least a plurality of sense amplifiers respectively coupled to the array of memory cells.
13 . An apparatus, comprising:
a memory device comprising a plurality of arrays of memory cells respectively corresponding to a plurality of banks; and
a controller coupled to the array of memory cells, the controller configured to communicate with the memory device according to a double data rate (DDR) protocol;
wherein the memory device comprises a control logic configured to access the plurality of arrays of memory cells in response to a command from the controller; and
wherein the controller is further configured to remap, in response to one or more first memory cells of a first row of memory cells of a first bank being determined to be bad, one or more logical pages to:
one or more second memory cells of the first row of memory cells of the first bank; and
one or more third memory cells of a second row of memory cells of a second bank.
14 . The apparatus of claim 13 , wherein the controller is further configured to store a logical to physical (L2P) table indicative of a mapping between logical addresses and physical addresses of the plurality of arrays.
15 . The apparatus of claim 14 , wherein the controller is configured to store the L2P table in a cache of the controller.
16 . The apparatus of claim 14 , wherein the L2P table further comprises a number of bits, each bit of the number of bits indicative of whether a logical address of a respective entry is mapped to different rows of memory cells or not.
17 . The apparatus of claim 13 , wherein the control logic is configured to store a logical to physical (L2P) table indicative of a mapping between logical addresses and physical addresses of the plurality of arrays.
18 . An apparatus, comprising:
a plurality of arrays of memory cells respectively corresponding to a plurality of banks; and
a controller coupled to the array of memory cells, the controller configured to:
access the array of memory cells according to a double data rate (DDR) protocol;
remap, in response to one or more first memory cells of a first row of memory cells of a first bank being determined to be bad, one or more logical pages to:
one or more second memory cells of the first row of memory cells of the first bank; and
one or more third memory cells of a second row of memory cells of a second bank;
wherein the controller is further configured to store a logical to physical (L2P) table indicative of a mapping between logical addresses and physical addresses of the plurality of arrays; and
wherein the L2P table further comprises a number of bits, each bit of the number of bits indicative of whether a logical address of a respective entry is mapped to different rows of memory cells or not.