Data writing method for avoiding repeated writing, memory storage device, and memory control circuit unit
Abstract
A data writing method, a memory storage device, and a memory control circuit unit are provided. The method includes: receiving a write command from a host system, and the write command including first data; checking a status of a first physical programming unit in a first physical erasing unit; in response to the status of the first physical programming unit being a first status, sending a first command sequence to a rewritable non-volatile memory module, and the first command sequence being configured to instruct the rewritable non-volatile memory module to store at least part of the first data to the first physical programming unit.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A data writing method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical erasing units, the physical erasing units comprise a first physical erasing unit, and the data writing method comprises: receiving a write command from a host system, wherein the write command comprises first data; before storing the first data, checking a status of a first physical programming unit in the first physical erasing unit, wherein the first physical programming unit is determined according to the first data; and in response to the status of the first physical programming unit being a first status, sending a first command sequence, wherein the first command sequence is configured to instruct the rewritable non-volatile memory module to store at least part of the first data to the first physical programming unit, wherein the step of checking the status of the first physical programming unit in the first physical erasing unit co
- Claim 2Depends on #1
The data writing method according to claim 1, further comprising: according to a data amount of the first data and a capacity of a physical programming unit, determining a total number of the first physical programming unit.
- Claim 3Depends on #1
The data writing method according to claim 1, wherein the physical erasing units further comprise a second physical erasing unit, and the data writing method further comprises: in response to the status of the first physical programming unit not being the first status, sending a second command sequence, wherein the second command sequence is configured to instruct the rewritable non-volatile memory module to store the at least part of the first data to the second physical programming unit.
- Claim 4Depends on #3
The data writing method according to claim 3, further comprising: in response to the status of the first physical programming unit not being the first status, sending a third command sequence, wherein the third command sequence is configured to instruct the rewritable non-volatile memory module to move at least part of data in the first physical erasing unit to the second physical erasing unit.
- Claim 5Depends on #1
The data writing method according to claim 1, wherein the step of checking the status of the first physical programming unit in the first physical erasing unit comprises: sending a fourth command sequence, wherein the fourth command sequence is configured to instruct the rewritable non-volatile memory module to execute a read operation on the first physical programming unit to obtain status data corresponding to the first physical programming unit, wherein the status data reflects a status of at least part of memory cells in the first physical programming unit; and determining the status of the first physical programming unit according to the status data.
- Claim 6Depends on #5
The data writing method according to claim 5, wherein the step of determining the status of the first physical programming unit according to the status data comprises: according to specific data in the status data, judging that the status of the first physical programming unit is not the first status, wherein the specific data reflects that at least one memory cell in the first physical programming unit is not in an erasure status.
- Claim 7Depends on #5
The data writing method according to claim 5, wherein the first physical programming unit comprises P memory cells, and the status data reflects statuses of Q memory cells in the first physical programming unit, where Q is less than P.
- Claim 8Independent Claim
A memory storage device, comprising: a host interface unit, configured to couple to a host system; a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical erasing units, and the physical erasing units comprise a first physical erasing unit; and a memory control circuit unit, coupled to the host interface unit and the rewritable non-volatile memory module, wherein the memory control circuit unit is configured to: receive a write command from the host system, wherein the write command comprises first data; before storing the first data, check a status of a first physical programming unit in the first physical erasing unit, wherein the first physical programming unit is determined according to the first data; and in response to the status of the first physical programming unit being a first status, send a first command sequence, wherein the first command sequence is configured to instruct the rewritable non-volatile memo
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application claims the priority benefit of Taiwan application serial no. 111134061, filed on Sep. 8, 2022. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification. BACKGROUND Technical Field The disclosure relates to a memory management technology, and more particularly to a data writing method, a memory storage device, and a memory control circuit unit. Description of Related Art Portable electronic devices such as mobile phones and notebook computers have grown rapidly in the past few years, which has led to a rapid increase in consumer demand for storage media. As the rewritable non-volatile memory module (for example, a flash memory) has characteristics such as non-volatile data, power saving, small volume, and no mechanical structure, the rewritable non-volatile memory module is very suitable for being built into the various portable electronic devices exemplified above. Traditionally, the write operation executed in the rewritable non-volatile memory module takes one or more physical pages as the basic unit to write data. However, in fact, when the rewritable non-volatile memory module writes data to a certain physical page (also referred to as a first physical page), the data may also be unexpectedly written to other physical pages (also referred to as a second physical page) due to “ word line short ” . Afterwards, when the second physical page is actually used to store data, the second physical page is repeatedly written, thereby causing a decrease in the accuracy of the data subsequently stored to the second physical page. SUMMARY The disclosure provides a data writing method, a memory storage device, and a memory control circuit unit, which can improve the above issue. An exemplary embodiment of the disclosure provides a data writing method for a rewritable non-volatile memory module. The rewritable non-volatile memory module include
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (6)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (4)
- “
- Office Action of Taiwan Counterpart Application
- ”
- , issued on Jun. 12, 2023, p. 1-p. 5.