Data storage device and method for operating non-volatile memory
AssigneeSilicon Motion, Inc.
InventorYing-Chun Hung
Life of this patent
Estimating the term…
Abstract
An optimized operating method for a non-volatile memory. A microcontroller allocates the non-volatile memory to store write data issued by a host. The microcontroller dynamically adjusts a first-writing-mode threshold. The first-writing-mode threshold value is provided for the microcontroller to determine whether to use a first writing mode to allocate the non-volatile memory to store the write data issued by the host. In comparison with the first writing mode, more bits of data are stored in one storage cell in a second writing mode.
Claims12
A data storage device, comprising:
- a non-volatile memory;
- and
- a microcontroller, allocating blocks of the non-volatile memory to store write data issued by a host,
- wherein:
- the microcontroller dynamically adjusts a first-writing-mode threshold;
- the first-writing-mode threshold value is provided for the microcontroller to determine whether to use a first writing mode or a second writing mode to allocate the blocks of the non-volatile memory to store the write data issued by the host;
- in comparison with the first writing mode, more bits of data are stored in one storage cell in the second writing mode;
- when available blocks of the non-volatile memory is greater than the first-writing-mode threshold, the microcontroller programs the write data issued by the host to the non-volatile memory in the first writing mode;
- when available blocks of the non-volatile memory is not greater than the first-writing-mode threshold, the microcontroller programs the write data issued by the host to the non-volatile memory in the second writing mode;
- when releasing a space of the non-volatile memory by background operations, the microcontroller decreases the first-writing-mode threshold;
- and
- the microcontroller performs the background operations without being requested to by the host.
A method for operating a non-volatile memory, comprising:
- allocating blocks of a non-volatile memory to store write data issued by a host;
- dynamically adjusting a first-writing-mode threshold;
- based on the first-writing-mode threshold value, determining whether to use a first writing mode or a second writing mode to allocate the blocks of the non-volatile memory to store the write data issued by the host,
- wherein:
- in comparison with the first writing mode, more bits of data are stored in one storage cell in the second writing mode;
- when available blocks of the non-volatile memory is greater than the first-writing-mode threshold, t the write data issued by the host is programmed to the non-volatile memory in the first writing mode;
- when available blocks of the non-volatile memory is not greater than the first-writing-mode threshold, the write data issued by the host is programmed to the non-volatile memory in the second writing mode;
- when releasing a space of the non-volatile memory by background operations, the first-writing-mode threshold is decreased;
- and
- the background operations are performed without being requested to by the host.
Dependencies are inferred from the claim text.