CONTROL DEVICE FOR VEHICLE AND ERROR PROCESSING METHOD IN CONTROL DEVICE FOR VEHICLE
First Claim
1. A control device for a vehicle comprising:
- a nonvolatile memory which is electrically erasable and writable;
an error detection unit which detects, on start-up, whether or not an error occurs in updated data in the nonvolatile memory;
a reset unit which performs a reset when an error is detected by the error detection unit; and
a rewrite unit which rewrites, when the device is restarted by the reset, updated data in which the error has occurred with a predetermined value prior to error detection to be performed by the error detection unit.
2 Assignments
0 Petitions
Accused Products
Abstract
A control device for a vehicle including a nonvolatile memory which is electrically erasable and writable detects, on start-up, whether or not an error occurs in updated data read from the nonvolatile memory, and when an error has been detected, performs a reset after saving error information. When being restarted by the reset, the control device for a vehicle determines on the basis of the error information whether or not there is updated data in which an error has occurred, and when there is updated data in which an error has occurred, overwrites the updated data with a fixed value prior to the error detection. Accordingly, there can be suppressed a case in which the error detection is performed while the updated data with an abnormality is present causing the reset and the error detection to be repeated.
16 Citations
20 Claims
-
1. A control device for a vehicle comprising:
-
a nonvolatile memory which is electrically erasable and writable; an error detection unit which detects, on start-up, whether or not an error occurs in updated data in the nonvolatile memory; a reset unit which performs a reset when an error is detected by the error detection unit; and a rewrite unit which rewrites, when the device is restarted by the reset, updated data in which the error has occurred with a predetermined value prior to error detection to be performed by the error detection unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A control device for a vehicle comprising:
-
a nonvolatile memory which is electrically erasable and writable; error detection means which detects, on start-up, whether or not an error occurs in updated data in the nonvolatile memory; reset means which performs a reset when an error is detected by the error detection means; and rewrite means which rewrites, when the device is restarted by the reset, updated data in which the error has occurred with a predetermined value prior to error detection to be performed by the error detection means.
-
-
16. An error processing method performed in a control device for a vehicle including a nonvolatile memory which is electrically erasable and writable, the method comprising steps of:
-
determining on start-up whether or not there is a history of detecting an error in updated data in the nonvolatile memory; detecting, when there is no history of detecting an error, whether or not an error occurs in the updated data in the nonvolatile memory; rewriting, when there is a history of detecting an error, the updated data in which the error has occurred with a predetermined value and subsequently detecting whether or not an error occurs in the updated data in the nonvolatile memory; and resetting the control device for a vehicle when an error is detected in the updated data. - View Dependent Claims (17, 18, 19, 20)
-
Specification