Method and apparatus for updating data in nonvolatile memory

Electrical computers and digital processing systems: memory – Storage accessing and control – Specific memory composition

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S154000, C712S037000, C713S001000, C713S002000, C713S100000

Reexamination Certificate

active

06594723

ABSTRACT:

TECHNICAL FIELD
This invention relates to nonvolatile memories, and more particularly to updating data stored in nonvolatile memories.
BACKGROUND
Some modern computer systems use a type of nonvolatile memory device referred to as “Flash memory” or “Flash RAM”. Flash memory is a type of electrically erasable programmable read-only memory (EEPROM) that can be erased and reprogrammed in units of memory cells referred to as “blocks”. Data can be written into and read from the Flash memory analogous to other types of conventional memories.
Flash memories can be used as a replacement for other types of nonvolatile storage media (e.g., other read only memories (ROMs) or magnetic disks) as well as more traditional types of system memory (e.g., random access memory (RAM)). When using Flash memory, data can be transferred from the Flash memory to a volatile system memory before being accessed by a processor in the system. Alternatively, the data can be accessed directly from the Flash memory. For example, instructions can be “executed in place” from the Flash memory, not requiring the instructions to be transferred to volatile system memory before being executed by the processor.
Typically, however, current Flash memories do not allow instructions to be executed in place while the Flash memory is being written to. This limitation makes it difficult to update instructions in the Flash memory, often requiring the updating to be performed by an individual possessing special knowledge and/or skill rather than by the typical computer user.
This problem can be aggravated if appropriate care is not taken to ensure that the updating of the Flash memory is carried out completely. That is, if the computer is turned off during the updating process, the results can be disastrous. This is particularly true when, for example, an operating system in the Flash memory is being updated. If the computer is turned off while the operating system is being updated, the operating system may not function properly (or at all) when the computer is next restarted.
The invention described below addresses these disadvantages, providing an improved way to update instructions and/or data in Flash memory.
SUMMARY
A computer system includes a Flash or other nonvolatile memory. A program(s) to coordinate data transfers is loaded into a volatile system memory to transfer data from an external device to the Flash memory. The data transferred from the external device to the Flash memory can be transferred to a previously unused portion of the Flash memory, or alternatively can overwrite a previously used portion of the Flash memory.
According to one aspect of the invention, the computer operating system is temporarily re-configured to use only a portion of the volatile system memory. Another portion (a reserved portion) of the system memory is not made available to the operating system and is used to store a temporary operating system and the new data to be copied to the Flash memory. The new data is copied from the external device to the reserved portion and is verified. By copying the new data into the system memory, any errors in copying the data from the external device can be detected before the Flash memory is affected. The data is then copied from the reserved portion to the Flash memory, and again verified.
According to another aspect of the invention, data is copied from the external device to the Flash memory on a portion by portion basis, each portion being made up of one or more bytes of data. The portions are transferred according to an order in which a set of critical portions is transferred last. If the system were to lose power during the updating process, the system can still function so long as the previous versions of the critical portions in the Flash memory have not been overwritten yet. Thus, transferring the set of critical portions last makes the system more tolerant to accidental power losses during the updating process.


REFERENCES:
patent: 5101490 (1992-03-01), Getson, Jr. et al.
patent: 5579522 (1996-11-01), Christeson et al.
patent: 5727170 (1998-03-01), Mitchell et al.
patent: 5835933 (1998-11-01), Wells et al.
patent: 5854937 (1998-12-01), Woodward
patent: 5873112 (1999-02-01), Norman
patent: 6195511 (2001-02-01), Harada
patent: 6292868 (2001-09-01), Norman
patent: 6327652 (2001-12-01), England et al.
patent: 2002/0016908 (2002-02-01), Tanaka

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 updating data in nonvolatile memory 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 updating data in nonvolatile memory, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for updating data in nonvolatile memory will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3026385

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