# US 2017/0293553 A1 · Memory erase management

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

- Number: US 2017/0293553 A1
- Document ID: US20170293553A1
- Status: Published application
- Kind: A1
- Application number: 15/092,236
- Filed: 2016-04-06
- Published: 2017-10-12
- Earliest claimed: 2016-04-06
- Assignees: SanDisk Technologies LLC
- Applicants: Western Digital Technologies, Inc.
- Inventors: TAL HELLER; ASAF GARFUNKEL; HADAS OSHINSKY; YACOV DUZLY; AMIR SHAHARABANY; JUDAH GAMLIEL HAHN
- Web page: https://patentgrep.com/patent/US20170293553A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0611: {in relation to response time}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 12/1009: using page tables, e.g. page table structures
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F 2212/1024: Latency reduction
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/214: Solid state disk
- G06F 2212/403: Error protection encoding, e.g. using parity or ECC codes
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/2957: {Turbo codes and decoding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A device includes a memory and a controller coupled to the memory. The controller is configured to maintain a first address translation table associated with the memory and a second address translation table associated with the memory. The controller is further configured to receive a command to erase the memory. The controller is further configured to switch an indicator of an active address translation table from the first address translation table to the second address translation table in response to receiving the command.

## Claims

### Claim 1

A device comprising:
a memory; and
a controller coupled to the memory, wherein the controller is configured to maintain a first address translation table associated with the memory and a second address translation table associated with the memory, wherein the controller is further configured to receive a command to erase the memory, and wherein the controller is further configured to switch an indicator of an active address translation table from the first address translation table to the second address translation table in response to receiving the command.

### Claim 2 (depends on 1)

The device of claim 1, wherein the controller is further configured to modify a value of a pointer for the active address translation table to switch the indicator from the first address translation table to the second address translation table.

### Claim 3 (depends on 2)

The device of claim 2, wherein, prior to modification, the value of the pointer indicates an address of the first address translation table.

### Claim 4 (depends on 1)

The device of claim 1, wherein the controller is further configured to modify a handler associated with the memory to switch the indicator from the first address translation table to the second address translation table.

### Claim 5 (depends on 1)

The device of claim 1, wherein the controller includes a memory management system that is configured to switch the indicator in response to receiving the command.

### Claim 6 (depends on 1)

The device of claim 1, wherein the controller is configured to maintain a third address translation table associated with the memory, wherein the controller is further configured to receive a second command to erase the memory, and wherein the controller is configured to modify a value of a pointer for the third address translation table by overwriting the value with a NULL value in response to receiving the second command.

### Claim 7 (depends on 1)

The device of claim 1, wherein the controller is further configured to modify the indicator such that the indicator identifies a location of the second address translation table to switch the indicator from the first address translation table to the second address translation table.

### Claim 8 (depends on 1)

The device of claim 1, wherein the indicator comprises a pointer for the active address translation table, and wherein the controller comprises a controller memory that includes the pointer.

### Claim 9 (depends on 1)

The device of claim 1, wherein the indicator comprises a pointer for the active address translation table, and wherein the controller comprises a register that includes the pointer.

### Claim 10 (depends on 1)

The device of claim 1, wherein the command to erase the memory comprises an instruction to erase an entirety of the memory.

### Claim 11 (depends on 1)

The device of claim 1, wherein the memory comprises a non-volatile memory.

### Claim 12

A method performed by a controller of a device, the method comprising:
receiving a command to erase a memory; and
switching an indicator of an active address translation table from a first address translation table associated with the memory to a second address translation table associated with the memory in response to receiving the command, wherein, prior to switching, the indicator indicates an address of the first address translation table.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
receiving a second command to erase the memory; and
modifying a value of a pointer for the active address translation table by setting the value to a NULL value.

### Claim 14 (depends on 12)

The method of claim 12, wherein switching the indicator comprises modifying a value of a pointer for the active address translation table by setting the value to a value that indicates a location of the second address translation table.

### Claim 15 (depends on 12)

The method of claim 12, wherein switching the indicator comprises modifying a handler associated with the memory.

### Claim 16 (depends on 12)

The method of claim 12, further comprising, prior to switching the indicator, generating the second address translation table during operation of the memory.

### Claim 17 (depends on 12)

The method of claim 12, further comprising generating an acknowledgement in response to switching the indicator, wherein the acknowledgement indicates completion of the command.

### Claim 18 (depends on 17)

The method of claim 17, further comprising transmitting the acknowledgement to a host device, wherein a duration of a time period from receiving the command to transmitting the acknowledgement is less than a threshold.

### Claim 19 (depends on 12)

The method of claim 12, wherein the command indicates an amount of the memory to be erased, and wherein the amount corresponds to an entirety of the memory.

### Claim 20 (depends on 12)

The method of claim 12, further comprising, after switching the indicator, setting one or more entries of the first address translation table to an erase state during a background operation.

### Claim 21 (depends on 12)

The method of claim 12, wherein the first address translation table includes a first grouping of entries, wherein at least one entry of the first grouping of entries indicates a second grouping of entries, and wherein the second grouping of entries indicates one or more physical addresses of the memory.

### Claim 22 (depends on 12)

The method of claim 12, wherein the command is received from a host device.

### Claim 23

A data storage device comprising:
a memory; and
a controller coupled to the memory, wherein the controller is configured to maintain an address translation table associated with the memory, wherein the controller is further configured to modify an indicator of the address translation table in response to receiving a command to erase the memory, and wherein the controller is further configured to send an acknowledgement to an access device in response to modifying the indicator.

### Claim 24 (depends on 23)

The data storage device of claim 23, wherein the controller comprises a controller memory that includes the address translation table and a second address translation table associated with the memory, and wherein the controller is further configured to modify the indicator by setting a value of a pointer for the address translation table to a NULL value or setting the value to a second value that indicates an address of the second address translation table.

### Claim 25 (depends on 23)

The data storage device of claim 23, wherein the controller comprises a memory management system that is configured to modify the indicator in response to receiving the command.

### Claim 26 (depends on 23)

The data storage device of claim 23, further comprising a bus coupled to the controller and to the access device.

### Claim 27 (depends on 26)

The data storage device of claim 26, wherein the controller is further configured to receive the command from the access device via the bus.

### Claim 28

A method performed by a controller of a device, the method comprising:
modifying an indicator of an address translation table associated with a memory in response to receiving a command to erase the memory, wherein, prior to modification, the indicator indicates an address of the address translation table; and
sending an acknowledgement to an access device in response to modifying the indicator.

### Claim 29 (depends on 28)

The method of claim 28, wherein modifying the indicator comprises setting a value of a pointer for the address translation table to a NULL value or setting the value to a second value that indicates an address of a second address translation table associated with the memory.

### Claim 30 (depends on 28)

The method of claim 28, wherein the command includes an initial address value of the memory and a size of an entirety of the memory.

### Claim 31 (depends on 28)

The method of claim 28, wherein the command comprises an atomic instruction.

### Claim 32 (depends on 28)

The method of claim 28, wherein a duration of time from receiving the command to sending the acknowledgement is less than a threshold.

### Claim 33 (depends on 28)

The method of claim 28, further comprising setting one or more entries of the address translation table to an erase state during a background operation, wherein the background operation occurs subsequent to sending the acknowledgement.
