The present disclosure relates to memory system and operation thereof.
The demands of storage capacity of host memory, e.g., dynamic random-access memory (DRAM), is growing, but the cost of host memory is still high. Using part of external memory, e.g., solid-state drive (SSD), to make up the short of the host memory is a feasible solution. Designing the external memory to fit the additional function is worth paying attention to.
In one aspect, a memory system, coupled to a host memory, includes a memory device, including first memory cells and second memory cells, and a memory controller, coupled to a host and the memory device, configured to write a first data to the first memory cells and/or a second data to the second memory cells. The first data includes user data, and the second data includes swap data from the host memory.
In some implementations, the memory controller includes a cache, configured to receive the first data and/or the second data; a processor, configured to, in response to a command of writing, write the first data to the first memory cells according to a first address signal, and/or write the second data to the second memory cells according to a second address signal.
In some implementations, the processor is further configured to, based on a logical to physical address mapping table, transfer a logical address of the first address signal and/or a second address signal to a physical address.
In some implementations, the processor is further configured to count cycle times of the second memory cells. When the cycle times are greater than or equal to a lifetime threshold, the operation of writing the second data to the second memory cells is prohibited.
In some implementations, the processor is further configured to write the second data to the first memory cells.
In some implementations, the memory cells of the second memory cells are single level cells (SLC).
In some implementations, the memory cells of the first memory cells are multi level cells (MLC), trinary level cells (TLC), or quad level cells (QLC).
In another aspect, a method for operating a memory system coupled to a host memory includes receiving a first data and/or a second data. The first data includes user data, and the second data includes swap data from the host memory. The method also includes writing the first data to first memory cells of a memory device and/or the second data to second memory cells of the memory device.
In some implementations, the method further includes receiving a command of writing, a first address signal and/or a second address signal, in response to the command of writing, writing the first data to the first memory cells according to the first address signal, and writing the second data to the second memory cells according to the second address signal.
In some implementations, the method further includes based on a logical to physical address mapping table, transferring a logical address of the first address signal and/or the second address signal to a physical address.
In some implementations, the method further includes counting cycle times of the second memory cells. When the cycle times is greater than or equal to a lifetime threshold, the operation of writing the second data to the second memory cells is prohibited.
In some implementations, the method further includes writing the second data to the first memory cells.
In another aspect, a memory system, coupled to a host memory, includes a memory device, including first memory cells and second memory cells, and a memory controller, coupled to a host and the memory device, configured to read a first data from the first memory cells and/or a second data from the second memory cells. The first data includes user data, and the second data includes swap data from the host memory.
In some implementations, the memory controller includes a processor, configured to, in response to a command of reading, read the first data from the first memory cells according to a first address signal, and read the second data from the second memory cells according to a second address signal.
In some implementations, the processor is further configured to, based on a logical to physical address mapping table, transfer a logical address of the first address signal and/or the second address signal to a physical address.
In some implementations, the processor is further configured to count cycle times of the second memory cells. When the cycle times is greater than or equal to a lifetime threshold, the operation of reading the second data from the second memory cells is prohibited.
In some implementations, the memory cells of the second memory cells are single level cells (SLC).
In some implementations, the memory cells of the first memory cells are multi level cells (MLC), trinary level cells (TLC), or quad level cells (QLC).
In another aspect, a method for operating a memory system coupled to a host memory, includes receiving a command of reading, a first address signal and/or a second address signal, and reading the first data from first memory cells of a memory device and/or a second data from second memory cells of the memory device. The first data includes user data, and the second data includes swap data from the host memory.
In some implementations, the method further includes, based on a logical to physical address mapping table, transferring a logical address of the first address signal and/or the second address signal to a physical address.
In some implementations, the method further includes counting the cycle times of the second memory cells. When the cycle times are greater than or equal to a lifetime threshold, the operation of reading the second data from the second memory cells is prohibited.
The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate aspects of the present disclosure and, together with the description, further serve to explain the present disclosure and to enable a person skilled in the pertinent art to make and use the present disclosure.
Aspects of the present disclosure will be described with reference to the accompanying drawings.
Although specific configurations and arrangements are described, it should be understood that this is done for illustrative purposes only. As such, other configurations and arrangements can be used without departing from the scope of the present disclosure. Also, the present disclosure can also be employed in a variety of other applications. Functional and structural features as described in the present disclosure can be combined, adjusted, and modified with one another and in ways not specifically depicted in the drawings, such that these combinations, adjustments, and modifications are within the scope of the present disclosure.
In general, terminology may be understood at least in part from usage in context. For example, the term “one or more” as used herein, depending at least in part upon context, may be used to describe any feature, structure, or characteristic in a singular sense or may be used to describe combinations of features, structures or characteristics in a plural sense. Similarly, terms, such as “a,” “an,” or “the,” again, may be understood to convey a singular usage or to convey a plural usage, depending at least in part upon context. In addition, the term “based on” may be understood as not necessarily intended to convey an exclusive set of factors and may, instead, allow for existence of additional factors not necessarily expressly described, again, depending at least in part on context.
Host 108 can be a processor of an electronic device, such as a central processing unit (CPU), or a system-on-chip (SoC), such as an application processor (AP). Host 108 can be coupled to memory controller 106 and configured to send or receive data to or from memory devices 104 through memory controller 106. For example, host 108 may send the program data in a program operation or receive the read data in a read operation. Host processor 112 can be a control unit (CU), or an arithmetic & logic unit (ALU). Host memory 110 can be memory units including register or cache memory. Host 108 is configured to receive and transmit instructions and commands to and from memory controller 106 of memory device 102, and execute or perform multiple functions and operations provided in the present disclosure, which will be described later.
Memory device 104 can be any memory device disclosed in the present disclosure, such as a NAND Flash memory device, which includes a page buffer having multiple portions, for example, four quarters. It is noted that the NAND Flash is only one example of the memory device for illustrative purposes. It can include any suitable solid-state, non-volatile memory, e.g., NOR Flash, Ferroelectric RAM (FeRAM), Phase-change memory (PCM), Magnetoresistive random-access memory (MRAM), Spin-transfer torque magnetic random-access memory (STT-RAM), or Resistive random-access memory (RRAM), etc. In some implementations, memory device 104 includes a three-dimensional (3D) NAND Flash memory device.
Memory controller 106 can be implemented by microprocessors, microcontrollers (a.k.a. microcontroller units (MCUs)), digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, gated logic, discrete hardware circuits, and other suitable hardware, firmware, and/or software configured to perform the various functions described below in detail.
Memory controller 106 is coupled to memory device 104 and host 108 and is configured to control memory device 104, according to some implementations. Memory controller 106 can manage the data stored in memory device 104 and communicate with host 108. In some implementations, memory controller 106 is designed for operating in a low duty-cycle environment like secure digital (SD) cards, compact Flash (CF) cards, universal serial bus (USB) Flash drives, or other media for use in electronic devices, such as personal computers, digital cameras, mobile phones, etc. In some implementations, memory controller 106 is designed for operating in a high duty-cycle environment SSDs or embedded multi-media-cards (eMMCs) used as data storage for mobile devices, such as smartphones, tablets, laptop computers, etc., and enterprise storage arrays. Memory controller 106 can be configured to control operations of memory device 104, such as read, erase, and program operations, by providing instructions, such as read instructions, to memory device 104. For example, memory controller 106 may be configured to provide a read instruction to the peripheral circuit of memory device 104 to control the read operation. Memory controller 106 can also be configured to manage various functions with respect to the data stored or to be stored in memory device 104 including, but not limited to bad-block management, garbage collection, logical-to-physical address conversion, wear leveling, etc. In some implementations, memory controller 106 is further configured to process error correction codes (ECCs) with respect to the data read from or written to memory device 104. Any other suitable functions may be performed by memory controller 106 as well, for example, formatting memory device 104.
Memory controller 106 can communicate with an external device (e.g., host 108) according to a particular communication protocol. For example, memory controller 106 may communicate with the external device through at least one of various interface protocols, such as a USB protocol, an MMC protocol, a peripheral component interconnection (PCI) protocol, a PCI-express (PCI-E) protocol, an advanced technology attachment (ATA) protocol, a serial-ATA protocol, a parallel-ATA protocol, a small computer small interface (SCSI) protocol, an enhanced small disk interface (ESDI) protocol, an integrated drive electronics (IDE) protocol, a Firewire protocol, etc.
Memory controller 106 and one or more memory devices 104 can be integrated into various types of storage devices, for example, being included in the same package, such as a universal Flash storage (UFS) package or an eMMC package. That is, memory system 102 can be implemented and packaged into different types of end electronic products. In one example as shown in
Memory control 106 is configured to receive and transmit commands to and from host 108, and execute or perform multiple functions and operations provided in the present disclosure, which will be described later.
In some implementations, each memory cell 306 is a single-level cell (SLC) that has two possible memory states and thus, can store one bit of data. For example, the first memory state “0” can correspond to a first range of voltages, and the second memory state “1” can correspond to a second range of voltages. In some implementations, each memory cell 306 is a multi-level cell (MLC) that is capable of storing more than a single bit of data in more than four memory states. For example, the MLC can store two bits per cell, three bits per cell (also known as triple-level cell (TLC)), or four bits per cell (also known as a quad-level cell (QLC)). Each MLC can be programmed to assume a range of possible nominal storage values. In one example, if each MLC stores two bits of data, then the MLC can be programmed to assume one of three possible programming levels from an erased state by writing one of three possible nominal storage values to the cell. A fourth nominal storage value can be used for the erased state.
As shown in
As shown in
In some implementations, the data of the main RAM 502 can be transferred to the ZRAM 504, and the transferred data can be software program. Further, the operation of data transfer can be triggered when the main RAM 502 is full, or anytime the host processor 112 depends. In some implementations, the operation of data transfer can be controlled by the host processor 112. In some implementations, the transferred data to the ZRAM 504 can be compressed data. The operation of data compression can be conducted in anytime, for example, before the data sent out from the main RAM 502, or during the process of transfer (after the data sent out from the main RAM 502 and before the data received by the ZRAM 504), or after the data received by the ZRAM 504. The compression operation can be controlled by host processor 112. In some implementations, the process of the operation can be, when the main RAM 502 is full, the host processor 112 controls the main RAM 502 transfer the data of main RAM 502 to the ZRAM 504, and the transferred data is compressed before it received by the ZRAM 504. In some implementations, the data transferred from main RAM 502 can be the data with lower access frequency than the data remained in the main RAM 502. In this case, the inactive data can be compressed and the storage capacity of the host memory 110 can be saved. For example, in an implementation of smart phone, presuming 5 applications are running and the programs of the 5 applications are stored in the main RAM 502, if 2 of the 5 applications are inactive, the programs of the 2 inactive applications can be compressed and stored in the ZRAM 504. So that, part of the storage capacity of the main RAM 502 can be released so that more programs can be stored in the host memory 110 which means more apps can run at the same time. In this case, the 2 inactive applications are still run in the background, and the programs of the 2 inactive applications can be decompressed when the 2 inactive applications are called.
The data in the host memory 110 also can be transferred to the memory device 104, and the data can be transferred from the ZRAM 504 or the main RAM 502. Further, the operation of data transfer can be triggered when the main RAM 502 or the main RAM 502 is full, or anytime the host processor 112 depends. In some implementations, the operation of data transfer can be controlled by the host processor 112. In some implementations, the ZRAM 504 transfers swap data to the memory system (e.g., SSD, UFS, eMMC), the swap data can be the compressed software program. The memory system can store the swap data, memory system can also send the swap data back to the host memory 110 (e.g., the ZRAM 504), so that the memory system can be a supplementary of the host memory 110. In some implementations, after the ZRAM 504 transfers the swap data to the memory system, the swap data in the ZRAM 504 can be deleted for releasing the storage capacity of the ZRAM 504. In some implementations, when the storage capacity of the ZRAM 504 is tight, the swap data corresponding to the inactive software or application can be transferred to the memory system from the ZRAM 504; when the inactive software or application is called, the corresponding swap data can be transferred to the ZRAM 504 from the memory system. In this case, more software or applications can be running at the same time.
The host processor 112 can send a command to the memory system to instruct the memory system to input or output the swap data. Further, the memory system can comprise the memory controller 106 and the memory device 104, the memory device 104 can be the NAND flash memory. The command and the swap data can be sent to memory controller 106, and the memory controller 106 can write the swap data to the memory device 104 according to the command. In some implementations, the host processor 112 also can send address signal to the memory controller, wherein the address signal comprises a logical address, and the controller can transfer the logical address to a physical address based on a L2P address mapping table. The L2P address mapping table can be stored in a DRAM of the memory system, the NAND flash, or the host memory 110. The physical address points to the memory cells of memory device 104, so that the memory controller 106 can write the swap data to the target memory cells, and the memory controller 106 can read the swap data from the target memory cells. In some implementations, when the storage capacity of the ZRAM 504 is tight, the swap data corresponding to the inactive software or application can be transferred to the memory device 104 from the ZRAM 504; when the inactive software or application is called, the corresponding swap data can be transferred to the ZRAM 504 from the memory device 104. In this case, more software or applications can be running at the same time.
In some implementations, big LUN 606, BOOT A 602 and BOOT B 604 can store user data, and the swap LUN 608 can store swap data. The user data can be the data received by host 108 or the data generated in the host 108. For example, in a smart phone with a UFS (the memory system), the user data can be the data input by user of the computer, or the data generated during the operation of host 108. In some implementations, BOOT A 602 and BOOT B 604 also can store system data, wherein the system data can be the system programs of an operation system. For example, in a smart phone with a UFS (the memory system), the system data stored in the BOOT A 602 or BOOT B 604 of the SSD can be the programs of Windows system. The memory controller 106 can write the user data to the memory cells corresponding to the big LUN 606, BOOT A 602 and BOOT B 604, and the memory controller 106 can read the user data from the memory cells corresponding to the big LUN 606, BOOT A 602 and BOOT B 604. Memory controller 106 can write the swap data to the memory cells corresponding to the swap LUN 608, and the memory controller 106 can read the swap data from the memory cells corresponding to the swap LUN 608. In other words, the memory cells for storing the swap data are separated from the memory cells for storing the user data. Because the swap data is accessed more frequently than the user data, the memory cells corresponding to the swap LUN 608 are worn out earlier than the memory cells corresponding to the big LUN 606, BOOT A 602 or BOOT B 604. Because the swap LUN 608 is separated from the big LUN 606, BOOT A 602 or BOOT B 604, the big LUN 606, BOOT A 602 and BOOT B 604 are not influenced by the frequent accesses of the swap LUN 608. If the memory cells corresponding to the swap LUN 608 is worn out, the memory cells corresponding to the big LUN 606, BOOT A 602 and BOOT B 604 are still programmable and readable.
In some implementations, the second memory cells 706 can be single level cells (SLC). Due to each memory cell stores one bit data, SLC can have better performance than multi level cells (MLC), trinary level cells (TLC), and quad level cells (QLC), e.g., less program time, less reading time, and more program/erase cycle times. Because the swap LUN 608 is accessed more frequently than the big LUN 606, BOOT A 602 and BOOT B 604, the second memory cells 706 demands better performance than the first memory cells 704. And the SLC can satisfy the performance demands of the second memory cells 706.
In some implementations, the first memory cells 704 can be MLC, TLC or QLC. Due to each memory cell stores 2/3/4 bits data, MLC, TLC and QLC can have larger storage capacity than SLC. Because the big LUN 606, BOOT A 602 and BOOT B 604 is accessed less frequently than the swap LUN 608 and demand for larger storage capacity, the first memory cells 704 demand for lower cost than the second memory cells 704. And the MLC, TLC and QLC can satisfy the low-cost demands of the first memory cells 704.
In some implementations, the memory controller 106 comprises a cache 702 and a controller processor 408. The cache 702 can be SRAM, DRAM, NAND flash, NOR flash or any other types of memory or electrical device. The controller processor 408 can be a control unit (CU), or an arithmetic & logic unit (ALU). For a writing operation, based on a command of writing, the cache 702 is configured to receive the first data and/or the second data, and controller processor 408 is configured to write the first data to the first memory cells 704 according to a first address signal, and/or write the second data to the second memory cells 706 according to a second address signal. In some implementations, the first address signal can comprise a first logical address points to the big LUN 606, BOOT A 602 and BOOT B 604. The controller processor 408 can transfer the first logical address to a first physical address based on an L2P address mapping table, and the first physical address corresponds to the first memory cells 704. Thus, memory controller 106 writes user data to the first memory cells 704 according to the first address signal. In some implementations, the second address signal can comprise a second logical address points to the swap LUN 608. The controller processor 408 can transfer the second logical address to a second physical address based on a L2P address mapping table, and the second physical address corresponds to the second memory cells 706. Thus, memory controller 106 writes swap data to the second memory cells 706 according to the second address signal. For a reading operation, based on a command of reading, the cache 702 is configured to receive the first data and/or the second data, and controller processor 408 is configured to read the first data from the first memory cells 704 according to a second address signal, and/or read the second data from the second memory cells 706 according to a second address signal. In some implementations, the second address signal can comprise a first logical address points to the big LUN 606, BOOT A 602 and BOOT B 604. The controller processor 408 can transfer the first logical address to a first physical address based on an L2P address mapping table, and the first physical address corresponds to the first memory cells 704. Thus, memory controller 106 reads user data from the first memory cells 704 according to the second address signal. In some implementations, the second address signal can comprise a second logical address points to the swap LUN 608. The controller processor 408 can transfer the second logical address to a second physical address based on a L2P address mapping table, and the second physical address corresponds to the second memory cells 706. Thus, memory controller 106 reads swap data from the second memory cells 706 according to the second address signal. In some implementations, for a writing operation, the memory processor can count the cycle times of the second memory cells 706, and compare the cycle times with a lifetime threshold, when the writing time reaches the lifetime threshold, the processor can prohibit to write the second data to the second memory cells 706. The cycle times can be the program/erase times. The swap LUN 608 is accessed more frequently than the big LUN 606, BOOT A 602 and BOOT B 604, so that the second memory cells 706 may be worn out earlier than the first memory cells 704. Counting cycle times of the SLC can monitor the rest of the life of the second memory cells 706. When the second memory cells 706 are wear out, the second memory cells 706 will be disabled in case of swap data loss. In some implementations, after the second memory cells 706 are disabled, the host 108 will not transfer swap data to the memory system. In other implementations, after the second memory cells 706 are disabled, the host 108 will still transfer swap data to the memory system, and the memory controller 106 will write the swap data to the first memory cells 704 according to the command provided by the host 108. In some implementations, for a reading operation, the memory processor can count the cycle times of the second memory cells 706, and compare the cycle times with a lifetime threshold, when the reading time reaches the lifetime threshold, the processor can prohibit to read the second data from the second memory cells 706. The cycle times can be the program/erase times. The swap LUN 608 is accessed more frequently than the big LUN 606, BOOT A 602 and BOOT B 604, so that the second memory cells 706 may be worn out earlier than the first memory cells 704. Counting cycle times of the SLC can monitor the rest of the life of the second memory cells 706. When the second memory cells 706 are wear out, the second memory cells 706 will be disabled in case of swap data loss. In some implementations, after the second memory cells 706 are disabled, the host 108 will not transfer swap data to the memory system. In other implementations, after the second memory cells 706 are disabled, the host 108 will still transfer swap data to the memory system, and the memory controller 106 will read the swap data from the first memory cells 704 according to the command provided by the host 108.
Referring to
In some implementations, the memory system can comprise the memory controller and the memory device, the memory device can be the NAND flash memory. The memory device can comprise first memory cells and second memory cells.
In operation 804, as illustrated in
In some implementations, the memory controller is coupled between a host and the memory device, and the memory controller is configured to write a first data to the first memory cells and/or a second data to the second memory cells. In some implementations, the first memory cells can be the memory cells corresponding to big LUN, BOOT A and BOOT B, and the second memory cells can be the memory cells corresponding to swap LUN.
In some implementations, a command and the swap data can be sent to the memory controller, and the memory controller can write the swap data to the memory device according to the command of writing. In some implementations, the host processor also can send address signal to the memory controller, wherein the address signal can comprise a logical address, and the controller can transfer the logical address to a physical address based on a L2P address mapping table. The L2P address mapping table can be stored in a DRAM of the memory system, the NAND flash, or the host memory. The physical address points to the memory cells of the memory device, so that the memory controller can write the swap data to the target memory cells, and the memory controller can read the swap data from the target memory cells. In some implementations, when the storage capacity of the ZRAM is tight, the swap data corresponding to the inactive software or application can be transferred to the memory device from the ZRAM; when the inactive software or application is called, the corresponding swap data can be transferred to the ZRAM from the memory device. In this case, more software or applications can be running at the same time.
In some implementations, the memory controller comprises a cache and a controller processor. The cache can be SRAM, DRAM, NAND flash, NOR flash or any other types of memory or electrical device. The controller processor can be a control unit (CU), or an arithmetic & logic unit (ALU). The cache is configured to receive the first data and/or the second data, and controller processor is configured to write the first data to the first memory cells according to a first address signal, and/or write the second data to the second memory cells according to a address signal. In some implementations, the address signal can comprise a first logical address points to the big LUN, BOOT A and BOOT B. The controller processor can transfer the first logical address to a first physical address based on a L2P address mapping table, and the first physical address corresponds to the first memory cells. Thus, the memory controller writes user data to the first memory cells according to the address signal. In some implementations, the address signal can comprise a second logical address pointing to the swap LUN. The controller processor can transfer the second logical address to a second physical address based on an L2P address mapping table, and the second physical address corresponds to the second memory cells. Thus, the memory controller writes swap data to the second memory cells according to the address signal.
In some implementations, the memory processor can count the cycle times of the second memory cells, and compare the cycle times with a lifetime threshold, when the writing time reaches the lifetime threshold, the processor can prohibit to write the second data to the second memory cells. The cycle times can be the program/erase times. The swap LUN is accessed more frequently than the big LUN, BOOT A and BOOT B, so that the second memory cells may be worn out earlier than the first memory cells. Counting cycle times of the SLC can monitor the rest of the life of the second memory cells. When the second memory cells are worn out, the second memory cells will be disabled in case of swap data loss. In some implementations, after the second memory cells are disabled, the host will not transfer swap data to the memory system. In other implementations, after the second memory cells are disabled, the host will still transfer swap data to the memory system, and the memory controller will write the swap data to the first memory cells according to the command provided by the host.
Referring to
In some implementations, the memory system can comprise the memory controller and the memory device, the memory device can be the NAND flash memory. The memory device can comprise first memory cells and second memory cells.
In the operation 904, as illustrated in
In some implementations, the memory controller is coupled between a host and the memory device, and the memory controller is configured to read a first data from the first memory cells and/or a second data from the second memory cells. In some implementations, the first memory cells can be the memory cells corresponding to big LUN, BOOT A and BOOT B, and the second memory cells can be the memory cells corresponding to swap LUN.
In some implementations, a command and the swap data can be sent to the memory controller, and the memory controller can read the swap data from the memory device according to the command of reading. In some implementations, the host processor also can send address signal to the memory controller, wherein the address signal can comprise a logical address, and the controller can transfer the logical address to a physical address based on a L2P address mapping table. The L2P address mapping table can be stored in a DRAM of the memory system, the NAND flash, or the host memory. The physical address points to the memory cells of the memory device, so that the memory controller can read the swap data from the target memory cells, and the memory controller can read the swap data from the target memory cells. In some implementations, when the storage capacity of the ZRAM is tight, the swap data corresponding to the inactive software or application can be transferred to the memory device from the ZRAM; when the inactive software or application is called, the corresponding swap data can be transferred to the ZRAM from the memory device. In this case, more software or applications can be running at the same time.
In some implementations, the memory controller comprises a cache and a controller processor. The cache can be SRAM, DRAM, NAND flash, NOR flash or any other types of memory or electrical device. The controller processor can be a control unit (CU), or an arithmetic & logic unit (ALU). The cache is configured to receive the first data and/or the second data, and controller processor is configured to read the first data from the first memory cells according to a first address signal, and/or read the second data from the second memory cells according to a address signal. In some implementations, the address signal can comprise a first logical address points to the big LUN, BOOT A and BOOT B. The controller processor can transfer the first logical address to a first physical address based on a L2P address mapping table, and the first physical address corresponds to the first memory cells. Thus, the memory controller reads user data from the first memory cells according to the address signal. In some implementations, the address signal can comprise a second logical address pointing to the swap LUN. The controller processor can transfer the second logical address to a second physical address based on an L2P address mapping table, and the second physical address corresponds to the second memory cells. Thus, the memory controller reads swap data from the second memory cells according to the address signal.
In some implementations, the memory processor can count the cycle times of the second memory cells, and compare the cycle times with a lifetime threshold, when the reading time reaches the lifetime threshold, the processor can prohibit to read the second data from the second memory cells. The cycle times can be the program/erase times. The swap LUN is accessed more frequently than the big LUN, BOOT A and BOOT B, so that the second memory cells may be worn out earlier than the first memory cells. Counting cycle times of the SLC can monitor the rest of the life of the second memory cells. When the second memory cells are worn out, the second memory cells will be disabled in case of swap data loss. In some implementations, after the second memory cells are disabled, the host will not transfer swap data to the memory system. In other implementations, after the second memory cells are disabled, the host will still transfer swap data to the memory system, and the memory controller will read the swap data from the first memory cells according to the command provided by the host.
The foregoing description of the specific implementations can be readily modified and/or adapted for various applications. Therefore, such adaptations and modifications are intended to be within the meaning and range of equivalents of the disclosed implementations, based on the teaching and guidance presented herein.
The breadth and scope of the present disclosure should not be limited by any of the above-described exemplary implementations, but should be defined only in accordance with the following claims and their equivalents.
This application is a continuation of International Application No. PCT/CN2022/125936, filed on Oct. 18, 2022, entitled “MEMORY SYSTEM AND OPERATION THEREOF,” which is hereby incorporated by reference in its entirety.
| Number | Date | Country | |
|---|---|---|---|
| Parent | PCT/CN2022/125936 | Oct 2022 | US |
| Child | 17992869 | US |