# US 2025/0094073 A1 · Flash memory controller and methods for executing cache erase operation

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

- Number: US 2025/0094073 A1
- Document ID: US20250094073A1
- Status: Published application
- Kind: A1
- Application number: 18/815,467
- Filed: 2024-08-26
- Published: 2025-03-20
- Earliest claimed: 2023-09-14
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion Inc.
- Inventors: Hsiao-chang YEN; Tsu-han LU
- Web page: https://patentgrep.com/patent/US20250094073A1

## CPC

- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A flash memory controller and a method for executing a cache erase operation are provided. The flash memory controller includes a first interface circuit and a processor. The first interface circuit is coupled to a flash memory to transmit data and commands. The processor is coupled to the first interface circuit to access the flash memory. The processor controls the first interface circuit to transmit a first command sequence and a second command sequence to the flash memory. The first command sequence includes a first command and a second command. In response to the transmission of the second command, the flash memory performs an erase operation. When the array ready status bit is in a non-ready status, the second command sequence is transmitted to the flash memory, so that related operations that will use a bus are performed while executing the erase operation to improve transmission efficiency.

## Claims

### Claim 1

A flash memory controller for controlling a flash memory, wherein the flash memory controller comprises:
a first interface circuit coupled to the flash memory to transmit data and commands; and
a processor coupled to the first interface circuit to access the flash memory through the first interface circuit, wherein the processor controls the first interface circuit to transmit a first command sequence and a second command sequence to the flash memory; and
wherein the first command sequence comprises a first command and a second command, the first command is configured to instruct the flash memory to receive address information, and in response to the transmission of the second command, the flash memory executes an erase operation corresponding to the address information, and when an array ready status bit is in a non-ready status, the second command sequence is transmitted to the flash memory.

### Claim 2 (depends on 1)

The flash memory controller of claim 1, wherein the flash memory is in the non-ready status when the array ready status bit of the flash memory is set to 0, and the flash memory is in a ready status when the array ready status bit of the flash memory is set to 1.

### Claim 3 (depends on 1)

The flash memory controller of claim 1, wherein in response to the transmission of the second command, a ready status bit of the flash memory and the array ready status bit are set to 0, and after a first busy period, the ready status bit is set to 1 and the array ready status bit is set to 0.

### Claim 4 (depends on 1)

The flash memory controller according to claim 1, wherein the processor controls the first interface circuit to transmit a set feature command sequence to the flash memory before transmitting the first command sequence, the set feature command sequence is configured to enable the flash memory controller to transmit the second command sequence to the flash memory when the array ready status bit is in the non-ready status.

### Claim 5 (depends on 1)

The flash controller memory of claim 1, wherein the second command sequence comprises the same commands as the first command sequence, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 6 (depends on 1)

The flash controller memory of claim 1, wherein the second command sequence is configured to instruct the flash memory to execute a read operation, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 7 (depends on 1)

The flash controller memory of claim 1, wherein the second command sequence is configured to instruct the flash memory to execute a write operation, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 8

A method for executing a cache erase operation in a flash memory controller, wherein the flash memory controller is coupled to a flash memory to transmit data and commands, the method comprises:
transmitting a first command sequence to the flash memory, wherein the first command sequence comprises a first command and a second command, and the first command is configured to instruct the flash memory to receive address information; and
executing, by the flash memory, an erase operation corresponding to the address information in response to the transmission of the second command, and transmitting a second command sequence to the flash memory when an array ready status bit is in a non-ready status.

### Claim 9 (depends on 8)

The method for executing the cache erase operation in the flash memory controller of claim 8, wherein the flash memory is in the non-ready status when the array ready status bit of the flash memory is set to 0, and the flash memory is in a ready status when the array ready status bit of the flash memory is set to 1.

### Claim 10 (depends on 8)

The method for executing the cache erase operation in the flash memory controller of claim 8, wherein before transmitting the first command sequence, the method further comprises:
transmitting a set feature command sequence to the flash memory, wherein in response to the transmission of the set feature command sequence, the flash memory controller is capable of transmitting the second command sequence to the flash memory when the array ready status bit is in the non-ready status.

### Claim 11 (depends on 8)

The method for executing the cache erase operation in the flash memory controller of claim 8, wherein the second command sequence comprises the same commands as the first command sequence, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 12 (depends on 8)

The method for executing the cache erase operation in the flash memory controller of claim 8, wherein the second command sequence is configured to instruct the flash memory to execute a read operation, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 13 (depends on 8)

The method for executing the cache erase operation in the flash memory controller of claim 8, wherein the second command sequence is configured to instruct the flash memory to execute a write operation, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 14

A method for executing a cache erase operation in a flash memory, comprising:
receiving a first command sequence, and receiving address information in response to the receiving of a first command of the first command sequence;
executing an erase operation corresponding to the address information and setting an array ready status bit to a non-ready status in response to the receiving of a second command of the first command sequence; and
receiving a second command sequence while the array ready status bit is in the non-ready status.

### Claim 15 (depends on 14)

The method for executing the cache erase operation in the flash memory of claim 14,
wherein the flash memory is in the non-ready status when the array ready status bit is set to 0, and the flash memory is in a ready status when the array ready status bit is set to 1.

### Claim 16 (depends on 14)

The method for executing the cache erase operation in the flash memory of claim 14, wherein before receiving the first command sequence, the method further comprises:
receiving a set feature command sequence, wherein in response to the receiving of the set feature command sequence, the flash memory is capable of receiving the second command sequence when the array ready status bit is in the non-ready status.

### Claim 17 (depends on 14)

The method for executing the cache erase operation in the flash memory of claim 14, wherein the second command sequence comprises the same commands as the first command sequence, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 18 (depends on 14)

The method for executing the cache erase operation in the flash memory of claim 14, wherein the second command sequence is configured to instruct the flash memory to execute a read operation, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.

### Claim 19 (depends on 14)

The method for executing the cache erase operation in the flash memory of claim 14, wherein the second command sequence is configured to instruct the flash memory to execute a write operation, and during a timing interval of the flash memory executing operations corresponding to the first command sequence and the second command sequence, the array ready status bit remains in the non-ready status.
