Method and apparatus for updateable flash memory design and...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S005110

Reexamination Certificate

active

06665813

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates generally to an improved flash memory design and in particular to a method and an apparatus for recovery using a flash memory system. Still more particularly, the present invention provides a method and an apparatus for fail-safe flash memory recovery with minimal redundancy.
2. Description of the Related Art
When a modern computer system is started, it executes firmware to initialize and test the system before control is transferred to an operating system. This firmware is typically stored in “flash” memory. Since a system configuration can change over a period of time, this flash memory is updateable so that it finds and initializes the devices currently installed on the system.
If a major system error, such as a power failure, occurs during the update process, the flash memory can be corrupted. Therefore, it is important that there be a mechanism to recover the contents of the flash memory firmware in the event of corruption during update, without requiring a hardware update of the corrupted parts.
A simple, but wasteful, solution is to maintain two complete separate copies of the firmware in flash memory along with minimal code to verify each copy prior to its use. If the verification code detects a corrupted Copy “A” due to a major problem, such as a power failure, it can now use Copy “B” to startup the system. Corruption can be detected using a known technique, such as a cyclic redundancy check (CRC). During the execution of Copy B, a new, correct Copy A can be restored in the firmware. This approach requires flash memory to be at least twice as large in order to provide both updateability and integrity.
The memory space required to maintain two separate copies may be unacceptable in many cases and, as it turns out, unnecessary. Therefore, it would be advantageous to have a method and an apparatus for a flash memory recovery that provides both integrity and updateability with minimal redundancy.
SUMMARY OF THE INVENTION
A method and an apparatus is presented for updating flash memory that contains a write protected code, a first copy of rewritable recovery code, a second copy of rewritable recovery code, and a rewritable composite code. Each block of rewritable code contains a checksum code to detect if the block of code has been corrupted.
If it is detected that the first copy of the recovery code is corrupted then the second copy of the recovery code is copied into the first copy of the recovery code. If it is detected the second copy of the recovery code is corrupted then the first copy of the recovery code is copied into the second copy of the recovery code. The recovery code is responsible for checking and updating the composite code. If it is detected the composite code is corrupted then a fresh copy of the composite code is obtained from a removable storage device or a network connection.
The data processing system is booted by executing the write protected code, the first copy of the recovery code, and the composite code. There is a minimum of redundant code by only replicating two copies of the recovery code while, at the same time, guaranteeing both the integrity and the updateability of the flash memory.


REFERENCES:
patent: 5889987 (1999-03-01), Nelson et al.
patent: 6026016 (2000-02-01), Gafken
patent: 6092190 (2000-07-01), Lee
patent: 6308265 (2001-10-01), Miller
patent: 6536038 (2003-03-01), Ewertz et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for updateable flash memory design and... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for updateable flash memory design and..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for updateable flash memory design and... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3169267

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.