Flash memory apparatus and storage management method for flash memory
Abstract
A flash memory method includes: classifying data into a plurality of groups of data; respectively executing error code encoding to generate first corresponding parity check code to store the groups of data and first corresponding parity check code into flash memory module as first blocks; reading out the groups of data from first blocks; executing error correction and de-randomize operation upon read out data to generate de-randomized data; executing randomize operation upon de-randomized data according to a set of seeds to generate randomized data; performing error code encoding upon randomized data to generate second corresponding parity check code; and, storing randomized data and second corresponding parity check code into flash memory module as second block; a cell of first block is used for storing data of first bit number which is different from second bit number corresponding to a cell of second block.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A flash memory apparatus, comprising: a flash memory module comprising a plurality of storage blocks; and a flash memory controller, coupled to the flash memory module, configured for enabling a single-level-cell (SLC) programming mode to determine a storage block of a chip of the flash memory module as an SLC block by sending a set feature command sequence which sequentially comprises a set feature command indicated by a hexadecimal value of EFh, a specific address of a control register of a chip of the flash memory module, and a specific hexadecimal value of 01h to be written into the control register, into the flash memory module, so as to make the chip of the flash memory module enter an SLC mode after the flash memory module receives the hexadecimal value of EFh and the specific hexadecimal value of 01h, the SLC block to be programmed based on an SLC programming; wherein the flash memory controller is used for: writing a plurality of groups of data into the flash memory module; ex
- Claim 2Depends on #1
The flash memory apparatus of claim 1, wherein the groups of data are read from the flash memory module to be read out data, and the flash memory controller comprises: a decoding circuit, configured for executing the error correction upon the read out data; a de-randomizer, coupled to the decoding circuit, configured for performing the de-randomize operation upon the read out data to generate the de-randomized data; a randomizer, coupled to the de-randomizer, configured for executing the randomize operation upon the de-randomized data according to a set of seeds to generate the randomized data; and an encoding circuit, coupled to the randomizer, configured for performing the error code encoding upon the randomized data to generate and write a corresponding parity check code into the flash memory module.
- Claim 3Depends on #1
The flash memory apparatus of claim 1, wherein the flash memory controller is arranged to enable a multiple-level-cell (MLC) programming mode by sending a set feature command sequence which sequentially comprises a set feature command indicated by a hexadecimal value of EFh, a specific address of a control register of a chip of the flash memory module, and a specific hexadecimal value of 02h to be written into the control register, into the flash memory module.
- Claim 4Depends on #1
The flash memory apparatus of claim 1, wherein the flash memory controller is arranged to enable a triple-level-cell (TLC) programming mode by sending a set feature command sequence which sequentially comprises a set feature command indicated by a hexadecimal value of EFh, a specific address of a control register of a chip of the flash memory module, and a specific hexadecimal value of 04h to be written into the control register, into the flash memory module.
- Claim 5Depends on #1
The flash memory apparatus of claim 1, wherein the flash memory controller is arranged to perform a TLC programming by sequentially sending a programming command indicated by a hexadecimal value of 80h as a start, information of an address to be programed, specific data to be programed, and a programming command indicated by a hexadecimal value of 10h as an end.
- Claim 6Depends on #5
The flash memory apparatus of claim 5, wherein the flash memory controller is arranged to change the TLC programming into the SLC programming by further sending a specific command/prefix indicated by a hexadecimal value of A2h before sending the programming command.
- Claim 7Depends on #1
The flash memory apparatus of claim 1, wherein the flash memory controller is arranged to send a specific command/prefix before sending an erase command, a read command, or a programming command so as to enable the SLC mode, and is arranged to send another specific command/prefix before sending the erase command, the read command, or the programming command so as to disable the SLC mode.
- Claim 8Independent Claim
A flash memory controller connected to a flash memory module having a plurality of storage blocks, the flash memory controller being configured for writing a plurality of groups of data into the flash memory module, and the flash memory controller comprises: a decoding circuit, configured for executing an error correction upon the groups of data; a de-randomizer, coupled to the decoding circuit, configured for performing a de-randomize operation upon the groups of data to generate de-randomized data; a randomizer, coupled to the de-randomizer, configured for executing a randomize operation upon the de-randomized data to generate randomized data; and an encoding circuit, coupled to the randomizer, configured for performing the error code encoding upon the randomized data; wherein the flash memory controller is arranged for writing the randomized data into the flash memory module; and, the flash memory controller is arranged to enable a single-level-cell (SLC) programming mode to determi
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation application of U.S. application Ser. No. 17/963,999 (now patented as U.S. Pat. No. 11,847,023 B2), filed on Oct. 11, 2022, which is a continuation application of U.S. application Ser. No. 17/242,326 (now patented as U.S. Pat. No. 11,500,722 B2), filed on Apr. 28, 2021, which is a continuation application of U.S. application Ser. No. 16/841,688 (now patented as U.S. Pat. No. 11,030,042 B2), filed on Apr. 7, 2020, which is a continuation application of U.S. application Ser. No. 16/184,925 (now patented as U.S. Pat. No. 10,713,115 B2), filed on Nov. 8, 2018, which is a continuation application of U.S. application Ser. No. 15/997,674 (now patented as U.S. Patent No. U.S. Pat. No. 10,157,098 B2), filed on Jun. 4, 2018, which is a continuation application of U.S. application Ser. No. 15/874,895 (now patented as U.S. Pat. No. 10,019,314 B2), filed on Jan. 19, 2018, which is a continuation-in-part of U.S. application Ser. No. 15/497,185 (now patented as U.S. Pat. No. 9,910,772 B2), filed on Apr. 25, 2017, which claims the benefit of U.S. Provisional Application No. 62/328,025, filed on Apr. 27, 2016. The contents of these applications are incorporated herein by reference. BACKGROUND OF THE INVENTION 1. Field of the Invention The invention relates to a flash memory apparatus, and more particularly to a flash memory apparatus and a corresponding storage management method for performing RAID-like (Redundant Array of Independent Disks-like) error correction code (ECC) encoding operation. 2. Description of the Prior Art Generally speaking, when performing data programming to program data into a single-level-cell (SLC) block or a multiple-level-cell (MLC) block, a conventional flash memory controller is usually arranged to program corresponding parity check codes of other data pages of a word line of a data block into the last data page of the word line, so that the conventional controller can use the corr
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 (80)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Cai et al.,
- “
- Error Patterns in MLC NAND Flash Memory: Measurement, Characterization, and Analysis
- ”
- , IEEE, Germany, 2012, pp. 1-6.
- Myeongwoon Jeon et al., Limited magnitude error locating parity check codes for flash memories, 2012 IEEE 55th International Midwest Symposium on Circuits and Systems (MWSCAS), p. 29-32, Sep. 5, 2012.
- Yaakobi et al.,
- “
- Error Characterization and Coding Schemes for Flash Memories
- ”