# US 2013/0159642 A1 · Method of Writing Firmware, Firmware Storage Medium, and Electronic Device

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

- Number: US 2013/0159642 A1
- Document ID: US20130159642A1
- Status: Published application
- Kind: A1
- Application number: 13/685,999
- Filed: 2012-11-27
- Published: 2013-06-20
- Earliest claimed: 2011-12-14
- Assignees: Seiko Epson Corporation
- Inventors: Shingo Todaka; Isao Eguchi
- Web page: https://patentgrep.com/patent/US20130159642A1

## CPC

- G06F 12/02: Addressing or allocation; Relocation (program address sequencing G06F9/00; arrangements for selecting an address in a digital store G11C8/00)
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F 12/1425: {the protection being physical, e.g. cell, word, block}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Writing only incompatible firmware is reliably prevented without limiting writing other firmware. A firmware storage area is reserved in printer memory, and an evaluation area for writing evaluation data is reserved in the boot sector at the beginning of the firmware storage area. When the firmware overwriting process starts, the printer control unit gets the evaluation data, which is firmware data overwritten to a fixed address set as the evaluation area, and based on this evaluation data determines whether to complete or abort the firmware writing process.

## Claims

### Claim 1

A method of writing firmware in an electronic device, wherein:
part of the firmware storage area in the electronic device is reserved as an evaluation area for determining whether to allow overwriting the firmware; and
a control unit of the electronic device executes a first step of starting to acquire overwrite data for overwriting the firmware, and acquiring evaluation data for overwriting the evaluation area, based on input of a firmware overwrite command,
a second step of deciding whether to overwrite the firmware based on the content of the acquired evaluation data, and
completes overwriting the firmware when overwriting the firmware is allowed in the second step.

### Claim 2 (depends on 1)

The method of writing firmware in an electronic device described in claim 1, wherein:
the electronic device has a plurality of parts that are controlled by the firmware; and
the evaluation area is a data area where information about at least one of the plural parts is written.

### Claim 3 (depends on 1)

The method of writing firmware in an electronic device described in claim 1, wherein:
the control unit of the electronic device compares data read from the evaluation area with the evaluation data in the second step, and determines that overwriting is not allowed if the data differ.

### Claim 4 (depends on 1)

The method of writing firmware in an electronic device described in claim 1, wherein:
the control unit of the electronic device determines whether the data read from the evaluation area or the evaluation data is newer in the second step, and allows overwriting only if the evaluation data is newer than the data read from the evaluation area.

### Claim 5 (depends on 1)

The method of writing firmware in an electronic device described in claim 1, wherein:
the evaluation area is reserved in the unit data storage area where data is written first in the firmware storage area.

### Claim 6 (depends on 1)

The method of writing firmware in an electronic device described in claim 1, wherein:
the electronic device is a printer or a device having a printer; and
the evaluation area is a data area where information about a thermal head or motor in the printer is written.

### Claim 7 (depends on 1)

A storage medium storing firmware that can be run by a control unit of an electronic device, wherein:
the firmware includes a firmware writing program to execute the firmware writing method described in claim 1;
firmware to control the electronic device; and
evaluation information that is used to determine whether to overwrite the firmware, and is written to a predetermined data area in the firmware storage area of the electronic device.

### Claim 8 (depends on 1)

An electronic device comprising:
a firmware storage area where the firmware, executing writing method described in claim 1, is written;
wherein part of the firmware storage area is an evaluation area for determining whether to overwrite the firmware.
