# US 2025/0085976 A1 · Replacement device, information processing method, and information processing device

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

- Number: US 2025/0085976 A1
- Document ID: US20250085976A1
- Status: Published application
- Kind: A1
- Application number: 18/721,710
- Filed: 2022-12-15
- Published: 2025-03-13
- Earliest claimed: 2021-12-27
- Assignees: Sony Group Corporation
- Applicants: Sony Group Corporation
- Inventors: KOJI KIYOTA
- Web page: https://patentgrep.com/patent/US20250085976A1

## CPC

- G06F 9/4406: {Loading of operating system}
- G06F 9/4486: {Formation of subprogram jump address}
- G06F 12/00: Accessing, addressing or allocating within memory systems or architectures (digital input from, or digital output to record carriers, e.g. to disk storage units, G06F3/06)
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/06: Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication (G06F12/08 takes precedence)
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A replacement device according to an embodiment includes: a first determination unit that determines whether or not a processor has performed access of instruction fetch to a predetermined address of a nonvolatile memory on the nonvolatile memory used by the processor as a boot device; a second determination unit that determines whether or not data acquired by the access of the instruction fetch from the nonvolatile memory matches identification information indicating that program data has been written in the nonvolatile memory when the first determination unit determines that the access of the instruction fetch to the predetermined address has been performed; and a replacement unit that replaces the data with one of a first instruction to change a program counter in the processor and a second instruction not to change the program counter in accordance with a determination result from the second determination unit, and outputs one of the first instruction and the second instruction to the processor.

## Claims

### Claim 1

A replacement device comprising:
a first determination unit that determines whether or not a processor has performed access of instruction fetch to a predetermined address of a nonvolatile memory on the nonvolatile memory used by the processor as a boot device;
a second determination unit that determines whether or not data acquired by the access of the instruction fetch from the nonvolatile memory matches identification information indicating that program data has been written in the nonvolatile memory when the first determination unit determines that the access of the instruction fetch to the predetermined address has been performed; and
a replacement unit that replaces the data with one of a first instruction to change a program counter in the processor and a second instruction not to change the program counter in accordance with a determination result from the second determination unit, and outputs one of the first instruction and the second instruction to the processor.

### Claim 2 (depends on 1)

The replacement device according to claim 1,
wherein the replacement unit replaces the data with the first instruction when the second determination unit determines that the data matches the identification information, and replaces the data with the second instruction when the second determination unit determines that the data does not match the identification information.

### Claim 3 (depends on 1)

The replacement device according to claim 1, further comprising
a selection unit that selects which one of the data and the first instruction or the second instruction is to be output to the processor in accordance with a determination result from the first determination unit.

### Claim 4 (depends on 1)

The replacement device according to claim 1,
wherein the first instruction is a no operation (NOP) instruction.

### Claim 5 (depends on 1)

The replacement device according to claim 1,
wherein the first instruction is a jump instruction instructing a jump to an address different from an address at which the identification information is placed in the nonvolatile memory.

### Claim 6 (depends on 1)

The replacement device according to claim 1,
wherein the second instruction is a jump instruction instructing a jump to an address at which the identification information is placed in the nonvolatile memory.

### Claim 7 (depends on 1)

The replacement device according to claim 1,
wherein the predetermined address is used for the processor to access the nonvolatile memory for first performing instruction fetch after reset release.

### Claim 8

An information processing method comprising:
a first determination step of determining whether or not a processor has performed access of instruction fetch to a predetermined address of a nonvolatile memory on the nonvolatile memory used by the processor as a boot device;
a second determination step of determining whether or not data acquired by the access of the instruction fetch from the nonvolatile memory matches identification information indicating that program data has been written in the nonvolatile memory when it is determined, in the first determination step, that the access of the instruction fetch to the predetermined address has been performed; and
a replacement step of replacing the data with one of a first instruction to change a program counter in the processor and a second instruction not to change the program counter in accordance with a determination result of the second determination step, and outputs one of the first instruction and the second instruction to the processor.

### Claim 9

An information processing method comprising:
a first writing step of writing program data to an address of a nonvolatile memory, the address not overlapping a predetermined address for a processor using the nonvolatile memory as a boot device to access the nonvolatile memory for first performing instruction fetch after reset release; and
a second writing step of writing identification information indicating that the program data has been written in the nonvolatile memory to the predetermined address of the nonvolatile memory after the program data is written in the first writing step,
a hardware device executing the first writing step and the second writing step.

