# US 2018/0321873 A1 · Memory system and operating method thereof

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

- Number: US 2018/0321873 A1
- Document ID: US20180321873A1
- Status: Published application
- Kind: A1
- Application number: 15/587,641
- Filed: 2017-05-05
- Published: 2018-11-08
- Earliest claimed: 2017-05-05
- Assignees: Macronix International Co., Ltd.
- Applicants: Macronix International Co., Ltd.
- Inventors: Yi-Chun Liu; Shih-Chou Juan; Nai-Ping Kuo
- Web page: https://patentgrep.com/patent/US20180321873A1

## CPC

- G11C 16/14: Circuits for erasing electrically, e.g. erase voltage switching circuits
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G11C 8/06: Address interface arrangements, e.g. address buffers
- G11C 16/08: Address circuits; Decoders; Word-line control circuits
- G11C 16/10: Programming or data input circuits
- G11C 16/16: for erasing blocks, e.g. arrays, words, groups
- G11C 16/32: Timing circuits
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G11C 16/3459: {Circuits or methods to verify correct programming of nonvolatile memory cells}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory system includes a first flash memory, a second flash memory and a controller. The first flash memory includes a memory array divided into a plurality of pages. The controller is coupled to the first flash memory and the second flash memory and configured to: control the second flash memory to record an address of a particular page in the first flash memory before programming the particular page; and control the second flash memory to record a program status of the particular page after the particular page has been programed.

## Claims

### Claim 1

A memory system, comprising:
a first flash memory comprising a memory array, wherein the memory array is divided into a plurality of pages;
a second flash memory, wherein the first flash memory and the second flash memory are different type of flash memories; and
a controller coupled to the first flash memory and the second flash memory and configured to:
control the second flash memory to record an address of a particular page in the first flash memory before programming the particular page; and
control the second flash memory to record a program status of the particular page after the particular page has been programed.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein the first flash memory further comprises:
a page buffer coupled to the memory array, configured to store write data for the particular page;
wherein before transmitting a confirm command to the first flash memory to enable the first flash memory to program the particular page with the write data in the page buffer, the controller is further configured to control the second flash memory to record the address of the particular page.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
before transmitting a program command to the first flash memory, suspend an erase operation of the second flash memory in progress.

### Claim 4 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
conditioned on determining that a memory space of the second flash memory is insufficient to store the address and the program status of the particular page, wait for an erase operation of the second flash memory to finish before transmitting a program command to the first flash memory.

### Claim 5 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
verify the first flash memory to obtain the program status of the particular page; and
control the second flash memory to record the obtained program status of the particular page.

### Claim 6 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
after the second flash memory has recorded the address and the program status of the particular page, perform an erase operation on the second flash memory.

### Claim 7 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
find a last programed page in the first flash memory;
check whether a corresponding program status of the last programed page is recorded in the second flash memory;
conditioned on determining that the corresponding program status of the last programed page is not recoded in the second flash memory, identify the last programed page as an insufficient programed page; and
perform an insufficient program handling procedure on the insufficient programed page.

### Claim 8 (depends on 7)

The memory system according to claim 7, wherein the insufficient program handling procedure comprises:
conditioned on determining that the insufficient programed page passes an error correction code (ECC) verification, the controller creates a copy of data of the insufficient programed page at a new location in the first flash memory.

### Claim 9 (depends on 7)

The memory system according to claim 7, wherein the insufficient program handling procedure comprises:
conditioned on determining that the insufficient programed page is a blank page in the first flash memory, the controller fills dummy data in the insufficient programed page.

### Claim 10 (depends on 1)

The memory system according to claim 1, wherein the second flash memory is a NOR flash memory.

### Claim 11 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
disable the second flash memory; and
control the first flash memory to record data retention information of the second flash memory when the second flash memory is disabled.

### Claim 12

An operating method of a memory system, wherein the memory system comprises a first flash memory, a second flash memory and a controller coupled to the first flash memory and the second flash memory, the first flash memory comprises a memory array divided into a plurality of pages, and the operating method comprises:
controlling the second flash memory to record an address of a particular page in the first flash memory by the controller before the particular page is programmed, wherein the first flash memory and the second flash memory are different type of flash memories; and
controlling the second flash memory to record a program status of the particular page by the controller after the particular page has been programed.

### Claim 13 (depends on 12)

The operating method according to claim 12, wherein the first flash memory further comprises a page buffer coupled to the memory array and configured to store write data for the particular page, and the operating method further comprises:
before transmitting a confirm command to the first flash memory to enable the first flash memory to program the particular page with the write data in the page buffer, controlling the second flash memory to record the address of the particular page by the controller.

### Claim 14 (depends on 12)

The operating method according to claim 12, further comprising:
before transmitting a program command to the first flash memory, suspending an erase operation of the second flash memory in progress by the controller.

### Claim 15 (depends on 12)

The operating method according to claim 12, further comprising:
conditioned on determining that a memory space of the second flash memory is insufficient to store the address and the program status of the particular page, waiting for an erase operation of the second flash memory to finish before transmitting a program command to the first flash memory by the controller.

### Claim 16 (depends on 12)

The operating method according to claim 12, further comprising:
verifying the first flash memory to obtain the program status of the particular page by the controller; and
controlling the second flash memory to record the obtained program status of the particular page by the controller.

### Claim 17 (depends on 12)

The operating method according to claim 12, further comprising:
after the second flash memory has recorded the address and the program status of the particular page, performing an erase operation on the second flash memory by the controller.

### Claim 18 (depends on 12)

The operating method according to claim 12, further comprising:
finding a last programed page in the first flash memory by the controller;
checking whether a corresponding program status of the last programed page is recorded in the second flash memory by the controller;
conditioned on determining that the corresponding program status of the last programed page is not recoded in the second flash memory, identifying the last programed page as an insufficient programed page by the controller; and
performing an insufficient program handling procedure on the insufficient programed page by the controller.

### Claim 19 (depends on 18)

The operating method according to claim 18, wherein the insufficient program handling procedure comprises:
conditioned on determining that the insufficient programed page passes an error correction code (ECC) verification, creating a copy of data of the insufficient programed page at a new page in the first flash memory by the controller.

### Claim 20 (depends on 18)

The operating method according to claim 18, wherein the insufficient program handling procedure comprises:
conditioned on determining that the insufficient programed page is a blank page in the first flash memory, filling dummy data in the insufficient programed page by the controller.

### Claim 21 (depends on 12)

The operating method according to claim 12, wherein the second flash memory is a NOR flash memory.

### Claim 22 (depends on 12)

The operating method according to claim 12, further comprising:
disabling the second flash memory; and
controlling the first flash memory to record data retention information of the second flash memory when the second flash memory is disabled.
