# US 2001/0011347 A1 · Method and apparatus for upgrading firmware boot and main codes in a programmable memory

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

- Number: US 2001/0011347 A1
- Document ID: US20010011347A1
- Status: Published application
- Kind: A1
- Application number: 09/102,183
- Filed: 1998-06-22
- Published: 2001-08-02
- Earliest claimed: 1998-06-22
- Assignees: Elsag International N.V.
- Inventors: SHANTHALA NARAYANASWAMY; RICHARD J MOLNAR; MICHAEL J WOZNIAK
- Web page: https://patentgrep.com/patent/US20010011347A1

## CPC

- G06F 9/4406: {Loading of operating system}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for loading upgraded, that is, new boot code and/or main firm ware has a programmable memory that has two boot code regions. One of the regions holds the active boot code while the other region holds the inactive boot code. During a boot code upgrade, the boot code in the inactive region, is under control of the boot code in the active region, replaced with the new boot code. Once the replacement process is verified as having been successful and the vector table in the new boot code is copied to the processor vector table in the memory, the processor can be reset so that the new boot code becomes the active boot code and the previously active boot code becomes the inactive boot code.

## Claims

### Claim 1

A system for providing new boot code for a processor comprising:
a. a writable non-volatile memory comprising:
i. one region having active boot code therein; and
ii. another region having inactive boot code therein;
b. a source of said new boot code; and
c. means including said processor and under control of said active boot code for replacing said inactive boot code with said new boot code from said source.

### Claim 2 (depends on 1)

The system of claim 1 wherein said memory further comprises a processor vector table and said new boot code includes a vector table, said replacing means causing after said new boot code has replaced said inactive boot code said new boot code vector table to be copied to said memory processor vector table so that said new boot code can become said active boot code upon resetting of said processor.

### Claim 3

A system for providing new boot code for a processor comprising:
a. a writable non-volatile memory comprising:
i. one region having active boot code therein; and
ii. another region having inactive boot code therein; and
b. a source of said new boot code connected to said processor;
said processor operating under control of said active boot code for replacing said inactive boot code with said new boot code from said source.

### Claim 4 (depends on 3)

The system of claim 3 wherein said memory further comprises a processor vector table and said new boot code includes a vector table, said processor causing after said new boot code has replaced said inactive boot code said new boot code vector table to be copied to said memory processor vector table so that said new boot code can become said active boot code upon resetting of said processor.

### Claim 5

A method of providing new boot code for a processor, comprising the steps of:
a. providing a writable non-volatile memory having one region having active boot code for said processor therein and another region having inactive boot code for said processor therein;
b. connecting a source of new boot code to said processor;
c. transmitting said new boot code from said source to said processor; and
d. writing under control of said active boot code said new boot code to said another region to thereby replace said inactive boot code.

### Claim 6 (depends on 5)

The method of claim 5 further including after said writing step the step of verifying that said new boot code is written to said another region.

### Claim 7 (depends on 6)

The method of claim 6 wherein said memory also has a processor vector table and said new boot code includes a vector table and said method further includes after said verifying step the step of copying said new boot code vector table to said memory processor vector table.

### Claim 8 (depends on 7)

The method of claim 7 further including after said copying step the step of resetting said processor so that said new boot code becomes said active boot code.

### Claim 9

In a device having a processor a method of providing new boot code for said processor, comprising the steps of:
a. providing in said device a writable non-volatile memory having one region having active boot code for said processor therein and another region having inactive boot code for said processor therein;
b. connecting a source of new boot code to said processor;
C. transmitting said new boot code from said source to said processor; and
d. writing under control of said active boot code said new boot code to said another region to thereby replace said inactive boot code.

### Claim 10 (depends on 9)

The method of claim 9 wherein said new boot code source is external to said device.

### Claim 11 (depends on 9)

The method of claim 9 further including after said writing step the step of verifying that said new boot code is written to said another region.

### Claim 12 (depends on 11)

The method of claim 11 wherein said memory also has a processor vector table and said new boot code includes a vector table and said method further includes after said verifying step the step of copying said new boot code vector table to said memory processor vector table.

### Claim 13 (depends on 12)

The method of claim 12 further including after said copying step the step of resetting said processor so that said new boot code becomes said active boot code.

### Claim 14

A system for providing new boot code for a processor in a device, comprising:
a. a writable non-volatile memory in said device, said memory comprising:
i. one region having active boot code therein; and
ii. another region having inactive boot code therein;
b. means for connecting a source of said new boot code to said device; and
c. means including said processor and under control of said active boot code for replacing said inactive boot code with said new boot code from said source.

### Claim 15 (depends on 14)

The system of claim 14 wherein said device has a housing and said processor, said replacing means, and said memory are inside said housing.

### Claim 16 (depends on 15)

The system of claim 15 wherein said new boot code source is outside of said housing.

### Claim 17 (depends on 15)

The system of claim 15 wherein said source includes a connector and said means for connecting said source to said device comprises a connector on said housing and a cable compatible with said source connector and said housing connector.
