# US 2022/0283726 A1 · Method for assisting in the identification of blank sectors of a non-volatile memory of a microcontroller

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

- Number: US 2022/0283726 A1
- Document ID: US20220283726A1
- Status: Published application
- Kind: A1
- Application number: 17/637,143
- Filed: 2020-10-08
- Published: 2022-09-08
- Earliest claimed: 2019-10-15
- Assignees: Vitesco Technologies GmbH
- Applicants: Vitesco Technologies GmbH
- Inventors: Stéphane Laborie-Fulchic
- Web page: https://patentgrep.com/patent/US20220283726A1

## CPC

- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/064: {Management of blocks}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 2212/1016: Performance improvement
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7207: management of metadata or control data
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method for helping to identify blank sectors of a non-volatile memory of a microcontroller is disclosed; the method includes, each time a command to write or to erase a certain sector of the matrix of memory cells of a non-volatile memory is received, in writing, to a certain memory cell of a register of the microcontroller, which memory cell is associated with the certain sector, information representative of the fact that the sector has been written or erased, that is to say of the fact that the sector in question is written or blank.

## Claims

### Claim 1

A method for managing a non-volatile and rewritable memory of a microcontroller, said memory comprising a matrix of memory cells which is organized into a plurality of sectors each comprising a plurality of memory cells, and further comprising a control module suitable for managing said matrix of memory cells being and comprising an interface module configured to receive commands to write, read or erase data to or from the memory, to interpret said received commands and to perform operations corresponding to said received commands on certain memory cells of the non-volatile memory, said method comprising, carried out by the interface module in response to receiving a command to write data to at least one memory cell of a certain sector of the matrix of memory cells, or a command to erase said certain sector:
performing the write operation or the erase operation corresponding to the write command or to the erase command, respectively, on the one hand; and
writing, to a memory cell of a register of the microcontroller, which is associated with the certain sector, information representative of the non-blank state or of the blank state, respectively, of the memory cells of said certain sector, on the other hand.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the non-volatile memory further comprises a plurality of memory banks, each memory bank comprising a local matrix of memory cells and a local control module which is configured to receive commands from the control module of the non-volatile memory and to perform, on certain memory cells of the memory bank, operations associated with said received commands.

### Claim 3 (depends on 1)

The method as claimed in claim 1, further comprising, in response to the interface module receiving a request to detect the blank sectors of the matrix of memory cells:
reading, from the register of the microcontroller, the information representative of the blank state or of the non-blank state of the memory cells of the sectors of the matrix of memory cells.

### Claim 4 (depends on 3)

The method as claimed in claim 3, comprising reading the memory cells of the register of the microcontroller which are respectively associated with the sectors of the memory, using a binary mask.

### Claim 5 (depends on 1)

A non-volatile memory suitable for storing data which can be written, read and erased by a processor of a microcontroller, said non-volatile memory comprising a matrix of memory cells and a control module, said matrix of memory cells being organized into a plurality of sectors each comprising a plurality of memory cells, said control module comprising an interface module suitable for implementing all the steps of the method as claimed claim 1.

### Claim 6 (depends on 5)

The non-volatile memory as claimed in claim 5, said non-volatile memory being a memory of flash type.

### Claim 7 (depends on 5)

The non-volatile memory as claimed in claim 5, wherein the interface module of the control module of the non-volatile memory is a module of flash standard interface type.

### Claim 8 (depends on 1)

A microcontroller comprising a processor, at least one input/output interface and a non-volatile memory which is suitable for storing data and exchanging data with the processor via a computer bus, said non-volatile memory comprising a matrix of memory cells and a control module, said matrix of memory cells comprising a plurality of sectors respectively composed of a plurality of memory cells, said control module comprising an interface module suitable for implementing the method as claimed in claim 1.
