# US 2017/0293437 A1 · Last written page indicator

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

- Number: US 2017/0293437 A1
- Document ID: US20170293437A1
- Status: Published application
- Kind: A1
- Application number: 15/421,113
- Filed: 2017-01-31
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: SK hynix Inc.
- Applicants: SK Hynix Inc.
- Inventors: Yungcheng Thomas Lo
- Web page: https://patentgrep.com/patent/US20170293437A1

## CPC

- G11C 16/08: Address circuits; Decoders; Word-line control circuits
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/16: for erasing blocks, e.g. arrays, words, groups
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A flash memory device includes a flash memory having a plurality of blocks, each block having a plurality of pages, and a control circuit configured to receive a command, decode the received command to determine whether the command is a last written page command, upon determining that the command is the last written page command, select a block of the plurality of blocks, and perform a number of iterations. Each of the iterations includes obtain a measurement of a signal level of a page in the selected block, compare the signal level with a predetermined threshold value, determine whether the page is an erased page based on a comparison result, upon determining that the page is an erased page, save an address associated with the erased page and output the address of the erased page, and upon determining that the page is not an erase page, perform a next iteration.

## Claims

### Claim 1

A flash memory device comprising:
a flash memory comprising a plurality of blocks, each block comprising a plurality of pages;
a control circuit configured to:
receive a command;
decode the received command to determine whether the command is a last written page command;
upon determining that the command is the last written page command, select a block of the plurality of blocks, perform a number of iterations, each of the iterations comprising:
obtain a measurement of a signal level of a page in the selected block;
compare the signal level with a first predetermined threshold value;
determine whether the page is an erased page based on a first comparison result;
upon determining that the page is an erased page, save an address associated with the erased page and output the address of the erased page; and
upon determining that the page is not an erase page, perform a next iteration.

### Claim 2 (depends on 1)

The flash memory device of claim 1, wherein the selected block is a block having at least an erased page.

### Claim 3 (depends on 2)

The flash memory device of claim 2, wherein the control circuit is configured to:
obtain a signal level of the selected block;
compare the signal level of the selected block with a second predetermined threshold value;
determine whether the selected block contains at least an erased page based on a second comparison result;
upon determining that the selected block does not contain at least an erased page, select a next block in the plurality of block and repeat until a block is found to contain at least an erased page.

### Claim 4 (depends on 3)

The flash memory device of claim 3, wherein the signal level of the selected block is a measurement of voltage or current changes on a plurality of bit lines associated with the selected block.

### Claim 5 (depends on 3)

The flash memory device of claim 3, wherein the second predetermined threshold value is an average voltage value of a sum of voltages of blocks having at least an erased page and a margin.

### Claim 6 (depends on 1)

The flash memory device of claim 1, further comprising:
a last written page register configured to stored the address associated with the erased page; and
an interface circuit coupled to the last written page register and configured to communicate the stored address to a controller.

### Claim 7 (depends on 1)

The flash memory device of claim 1, further comprising a page address counter configured to generate a page address to select a next page until an erased page in the selected block is found.

### Claim 8 (depends on 1)

The flash memory device of claim 1, further comprising:
an accumulator configured to obtain the measurement of the signal level of the page in the selected block by summing signals on bit lines associated with the page; and
a comparator configured to compare the signal level with the first predetermined threshold value threshold voltage.

### Claim 9 (depends on 8)

The flash memory device of claim 8, wherein the accumulator is an analog summing circuit including a first operation amplifier and the comparator is an analog comparator including a second operation amplifier.

### Claim 10 (depends on 8)

The flash memory device of claim 8, wherein the accumulator is an analog summing circuit including an operation amplifier and the comparator comprising an analog-to-digital converter.

### Claim 11 (depends on 1)

The flash memory device of claim 1, wherein the flash memory comprises a NAND flash.

### Claim 12

A method of determining a last written page of a flash memory device having a plurality of blocks, the method comprising:
receiving a command;
decoding the received command to determine whether the command is a command requesting a last written page address;
selecting a block of the plurality of blocks upon determining that the command is the last written page command;
performing a number of iterations, each iteration comprising:
obtaining a measurement of a first signal level associated with a page of the block;
comparing the first signal level with a first predetermined threshold value to obtain a first comparison result;
determining a state of the page of the block based on the first comparison result; and
performing a next iteration until a page of the block is found to be an erased page;
storing an address of the erased page in a register; and
outputting the address to an external device.

### Claim 13 (depends on 12)

The method of claim 12, wherein selecting the block of the plurality of blocks comprises:
obtaining a measurement of a second signal level associated with the block;
comparing the second signal level with a second predetermined threshold value to obtain a second comparison result;
determining whether the block contains at least an erased page based on the second comparison result;
upon determining that the block does not contains at least an erased page, selecting a next block of the plurality of blocks;
repeating the obtaining, comparing, and determining steps until a subsequent block of the plurality of blocks is found to contain at least an erased page.

### Claim 14 (depends on 13)

The method of claim 13, wherein the second signal level is associated with voltage or current changes on a plurality of bit lines associated with the selected block.

### Claim 15 (depends on 13)

The method of claim 13, wherein the second predetermined threshold value is an average voltage value of a sum of voltages of blocks having at least an erased page and a margin.

### Claim 16 (depends on 12)

The method of claim 12, wherein obtaining the measurement of the first signal level comprising accumulating signal changes on a plurality of bit lines associated with the page of the block.

### Claim 17 (depends on 12)

The method of claim 12, wherein the first predetermined threshold value is an absolute maximum value of a page having all of bits written to “0s” or “1s.”

### Claim 18

A flash memory device comprising:
a flash memory comprising a plurality of blocks, each block comprising a plurality of pages, each page comprising a plurality of bit lines;
a decoder configured to determine whether a received command is a last written page command;
an accumulator coupled to the plurality of bit lines and configured to accumulate signal changes on the plurality of bit lines to obtain a signal level;
a comparator configured to compare the signal level with a predetermined threshold value to obtain a comparison result;
a control circuit configured to control whether the accumulator and the comparator are operative based on a decode result of the decoder.

### Claim 19 (depends on 18)

The flash memory device of claim 18, further comprising:
a block counter configured to select a block of the plurality of blocks;
a page counter configured to select a page of the selected block;
a register configured to store an address associated with an erased page,
wherein the control circuit is operative to determine an address of the selected block based on a content of the block counter and an address of the selected page based on a content of the page counter and save the determined address of the selected block and the determined address of the selected page into the register.

### Claim 20 (depends on 18)

The flash memory device of claim 18, wherein the accumulator is an analog summing circuit including a first operation amplifier, and the comparator is an analog comparator including a second operation amplifier.

### Claim 21 (depends on 18)

The flash memory device of claim 18, wherein the predetermined threshold value is a digital value, the accumulator is an analog summing circuit including a first operation amplifier for outputting the signal level, and the comparator comprises an analog-to-digital converter configured to convert the signal level to a digital representation and compare the digital representation with the digital value.

### Claim 22 (depends on 18)

The flash memory device of claim 18, wherein the predetermined threshold value is a digital value, the accumulator is a digital counter coupled to a data register and configured to count a total number of “0s” or “1s” stored in the data register, and the comparator is a digital circuit configured to compare the total number of “0s” or “1s” with the digital value.
