# US 2024/0403467 A1 · Electronic Device for Accessing Data and Method Thereof

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

- Number: US 2024/0403467 A1
- Document ID: US20240403467A1
- Status: Published application
- Kind: A1
- Application number: 18/679,436
- Filed: 2024-05-30
- Published: 2024-12-05
- Earliest claimed: 2023-06-02
- Assignees: Wiwynn Corporation
- Applicants: Wiwynn Corporation
- Inventors: Yi-Zhe Wu; Chih-Yuan Lin; Chih-Yuan Hung
- Web page: https://patentgrep.com/patent/US20240403467A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device for accessing data has a first memory, a second memory and a security module. The first memory has a first region and a second region. The second memory has a third region and a fourth region. The security module maintains firmware stored in the first region, the second region, the third region and the fourth region, and generates routing decision logic depending on the firmware stored in the first region, the second region, the third region and the fourth region.

## Claims

### Claim 1

An electronic device for accessing data comprising:
a first memory comprising a first region and a second region;
a second memory coupled to the first memory, comprising a third region and a fourth region; and
a security module coupled to the first memory and the second memory, and configured to maintain a firmware stored in the first region, the second region, the third region and the fourth region, and generate a routing decision logic depending on the firmware stored in the first region, the second region, the third region and the fourth region.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein:
one of the first region and the third region stores a latest version of the firmware, and the other one stores a second latest version of the firmware.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein:
when the latest version of the firmware is inaccessible or verification fails, and the second latest version of the firmware is successfully verified, the security module overwrites the latest version of the firmware with the second latest version of the firmware.

### Claim 4 (depends on 2)

The electronic device of claim 2, wherein:
the second region and the fourth region respectively store a default version of the firmware, and the default version of the firmware is the same as or older than the latest version of the firmware; and
when both the latest version and the second latest version of the firmware are inaccessible or verification fails, and the default version of the firmware is successfully verified, the security module overwrites the latest version of the firmware with the default version of the firmware.

### Claim 5 (depends on 1)

The electronic device of claim 1, further comprising:
a switch coupled to the security module, and configured to establish a first access path and/or a second access path to the firmware depending on the routing decision logic; and
an execution hardware coupled to the switch, the first memory and the second memory, and configured to access the firmware stored in a primary memory of the first memory and the second memory through the first access path, and/or to update the firmware stored in a secondary memory of the first memory and the second memory through the second access path.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein the execution hardware is a platform controller hub or a baseboard management controller.

### Claim 7 (depends on 5)

The electronic device of claim 5, wherein:
when the routing decision logic comprises a first chip select input set, the first memory is set as the primary memory, and the second memory is set as the secondary memory; or
when the routing decision logic comprises a second chip select input set, the second memory is set as the primary memory, and the first memory is set as the secondary memory.

### Claim 8 (depends on 7)

The electronic device of claim 7, wherein:
when the first memory is successfully verified and the first region stores the latest version of the firmware, the routing decision logic comprises the first chip select input set; and
the execution hardware is configured to update the firmware stored in the third region.

### Claim 9 (depends on 7)

The electronic device of claim 7, wherein:
when the second memory is successfully verified and the third region stores the latest version of the firmware, the routing decision logic comprises the second chip select input set; and
the execution hardware is configured to update the firmware stored in the first region.

### Claim 10 (depends on 7)

The electronic device of claim 7, wherein:
when the second memory is inaccessible or verification fails, and the first memory is successfully verified, the routing decision logic comprises the first chip select input set; or
when the first memory is inaccessible or verification fails, and the second memory is successfully verified, the routing decision logic comprises the second chip select input set.

### Claim 11

A method for accessing data comprising:
providing a first memory, the first memory comprising a first region and a second region;
providing a second memory, the second memory comprising a third region and a fourth region;
a security module maintaining a firmware stored in the first region, the second region, the third region and the fourth region; and
the security module generating a routing decision logic depending on the firmware stored in the first region, the second region, the third region and the fourth region.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
storing a latest version of the firmware in one of the first region and the third region; and
storing a second latest version of the firmware in the other one of the first region and the third region.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
when the latest version of the firmware is inaccessible or verification fails, and the second latest version of the firmware is successfully verified, the security module overwriting the latest version of the firmware with the second latest version of the firmware.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
storing a default version of the firmware in the second region and the fourth region, and the default version of the firmware being the same as or older than the latest version of the firmware; and
when both the latest version and the second latest version of the firmware are inaccessible or verification fails, and the default version of the firmware is successfully verified, the security module overwriting the latest version of the firmware with the default version of the firmware.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
a switch establishing a first access path and/or a second access path to the firmware depending on the routing decision logic; and
an execution hardware accessing the firmware stored in a primary memory of the first memory and the second memory through the first access path, and/or updating the firmware stored in a secondary memory of the first memory and the second memory through the second access path.

### Claim 16 (depends on 15)

The method of claim 15, wherein:
the execution hardware is a platform controller hub or a baseboard management controller.

### Claim 17 (depends on 15)

The method of claim 15, further comprising:
when the routing decision logic comprises a first chip select input set, setting the first memory as the primary memory and setting the second memory as the secondary memory; or
when the routing decision logic comprises a second chip select input set, setting the second memory as the primary memory and setting the first memory as the secondary memory.

### Claim 18 (depends on 17)

The method of claim 17, wherein:
when the first memory is successfully verified and the first region stores the latest version of the firmware, the routing decision logic comprises the first chip select input set; and
the method further comprises the execution hardware updating the firmware stored in the third region.

### Claim 19 (depends on 17)

The method of claim 17, wherein:
when the second memory is successfully verified and the third region stores the latest version of the firmware, the routing decision logic comprises the second chip select input set; and
the method further comprises the execution hardware updating the firmware stored in the first region.

### Claim 20 (depends on 17)

The method of claim 17, wherein:
when the second memory is inaccessible or verification fails, and the first memory is successfully verified, the routing decision logic comprises the first chip select input set; or
when the first memory is inaccessible or verification fails, and the second memory is successfully verified, the routing decision logic comprises the second chip select input set.
