# US 2018/0322070 A1 · Method for protecting memory against unauthorized access

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

- Number: US 2018/0322070 A1
- Document ID: US20180322070A1
- Status: Published application
- Kind: A1
- Application number: 16/019,715
- Filed: 2018-06-27
- Published: 2018-11-08
- Earliest claimed: 2008-12-31
- Assignees: Texas Instruments Incorporated
- Applicants: Texas Instruments Incorporated
- Inventors: Johann ZIPPERER
- Web page: https://patentgrep.com/patent/US20180322070A1

## CPC

- G06F 12/1425: {the protection being physical, e.g. cell, word, block}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- 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 of protecting software for embedded applications against unauthorized access is disclosed. Software to be protected is loaded into a protected memory area and access to the protected memory area is controlled by sentinel logic circuitry. The sentinel logic circuitry allows access to the protected memory area only either from within the protected memory area or from outside of the protected memory area but through a dedicated memory location within the protected memory area. The dedicated memory location then points to protected address locations within the protected memory area.

## Claims

### Claim 1

An electronic device comprising:
a memory having a protected area, a non-protected area, and an auxiliary area separate from the protected area and the non-protected area; and
access control circuitry to protect the memory against unauthorized access by:
permitting access to the protected area for read, write, or execution operations in response to first instructions stored in the protected area;
permitting access to a dedicated area within the protected area for read, write, or execution operations in response to second instructions stored in the non-protected area;
prohibiting access to any memory location of the protected area other than the dedicated memory location for read, write or execution operations in response to the second instructions; and
permitting access to the auxiliary area for read or write operations in response to third instructions stored in the protected area.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein a remaining portion of the protected area that is not the dedicated area is a protected content area to store protected data.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein the protected area includes a range of addresses, the dedicated area is a first subset of the range of addresses, and the protected content area is a second subset of the range of addresses, wherein the first and second subsets of the range of addresses do not overlap.

### Claim 4 (depends on 3)

The electronic device of claim 3, wherein the addresses in the second subset are higher than the addresses in the first subset.

### Claim 5 (depends on 2)

The electronic device of claim 2, wherein permitting access to the protected area for read, write, or execution operations in response to the first instructions includes permitting access to the protected content area, and wherein the first instructions are stored in the dedicated area.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein the third instructions are stored in the protected content area.

### Claim 7 (depends on 1)

The electronic device of claim 1, wherein:
the non-protected area includes a first non-protected area in which the second instructions are stored and a second non-protected area separate from the first non-protected area; and
the first non-protected area has a first address range and the second non-protected area has a second address range, and the first and second address ranges are not contiguous.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein addresses in the second address range are higher than addresses in the first address range.

### Claim 9 (depends on 7)

The electronic device of claim 7, wherein the protected area has a third address range, and the first and second address ranges area separated by at least the third address range.

### Claim 10 (depends on 1)

The electronic device of claim 1, further comprising at least one interface, the at least one interface being one of a test interface, a direct memory access interface, or an emulation interface, and wherein the access control circuitry is configured to prevent read and write operations initiated via the at least one interface from accessing the protected area and the auxiliary area.

### Claim 11

An electronic device comprising:
a memory including a first non-protected area having a first address range, a second non-protected area having a second address range, a first protected area having a third address range, and a second protected area having a fourth address range; and
access control circuitry to protect the memory against unauthorized access by:
permitting access to the second protected area for read, write, or execution operations in response to first instructions stored in the first protected area;
permitting access to the first protected area read, write, or execution operations in response to second instructions stored in the first non-protected area; and
prohibiting access to the second protected area for read, write or execution in response to the second instructions.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein:
the first and second address ranges are not contiguous; and
the third and fourth address ranges are contiguous.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the first and second address ranges are separated by at least the contiguous third and fourth address ranges.

### Claim 14 (depends on 12)

The electronic device of claim 12, wherein:
addresses of the second address range are higher than addresses of the first address range; and
addresses of the fourth address range are higher than addresses of the third address range.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein the access control circuitry is configured to permit access to the second non-protected area for read, write, or branch operations in response to third instructions stored in the second protected area.

### Claim 16 (depends on 11)

The electronic device of claim 11, further comprising an auxiliary memory area, wherein the wherein the access control circuitry is configured to permit access to the auxiliary memory area for read or write operations in response to third instructions stored in the second protected area.

### Claim 17 (depends on 11)

The electronic device of claim 11, further comprising at least one input/output interface, wherein the access control circuitry is configured to prevent read and write operations initiated via the at least one input/output interface from accessing the first and second protected areas.
