# US 2023/0274782 A1 · Method for erasing flash memory

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

- Number: US 2023/0274782 A1
- Document ID: US20230274782A1
- Status: Published application
- Kind: A1
- Application number: 18/072,723
- Filed: 2022-12-01
- Published: 2023-08-31
- Earliest claimed: 2022-02-25
- Assignees: Winbond Electronics Corp.
- Applicants: Winbond Electronics Corp.
- Inventors: Lung-Chi Cheng; Ying-Shan Kuo; Jun-Yao Huang; Ju-Chieh Cheng; Yu-Cheng Chuang
- Web page: https://patentgrep.com/patent/US20230274782A1

## CPC

- G11C 16/16: for erasing blocks, e.g. arrays, words, groups
- G11C 16/08: Address circuits; Decoders; Word-line control circuits
- G11C 16/3409: {Circuits or methods to recover overerased nonvolatile memory cells detected during erase verification, usually by means of a "soft" programming step}
- G11C 16/3431: {Circuits or methods to detect disturbed nonvolatile memory cells, e.g. which still read as programmed but with threshold less than the program verify threshold or read as erased but with threshold greater than the erase verify threshold, and to reverse the disturbance via a refreshing programming or erasing step}
- G11C 16/3445: {Circuits or methods to verify correct erasure of nonvolatile memory cells}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A block erase method for a flash memory is provided. The block erase method is to perform block erase on a block with a predetermined block size. The block erase method includes: performing an erase verification on bytes byte-by-byte in the block when performing the block erase; checking an erase step of the byte when the byte does not pass the erase verification; when the erase step of the byte exceeds a predetermined threshold value, performing the block erase with a partitioned block smaller than the predetermined block size, and returning to an erase verification stage to perform the erase verification; and when the erase step of the bytes does not exceed the predetermined threshold value, continuing to perform the block erase with the predetermined block size, and returning to the erasure verification stage to continue to perform the erase verification.

## Claims

### Claim 1

A block erase method for flash memory, wherein the block erase method is to perform a block erase on a block of the flash memory, and the block has a predetermined block size, the block erase method comprising:
setting the predetermined block as M partitioned blocks, wherein each block size of the M partitioned blocks is smaller than the predetermined block size;
setting M erase step threshold values within a maximum erase step to generate (M+1) erase step determining intervals;
performing an erase verification on bytes byte-by-byte in each of the M partitioned blocks when performing the block erase;
when the byte does not pass the erase verification, checking an erase step of the byte;
determining which a specific interval among the (M+1) erase step determining intervals the erase step is therein; and
performing the block erase on the partitioned blocks corresponding to the specific interval, returning to an erase verification stage to perform the erase verification after the block erase is completed,
wherein in a case that the erase step is less than or equal to a first erase step threshold value and in a first erase step determining interval, the block erase is performed by using the predetermined block size, and
in a case that the erase step is in a j-th (2≤j≤M+1) erase step determining interval, the block erase is performed by using a block size of a (j−1)-th partitioned block.

### Claim 2 (depends on 1)

The block erase method for flash memory according to claim 1, when the byte passes the erase verification, erasing and performing the erase verification on a next byte until the block erase of the predetermined block size is completed.

### Claim 3 (depends on 1)

The block erase method for flash memory according to claim 1, wherein the block size of the M partitioned blocks is adjustable.

### Claim 4 (depends on 1)

The block erase method for flash memory according to claim 1, wherein a number of the M partitioned blocks is adjustable.

### Claim 5 (depends on 1)

The block erase method for flash memory according to claim 1, wherein the M erase step threshold values are adjustable within the maximum erase step.

### Claim 6 (depends on 1)

The block erase method for flash memory according to claim 1, wherein the flash memory is a NOR type flash memory.

### Claim 7 (depends on 1)

The block erase method for flash memory according to claim 1, wherein the flash memory is a NAND type flash memory.

### Claim 8

A block erase method for flash memory, wherein the block erasing method is to perform a block erase on a block of the flash memory, and the block has a predetermined block size, the block erase method comprising:
performing an erase verification on bytes byte-by-byte in the block when performing the block erase;
checking an erase step of the byte when the byte does not pass the erase verification;
when the erase step of the byte exceeds a predetermined threshold value, performing the block erase with a partitioned block smaller than the predetermined block size, and returning to an erase verification stage to perform the erase verification; and
when the erase step of the bytes does not exceed the predetermined threshold value, continuing to perform the block erase with the predetermined block size, and returning to the erasure verification stage to continue to perform the erase verification.

### Claim 9 (depends on 8)

The block erase method for flash memory according to claim 8, wherein when the byte passes the erase verification, erasing and performing the erase verification on a next byte until the block erase of the predetermined block size is completed.

### Claim 10 (depends on 8)

The block erase method for flash memory according to claim 8, wherein the erase step is less than a maximum erase step and adjustable.

### Claim 11 (depends on 8)

The block erase method for flash memory according to claim 8, wherein a size of the partitioned block is adjustable.

### Claim 12 (depends on 8)

The block erase method for flash memory according to claim 8, wherein the flash memory is a NOR type flash memory.

### Claim 13 (depends on 8)

The block erase method for flash memory according to claim 8, wherein the flash memory is a NAND type flash memory.

### Claim 14

A flash memory, comprising:
a flash memory array; and
a control circuit, coupled to the flash memory array to control operations of the flash memory array,
wherein when erasing the flash memory, the control circuit is configured to perform setting the predetermined block as M partitioned blocks, wherein each block size of the M partitioned blocks is smaller than the predetermined block size;
setting M erase step threshold values within a maximum erase step to generate (M+1) erase step determining intervals;
performing an erase verification on bytes byte-by-byte in each of the M partitioned blocks when performing the block erase;
when the byte does not pass the erase verification, checking an erase step of the byte;
determining which a specific interval among the (M+1) erase step determining intervals the erase step is therein; and
performing the block erase on the partitioned blocks corresponding to the specific interval, returning to an erase verification stage to perform the erase verification after the block erase is completed,
wherein in a case that the erase step is less than or equal to a first erase step threshold value and in a first erase step determining interval, the block erase is performed by using the predetermined block size, and
in a case that the erase step is in a j-th (2≤j≤M+1) erase step determining interval, the block erase is performed by using a block size of a (j−1)-th partitioned block.

### Claim 15 (depends on 14)

The flash memory according to claim 14, when the byte passes the erase verification, erasing and performing the erase verification on a next byte until the block erase of the predetermined block size is completed.

### Claim 16 (depends on 14)

The flash memory according to claim 14, wherein the block size of the M partitioned blocks is adjustable.

### Claim 17 (depends on 14)

The flash memory according to claim 14, wherein a number of the M partitioned blocks is adjustable.

### Claim 18 (depends on 14)

The flash memory according to claim 14, wherein the M erase step threshold values are adjustable within the maximum erase step.

### Claim 19 (depends on 14)

The flash memory according to claim 14, wherein the flash memory is a NOR type flash memory.

### Claim 20 (depends on 14)

The flash memory according to claim 14, wherein the flash memory is a NAND type flash memory.
