# US 2021/0064464 A1 · Method and checking unit for checking data in a storage unit or a system on a chip

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

- Number: US 2021/0064464 A1
- Document ID: US20210064464A1
- Status: Published application
- Kind: A1
- Application number: 16/987,767
- Filed: 2020-08-07
- Published: 2021-03-04
- Earliest claimed: 2019-08-27
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Dieter Thoss; Leonardo Luiz Ecco
- Web page: https://patentgrep.com/patent/US20210064464A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 11/0787: {Storage of error reports, e.g. persistent data storage, storage using memory protection}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0811: with multilevel cache hierarchies
- 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: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for checking data in a storage unit of a system on a chip; a monitoring unit, which may be activated or deactivated by the system on a chip, being implemented in the system on a chip. When it is activated, the monitoring unit storing error correction codes for executing error correction methods, in the storage unit, such that, for a predefined number of data blocks of the storage unit, in each instance, a data block including an associated error correction code is stored. When access to data in the storage unit is intended to take place, the monitoring unit addresses the respective data and an associated error correction code and checks the addressed data prior to the respective access, using the addressed error correction code, and correcting them when required.

## Claims

### Claim 1

A method for checking data in a storage unit of a system on a chip, a monitoring unit, which may be activated or deactivated by the system on a chip, being implemented in the system on a chip, the method comprising the following steps:
storing, by the monitoring unit when the monitoring unit is activated, error correction codes for executing error correction methods, in the storage unit, such that, for a predefined number of data blocks of the storage unit, in each instance, a data block including an associated error correction code is stored;
addressing, by the monitoring unit when access to respective data in the storage unit is intended to take place, the respective data and an associated error correction code; and
checking, by the monitoring unit, the addressed data prior to the access, using the addressed error correction code, and correcting, by the monitoring unit, the addressed data when required.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein to address the respective data, the monitoring unit translates an expected physical address into an actual physical address.

### Claim 3 (depends on 2)

The method as recited in claim 2, wherein a memory management unit of the system on a chip transmits the expected physical address to the monitoring unit.

### Claim 4 (depends on 2)

The method as recited in claim 2, wherein the expected physical address is translated into the actual physical address as a function of the predefined number of data blocks, for which, in each instance, the data block having the associated error correction code is stored, as a function of a physical memory address of the associated error correction code, and as a function of a size of a data block.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein the predefined number of data blocks, for which, in each instance, the data block having the associated error correction code is stored, is a power of two.

### Claim 6 (depends on 1)

The method as recited in claim 1, wherein the monitoring unit is connected between a level-1 buffer memory of the system on a chip and a level-2 buffer memory of the system on a chip.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein the monitoring unit is connected between a memory management unit of the system on a chip and the level-2 buffer memory.

### Claim 8 (depends on 1)

The method as recited in claim 1, wherein the monitoring unit includes a code unit, which generates the error correction codes for the predefined numbers of data blocks with reference to physical addresses of the data blocks.

### Claim 9 (depends on 8)

The method as recited in claim 8, wherein the code unit is connected between a level-1 buffer memory of the system on a chip and a level-2 buffer memory of the system on a chip, or between a processor unit of the system on a chip and the level-1 buffer memory.

### Claim 10 (depends on 1)

The method as recited in claim 1, wherein the monitoring unit further includes a buffer memory and/or uses a portion of a buffer memory of the system on a chip.

### Claim 11 (depends on 1)

The method as recited in claim 1, wherein the monitoring unit uses a portion of a level-1 buffer memory of the system on a chip.

### Claim 12 (depends on 1)

The method as recited in claim 1, wherein the system on a chip is used in a vehicle.

### Claim 13

A monitoring unit for checking data in a storage unit of a system on a chip, the monitoring unit, which may be activated or deactivated by the system on a chip, being implemented in the system on a chip, the monitoring unit configured to:
store, when the monitoring unit is activated, error correction codes for executing error correction methods, in the storage unit, such that, for a predefined number of data blocks of the storage unit, in each instance, a data block including an associated error correction code is stored;
address, when access to respective data in the storage unit is intended to take place, the respective data and an associated error correction code; and
check addressed data prior to the access, using the addressed error correction code, and correct the addressed data when required.

### Claim 14

A processing unit including a monitoring unit, the monitoring unit being activatable and deactivatable using a memory entry, and being configured for checking data in a storage unit, the monitoring unit including:
devices configured to generate error correction codes for data to be stored in the storage unit;
devices configured to store the error correction codes in the storage unit;
devices configured to output data requested from the storage unit; and
devices configured to execute a method for correcting errors of the data requested from the storage unit, based on the stored error correction codes.

### Claim 15 (depends on 13)

The processing unit as recited in claim 13, wherein the processing unit is a system on a chip.

### Claim 16 (depends on 14)

The processing unit as recited in claim 14, wherein the monitoring unit is configured to:
store, when the monitoring unit is activated, the error correction codes for executing error correction methods, in a storage unit of the processing unit, such that, for a predefined number of data blocks of the storage unit, in each instance, a data block including an associated error correction code is stored;
address, when access to respective data in the storage unit is intended to take place, the respective data and an associated error correction code; and
check addressed data prior to the access, using the addressed error correction code, and correct the addressed data when required.

### Claim 17

A non-transitory machine-readable storage medium having a computer program for checking data in a storage unit of a system on a chip, a monitoring unit, which may be activated or deactivated by the system on a chip, being implemented in the system on a chip, the computer program, when executed by the monitoring unit, causing the monitoring unit to perform the following steps:
storing, when the monitoring unit is activated, error correction codes for executing error correction methods, in the storage unit, such that, for a predefined number of data blocks of the storage unit, in each instance, a data block including an associated error correction code is stored;
addressing, when access to respective data in the storage unit is intended to take place, the respective data and an associated error correction code; and
checking the addressed data prior to the access, using the addressed error correction code, and correcting the addressed data when required.
