Electronic control apparatus and method for writing backup data in electronic control apparatus
AssigneeHitachi, Ltd.
InventorsKazuya Hoshino, Masato Yuzawa
Life of this patent
Estimating the term…
Abstract
When a power switch is turned OFF, the execution of steady process is stopped, and backup data is written into a flash memory. If the power switch is turned ON during the writing of the backup data, the backup data writing execution is allowed to last for a predetermined time T1 after an instant when the power switch is turned ON, and if the writing of the backup data is not terminated at the time when the predetermined time T1 has elapsed, the writing of the backup data is interrupted so that the steady process is started for being executed.
Claims15
An electronic control apparatus connected to an another electronic control apparatus via a communication line, in which the another electronic control apparatus judges that an abnormality occurs in the electronic control apparatus in the case in which a time from when the power switch is turned ON until when a steady process is started for being executed in the electronic control apparatus exceeds a threshold, comprising:
- a rewritable non-volatile memory;
- a writing section that executes writing of backup data into the rewritable nonvolatile memory during self-shutoff process after a power switch is turned OFF;
- and
- a steady process resuming section that resumes steady process to be executed corresponding to an ON-state of the power switch, when the power switch is again turned ON during the writing of the backup data into the memory by the writing section and when the writing of the backup data is not terminated before elapse of a predetermined time from an instant when the power switch is again turned ON, the steady process resuming section setting a time shorter than the threshold as the predetermined time.
An electronic control apparatus connected to an another electronic control apparatus via a communication line, in which the another electronic control apparatus judges that an abnormality occurs in the electronic control apparatus in the case in which a time from when the power switch is turned ON until when the steady process is started for being executed in the electronic control apparatus exceeds a threshold, comprising:
- a rewritable nonvolatile memory;
- a writing means that executes writing of backup data into the rewritable nonvolatile memory during self-shutoff process after a power switch is turned OFF;
- and
- a steady process resuming means that resumes steady process to be executed corresponding to an ON-state of the power switch, when the power switch is again turned ON during the writing of the backup data into the memory by the writing means writing section and when the writing of the backup data is not terminated before elapse of a predetermined time from an instant when the power switch is again turned ON, the steady process resuming means setting a time shorter than the threshold as the predetermined time.
A writing method of backup data in an electronic control apparatus having a rewritable nonvolatile memory, in which an another electronic control apparatus in communication with the electronic control apparatus via a communication line judges that an abnormality occurs in the electronic control apparatus in the case in which a time from when the power switch is turned ON until when a steady process is started for being executed in the electronic control apparatus exceeds a threshold, comprising the steps of:
- executing writing of backup data in the memory during the self-shutoff process after a power switch is turned OFF;
- measuring an elapsed time from an instant when the power switch was again turned ON during the writing of the backup data in the memory;
- resuming the steady process to be executed corresponding to the ON-state of the power switch when the writing of the backup data is not terminated at the time when the elapsed time reaches a predetermined time;
- and
- setting a time shorter than the threshold as the predetermined time.
Dependencies are inferred from the claim text.