### Claim 10 (depends on 9)

The information processing method according to claim 9,
wherein the first writing step includes:
first writing processing of writing the program data to the nonvolatile memory; and
first verification processing for the first writing processing,
wherein processing shifts to the second writing step when the first verification processing succeeds, the first writing processing is re-executed when the first verification processing fails, the second writing step is skipped when re-execution of the first writing processing is repeated up to a number of times of an upper limit, and processing of writing to the nonvolatile memory is ended with an error.

### Claim 11 (depends on 9)

The information processing method according to claim 9,
wherein the second writing step includes:
second writing processing of writing the identification information to the nonvolatile memory; and
second verification processing for the second writing processing,
wherein processing of writing to the nonvolatile memory is normally ended when the second verification processing succeeds, the second writing processing is re-executed when the second verification processing fails, and the processing of writing to the nonvolatile memory is ended with an error when re-execution of the second writing processing is repeated up to a number of times of an upper limit.

### Claim 12

An information processing device comprising:
a processor; and
a nonvolatile memory used by the processor as a boot device,
wherein, in the nonvolatile memory, writing of first identification information indicating that a program data to be executed by the processor has been written in the nonvolatile memory to a first predetermined address which the processor first performs instruction fetch after reset release and writing of the program data to an address not overlapping the first predetermined address are executed after the nonvolatile memory is mounted.

### Claim 13 (depends on 12)

The information processing device according to claim 12, further comprising a first replacement processing unit including:
a first determination unit that determines whether or not the processor has performed access of instruction fetch to the first predetermined address of the nonvolatile memory on the nonvolatile memory;
a second determination unit that determines whether or not data acquired by the access of the instruction fetch from the nonvolatile memory matches the first identification information when the first determination unit determines that the access of the instruction fetch to the first predetermined address has been performed; and
a first replacement unit that replaces the data with one of a first instruction to change a program counter in the processor and a second instruction not to change the program counter in accordance with a determination result from the second determination unit, and outputs one of the first instruction and the second instruction to the processor.

### Claim 14 (depends on 13)

The information processing device according to claim 13,
wherein the first replacement unit replaces the data with the first instruction when the second determination unit determines that the data matches the first identification information, and replaces the data with the second instruction when the second determination unit determines that the data does not match the first identification information.

### Claim 15 (depends on 13)

The information processing device according to claim 13, further comprising
a first selection unit that selects which one of the data and the first instruction or the second instruction is to be output to the processor in accordance with a determination result from the first determination unit.

### Claim 16 (depends on 13)

The information processing device according to claim 13,
wherein the first instruction is a no operation (NOP) instruction.

### Claim 17 (depends on 13)

The information processing device according to claim 13,
wherein the first instruction is a jump instruction instructing a jump to an address different from an address at which the first identification information is placed in the nonvolatile memory.

### Claim 18 (depends on 13)

The information processing device according to claim 13,
wherein the second instruction is a jump instruction instructing a jump to an address at which the first identification information is placed in the nonvolatile memory.

### Claim 19 (depends on 13)

The information processing device according to claim 13, further comprising a second replacement processing unit including:
a third determination unit that determines whether or not the processor has performed access of instruction fetch to a second predetermined address different from the first predetermined address of the nonvolatile memory on the nonvolatile memory;
a fourth determination unit that determines whether or not data acquired by the access of the instruction fetch from the nonvolatile memory matches a second identification information when the third determination unit determines that the access of the instruction fetch to the second predetermined address has been performed; and
a second replacement unit that replaces the data with one of a third instruction to change a program counter in the processor and a fourth instruction not to change the program counter in accordance with a determination result from the fourth determination unit, and outputs one of the third instruction and the fourth instruction to the processor,
wherein each of the first replacement processing unit and the second replacement processing unit acquires information indicating the access of the instruction fetch, and
output of the second replacement unit is input to the first replacement unit.

### Claim 20 (depends on 19)

The information processing device according to claim 19,
wherein the third instruction is a no operation (NOP) instruction.

### Claim 21 (depends on 19)

The information processing device according to claim 19,
wherein the third instruction is a jump instruction instructing a jump to an address different from an address at which the first identification information and the second identification information are placed in the nonvolatile memory.

### Claim 22 (depends on 19)

The information processing device according to claim 19,
wherein the fourth instruction is a jump instruction instructing a jump to an address at which the second identification information is placed in the nonvolatile memory.
