Method and computer-based system for rewriting a nonvolatile rewritable memory
Abstract
A method and system have a feature of rewriting an application program to a nonvolatile rewritable memory in a way that allows for prevention of execution or corrupted program or recovery from failures that occur during execution of the application program. Before writing the application program to a first segment of the memory, an indicator is written to a second segment of the memory, indicating that the first segment of memory contains "invalid" information. At least the first segment, but not the second segment, is then erased and the application program is then written to the first segment. If the writing process is not completed, perhaps due to an unforseen disturbance (e.g., power outage) in the system, the first segment retains the indicator without changing the indicator's value. However, if the writing process is completed, a control processor determines that the writing process is completed and changes the indicator in the first segment to a value indicative of "valid" data. Prior to subsequent attempts to execute the application program, the value is checked, and if the value indicates the presence of invalid data, process control does not transition
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 26.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for rewriting a nonvolatile rewritable memory, comprising the steps of: identifying an application program to be stored in said nonvolatile rewritable memory; writing an indicator value to a first segment of said nonvolatile memory rewritable memory, which comprises a flash memory, said indicator value indicating that data contained in an application portion of said nonvolatile memory contains invalid data; transferring an old application program from said application portion to an auxiliary memory; erasing said application portion of the second segment of said nonvolatile rewri
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