# US 2021/0334045 A1 · Flash memory controller, flash memory module and associated electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0334045 A1
- Document ID: US20210334045A1
- Status: Published application
- Kind: A1
- Application number: 17/367,438
- Filed: 2021-07-05
- Published: 2021-10-28
- Earliest claimed: 2018-07-19
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc.
- Inventors: Tsung-Chieh Yang
- Web page: https://patentgrep.com/patent/US20210334045A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/064: {Management of blocks}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G11C 11/5621: {using charge storage in a floating gate}
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/08: Address circuits; Decoders; Word-line control circuits
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 16/28: using differential sensing or reference cells, e.g. dummy cells
- H03M 13/1105: {Decoding}
- G11C 2216/14: Circuits or methods to write a page or sector of information simultaneously into a nonvolatile memory, typically a complete row or word line in flash memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

The present invention provides a method for accessing a flash memory module, wherein the flash memory module comprises at least one flash memory chip, each flash memory chip comprises a plurality of blocks, each block comprises a plurality of pages, and the method comprises: sending a read command to the flash memory module to ask for data on at least one memory unit; and analyzing state information of a plurality of memory cells of the memory unit based on information from the flash memory module to determine a decoding method adopted by a decoder.

## Claims

### Claim 1

A flash memory controller, wherein the flash memory controller is coupled to a flash memory module, the flash memory module comprises at least one flash memory chip, each flash memory chip comprises a plurality of blocks, each block comprises a plurality of pages, and the flash memory controller comprising:
a memory, for storing a program code; and
a microprocessor, for executing the program code to access the flash memory module via a control logic;
wherein after the microprocessor sends a read command to the flash memory module to ask for data on at least one memory unit, the control logic only receives a plurality of first specific bits read from the memory cells of the at least one memory unit, and a decoder within the control logic uses the first specific bits to decode if a number of memory cells having a first state of a plurality of states that are supported by the memory cells exceeds a threshold; and the control logic receives the first specific bits and a plurality of second specific bits read from the memory cells of the at least one memory unit, and the decoder uses the first and second specific bits to decode if none of the number of memory cells with specific states exceeds the threshold;
wherein each memory cell of the at least one memory unit is configured to store a plurality of bits, the states are used to indicate different combinations of the plurality of bits, and each memory cell has only one state of the plurality of states.

### Claim 2 (depends on 1)

The flash memory controller of claim 1, wherein the control logic receives state information of the plurality of memory cells from the flash memory module, and the state information comprises numbers of states of the plurality of memory cells.

### Claim 3 (depends on 2)

The flash memory controller of claim 2, wherein the control logic determines if the numbers of states of the plurality of cells are balance or unbalance to generate a determination result; if the determination result indicates that the numbers of the states of the plurality of cells are balance, the decoder uses a first decoding method to decode data received from the flash memory controller; and if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the decoder uses a second decoding method to decode the data received from the flash memory controller.

### Claim 4 (depends on 3)

The flash memory controller of claim 3, wherein the first decoding method is a hard decoding method, and the second decoding method is a soft decoding method.

### Claim 5 (depends on 4)

The flash memory controller of claim 4, wherein if the determination result indicates that the numbers of the states of the plurality of cells are balance, the decoder uses the first decoding method to decode data received from the flash memory controller, wherein the data is obtained only from the state information of the plurality of cells; and if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the decoder uses the second decoding method to decode the data by using the state information of the plurality of cells and other information received from the flash memory module.

### Claim 6 (depends on 5)

The flash memory controller of claim 5, wherein each state is divided into a plurality of sub-ranges, and the other information is soft information indicating which sub-range of the state the memory cell has.

### Claim 7 (depends on 5)

The flash memory controller of claim 5, wherein if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the decoder directly uses the second decoding method to decode the data by using the state information of the plurality of cells and other information received from the flash memory module, without using the first decoding method.

### Claim 8 (depends on 5)

The flash memory controller of claim 5, wherein if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the control logic sends a signal to trigger the flash memory module to transmit the other information to the flash memory controller, and then the decoder uses the second decoding method to decode the data by using the state information of the plurality of cells and the other information received from the flash memory module.

### Claim 9 (depends on 3)

The flash memory controller of claim 3, wherein if the decoder fails to use the first decoding method to decode the data, the control logic sends a signal to trigger the flash memory module to transmit other information to the flash memory controller, and then the decoder uses the second decoding method to decode the data by using the state information of the plurality of cells and the other information received from the flash memory module.

### Claim 10

A method for accessing a flash memory module, wherein the flash memory module comprises at least one flash memory chip, each flash memory chip comprises a plurality of blocks, each block comprises a plurality of pages, and the method comprises:
sending a read command to the flash memory module to ask for data on at least one memory unit;
receiving a plurality of first specific bits read from the memory cells of the at least one memory unit and using the first specific bits to decode if a number of memory cells having a first state of a plurality of states that are supported by the memory cells exceeds a threshold; and
receiving the first specific bits and a plurality of second specific bits read from the memory cells of the at least one memory unit and using the first and second specific bits to decode if none of the number of memory cells with specific states exceeds the threshold;
wherein each memory cell of the at least one memory unit is configured to store a plurality of bits, the states are used to indicate different combinations of the plurality of bits, and each memory cell has only one state of the plurality of states.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
receiving state information of the plurality of memory cells from the flash memory module and the state information comprises numbers of states of the plurality of memory cells.

### Claim 12 (depends on 11)

The method of claim 11, wherein the step of analyzing the state information of the plurality of memory cells to determine the decoding method adopted by the decoder comprises:
determining if the numbers of states of the plurality of cells are balance or unbalance to generate a determination result;
if the determination result indicates that the numbers of the states of the plurality of cells are balance, the decoder uses a first decoding method to decode data received from the flash memory controller; and
if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the decoder uses a second decoding method to decode the data received from the flash memory controller.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first decoding method is a hard decoding method, and the second decoding method is a soft decoding method.

### Claim 14 (depends on 13)

The method of claim 13, wherein the step of the decoder using the first decoding method to decode data received from the flash memory controller comprises:
if the determination result indicates that the numbers of the states of the plurality of cells are balance, the decoder uses the first decoding method to decode data received from the flash memory controller, wherein the data is obtained only from the state information of the plurality of cells;
the step of the decoder using the second decoding method to decode the data received from the flash memory controller comprises:
if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the decoder uses the second decoding method to decode the data by using the state information of the plurality of cells and other information received from the flash memory module.

### Claim 15 (depends on 14)

The method of claim 14, wherein the other information is soft information indicating which sub-range of the state the memory cell has.

### Claim 16 (depends on 14)

The method of claim 14, wherein the step of the decoder using the first decoding method to decode data received from the flash memory controller comprises:
if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, the decoder directly uses the second decoding method to decode the data by using the state information of the plurality of cells and other information received from the flash memory module, without using the first decoding method.

### Claim 17 (depends on 14)

The method of claim 14, wherein the step of the decoder using the first decoding method to decode data received from the flash memory controller comprises:
if the determination result indicates that the numbers of the states of the plurality of cells are unbalance, sending a signal to trigger the flash memory module to transmit the other information to the flash memory controller, and then the decoder uses the second decoding method to decode the data by using the state information of the plurality of cells and the other information received from the flash memory module.

### Claim 18 (depends on 12)

The method of claim 12, further comprising:
if the decoder fails to use the first decoding method to decode the data, sending a signal to trigger the flash memory module to transmit other information to the flash memory controller; and
using the second decoding method to decode the data by using the state information of the plurality of cells and the other information received from the flash memory module.
