# US 2024/0004550 A1 · Flash memory controller and method capable of using one set-feature signal as a macro execution signal to execute multiple set-feature operations for flash memory device

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

- Number: US 2024/0004550 A1
- Document ID: US20240004550A1
- Status: Published application
- Kind: A1
- Application number: 17/852,385
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Silicon Motion, Inc.
- Applicants: Silicon Motion, Inc.
- Inventors: Tsu-Han Lu; Hsiao-Chang Yen
- Web page: https://patentgrep.com/patent/US20240004550A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0658: {Controller construction arrangements}
- 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 method of a flash memory controller to be used in a storage device and coupled to a flash memory device of the storage device through a specific communication interface includes: using a set-feature signal, which carries a set-feature command, a macro execution feature address, and corresponding macro execution parameter information, as a macro execution signal and transmitting the macro execution signal to the flash memory device to make the flash memory device execute multiple set-feature operations respectively having unique information defined by the corresponding macro execution parameter information carried in the macro execution signal.

## Claims

### Claim 1

A flash memory controller to be used in a storage device and coupled to a flash memory device of the storage device through a specific communication interface, comprising:
an input/output (I/O) circuit, coupled to the flash memory device through the specific communication interface, for sending commands and data between the flash memory device and a processor; and
the processor, coupled to the I/O circuit, for controlling the I/O circuit using a set-feature signal, which carries a set-feature command, a macro execution feature address, and corresponding macro execution parameter information, as a macro execution signal and transmitting the macro execution signal to the flash memory device to make the flash memory device execute multiple set-feature operations respectively having unique information defined by the corresponding macro execution parameter information carried in the macro execution signal.

### Claim 2 (depends on 1)

The flash memory controller of claim 1, wherein the corresponding macro execution parameter information comprises a parameter data which is used to indicate a starting position of index values of the multiple set-feature operations or a macro number corresponding to the multiple set-feature operations.

### Claim 3 (depends on 1)

The flash memory controller of claim 1, wherein the corresponding macro execution parameter information comprises a first parameter data and a second parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations, and the second parameter data is used to indicate an amount of index values of the multiple set-feature operations.

### Claim 4 (depends on 1)

The flash memory controller of claim 1, wherein the processor controls the I/O circuit sequentially transmitting a macro start signal, multiple set-feature signals corresponding to the multiple set-feature operations, and a macro end signal to the flash memory device; and, the macro start signal and the macro end signal comply with a signal format of a set-feature signal and are respectively used to indicate a start of the multiple set-feature signals and an end of the multiple set-feature signals.

### Claim 5 (depends on 4)

The flash memory controller of claim 4, wherein the macro start signal sequentially comprises a set-feature command, a macro start feature address, and corresponding macro start parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro start parameter information comprises a first parameter data, a second parameter data, and a third parameter data including a first parameter bit and a second parameter bit; the first parameter data is used to indicate a macro number of the multiple set-feature operations; the second parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the first parameter bit of the third parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the first parameter bit is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the second parameter bit is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the second parameter bit is set as the second logic bit, the macro record is cleared by the flash memory device.

### Claim 6 (depends on 4)

The flash memory controller of claim 4, wherein the macro end signal sequentially comprises a set-feature command, a macro end feature address, and corresponding macro end parameter information; the corresponding macro end parameter information comprises a first parameter data and a second parameter data; the first parameter data is used to indicate a macro number of the multiple set-feature operations; and, the second parameter data is used to indicate an ending position of index values of the multiple set-feature operations.

### Claim 7 (depends on 1)

The flash memory controller of claim 1, wherein the processor controls the I/O circuit sequentially transmitting a macro start signal and a macro end signal, which follows the macro start signal, to the flash memory device, to perform a set-feature function for a subset of the multiple set-feature operations; and, the macro start signal and the macro end signal comply with a signal format of a set-feature signal and are respectively used to indicate a start of the multiple set-feature signals and an end of the multiple set-feature signals.

### Claim 8 (depends on 4)

The flash memory controller of claim 4, wherein the macro start signal sequentially comprises a set-feature command, a macro start feature address, and corresponding macro start parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro start parameter information comprises a first parameter data, a second parameter data, and a third parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the second parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the second parameter data is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the third parameter data is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the third parameter data is set as the second logic bit, the macro record is cleared by the flash memory device.

### Claim 9 (depends on 4)

The flash memory controller of claim 4, wherein the macro end signal sequentially comprises a set-feature command, a macro end feature address, and corresponding macro end parameter information; the corresponding macro end parameter information comprises a first parameter data which is used to indicate an ending position of index values of the multiple set-feature operations.

### Claim 10 (depends on 4)

The flash memory controller of claim 4, wherein the macro start signal sequentially comprises a set-feature command, a specific macro feature address, and corresponding macro parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro parameter information comprises a first parameter data, a second parameter data, a third parameter data, and a four parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the second parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the second parameter data is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the third parameter data is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the third parameter data is set as the second logic bit, the macro record is cleared by the flash memory device; when the fourth parameter data is set as the first logic bit to indicate the macro start signal.

### Claim 11 (depends on 4)

The flash memory controller of claim 4, wherein the macro end signal sequentially comprises a set-feature command, a specific macro feature address, and corresponding macro parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro parameter information comprises a first parameter data, a second parameter data, a third parameter data, and a four parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the second parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the second parameter data is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the third parameter data is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the third parameter data is set as the second logic bit, the macro record is cleared by the flash memory device; when the fourth parameter data is set as the second logic bit to indicate the macro end signal.

### Claim 12 (depends on 1)

The flash memory controller of claim 1, wherein the processor controls the I/O circuit sequentially transmitting a prefix signal and a first set-feature signal, which follows the prefix signal, to generate and transmit a command sequence to the flash memory device; the prefix signal sequentially comprises a first macro command and an index value of the first set-feature signal which is followed by the set-feature command in the first set-feature signal; the first macro command is used to indicate not instantly executing a set-feature operation of the first set-feature signal when the first set-feature is received by the flash memory device.

### Claim 13 (depends on 1)

The flash memory controller of claim 1, wherein the processor controls the I/O circuit sequentially transmitting a prefix signal and a first set-feature signal, which follows the prefix signal, to generate and transmit a command sequence to the flash memory device; the prefix signal sequentially comprises a first macro command and an index value of the first set-feature signal which is followed by the set-feature command in the first set-feature signal; the first macro command is used to indicate instantly executing a set-feature operation of the first set-feature signal when the first set-feature is received by the flash memory device.

### Claim 14 (depends on 1)

The flash memory controller of claim 1, wherein a logical unit address number is positioned between the set-feature command and the macro execution feature address in the macro execution signal.

### Claim 15 (depends on 1)

The flash memory controller of claim 1, wherein the processor controls the I/O circuit sending a get-feature signal, which sequentially comprises a get-feature command and a logical unit address number, to the flash memory device to make the flash memory device send macro numbers, index values, or feature addresses of the multiple set-feature operations back to the flash memory controller.

### Claim 16

A method of a flash memory controller to be used in a storage device and coupled to a flash memory device of the storage device through a specific communication interface, comprising:
providing an input/output (I/O) circuit to send commands and data between the flash memory device and a processor; and
providing the processor, and using the processor for controlling the I/O circuit using a set-feature signal, which carries a set-feature command, a macro execution feature address, and corresponding macro execution parameter information, as a macro execution signal and transmitting the macro execution signal to the flash memory device to make the flash memory device execute multiple set-feature operations respectively having unique information defined by the corresponding macro execution parameter information carried in the macro execution signal.

### Claim 17 (depends on 16)

The method of claim 16, wherein the corresponding macro execution parameter information comprises a parameter data which is used to indicate a starting position of index values of the multiple set-feature operations or a macro number corresponding to the multiple set-feature operations.

### Claim 18 (depends on 16)

The method of claim 16, wherein the corresponding macro execution parameter information comprises a first parameter data and a second parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations, and the second parameter data is used to indicate an amount of index values of the multiple set-feature operations.

### Claim 19 (depends on 16)

The method of claim 16, further comprising:
sequentially transmitting a macro start signal, multiple set-feature signals corresponding to the multiple set-feature operations, and a macro end signal to the flash memory device; and, the macro start signal and the macro end signal comply with a signal format of a set-feature signal and are respectively used to indicate a start of the multiple set-feature signals and an end of the multiple set-feature signals.

### Claim 20 (depends on 19)

The method of claim 19, wherein the macro start signal sequentially comprises a set-feature command, a macro start feature address, and corresponding macro start parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro start parameter information comprises a first parameter data, a second parameter data, and a third parameter data including a first parameter bit and a second parameter bit; the first parameter data is used to indicate a macro number of the multiple set-feature operations; the second parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the first parameter bit of the third parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the first parameter bit is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the second parameter bit is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the second parameter bit is set as the second logic bit, the macro record is cleared by the flash memory device.

### Claim 21 (depends on 19)

The method of claim 19, wherein the macro end signal sequentially comprises a set-feature command, a macro end feature address, and corresponding macro end parameter information; the corresponding macro end parameter information comprises a first parameter data and a second parameter data; the first parameter data is used to indicate a macro number of the multiple set-feature operations; and, the second parameter data is used to indicate an ending position of index values of the multiple set-feature operations.

### Claim 22 (depends on 16)

The method of claim 16, further comprising:
sequentially transmitting a macro start signal and a macro end signal, which follows the macro start signal, to the flash memory device, to perform a set-feature function for a subset of the multiple set-feature operations; and, the macro start signal and the macro end signal comply with a signal format of a set-feature signal and are respectively used to indicate a start of the multiple set-feature signals and an end of the multiple set-feature signals.

### Claim 23 (depends on 19)

The method of claim 19, wherein the macro start signal sequentially comprises a set-feature command, a macro start feature address, and corresponding macro start parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro start parameter information comprises a first parameter data, a second parameter data, and a third parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the second parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the second parameter data is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the third parameter data is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the third parameter data is set as the second logic bit, the macro record is cleared by the flash memory device.

### Claim 24 (depends on 19)

The method of claim 19, wherein the macro end signal sequentially comprises a set-feature command, a macro end feature address, and corresponding macro end parameter information; the corresponding macro end parameter information comprises a first parameter data which is used to indicate an ending position of index values of the multiple set-feature operations.

### Claim 25 (depends on 19)

The method of claim 19, wherein the macro start signal sequentially comprises a set-feature command, a specific macro feature address, and corresponding macro parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro parameter information comprises a first parameter data, a second parameter data, a third parameter data, and a four parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the second parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the second parameter data is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the third parameter data is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the third parameter data is set as the second logic bit, the macro record is cleared by the flash memory device; when the fourth parameter data is set as the first logic bit to indicate the macro start signal.

### Claim 26 (depends on 19)

The method of claim 19, wherein the macro end signal sequentially comprises a set-feature command, a specific macro feature address, and corresponding macro parameter information which indicates a macro setting of the multiple set-feature operations; the corresponding macro parameter information comprises a first parameter data, a second parameter data, a third parameter data, and a four parameter data; the first parameter data is used to indicate a starting position of index values of the multiple set-feature operations; when the second parameter data is set as a first logic bit, a function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is disabled; when the second parameter data is set as a second logic bit, the function of simultaneously executing the multiple set-feature operations when the multiple set-feature signals being received is enabled; when the third parameter data is set as the first logic bit, a macro record stored in the flash memory device is kept; and, when the third parameter data is set as the second logic bit, the macro record is cleared by the flash memory device; when the fourth parameter data is set as the second logic bit to indicate the macro end signal.

### Claim 27 (depends on 16)

The method of claim 16, further comprising:
sequentially transmitting a prefix signal and a first set-feature signal, which follows the prefix signal, to generate and transmit a command sequence to the flash memory device; the prefix signal sequentially comprises a first macro command and an index value of the first set-feature signal which is followed by the set-feature command in the first set-feature signal; the first macro command is used to indicate not instantly executing a set-feature operation of the first set-feature signal when the first set-feature is received by the flash memory device.

### Claim 28 (depends on 16)

The method of claim 16, further comprising:
sequentially transmitting a prefix signal and a first set-feature signal, which follows the prefix signal, to generate and transmit a command sequence to the flash memory device; the prefix signal sequentially comprises a first macro command and an index value of the first set-feature signal which is followed by the set-feature command in the first set-feature signal; the first macro command is used to indicate instantly executing a set-feature operation of the first set-feature signal when the first set-feature is received by the flash memory device.

### Claim 29 (depends on 16)

The method of claim 16, wherein a logical unit address number is positioned between the set-feature command and the macro execution feature address in the macro execution signal.

### Claim 30 (depends on 16)

The method of claim 16, further comprising:
sending a get-feature signal, which sequentially comprises a get-feature command and a logical unit address number, to the flash memory device to make the flash memory device send macro numbers, index values, or feature addresses of the multiple set-feature operations back to the flash memory controller.
