JPH1115741A - Electronic control unit - Google Patents
Electronic control unitInfo
- Publication number
- JPH1115741A JPH1115741A JP9170423A JP17042397A JPH1115741A JP H1115741 A JPH1115741 A JP H1115741A JP 9170423 A JP9170423 A JP 9170423A JP 17042397 A JP17042397 A JP 17042397A JP H1115741 A JPH1115741 A JP H1115741A
- Authority
- JP
- Japan
- Prior art keywords
- storage
- area
- stored
- electronic control
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
(57)【要約】
【課題】 制御の安全性と動作の信頼性とを高い次元で
両立させることのできる電子制御装置を提供する。
【解決手段】 フラッシュROMに書き込まれた制御プ
ログラムに従いエンジンを制御し、また、フラッシュR
OMの記憶内容をサムチェックにより定期的に検査し
て、異常を検出すると(S370:NO)、エンジンを
停止させる処理(S390)を行う電子制御装置におい
て、フラッシュROMには、制御プログラムが書き込ま
れた記憶領域(以下、書込領域)を示す書込領域データ
が書き込まれており、サムチェックを行うサムチェック
処理では、フラッシュROMから書込領域データを読み
出して上記書込領域を判別し(S320)、その書込領
域についてのみサムチェックを行う(S335〜S38
0)。よって、制御に実害のある異常時にだけ制御が停
止され、制御の安全性と動作の信頼性とを両立できる。
(57) [Problem] To provide an electronic control device capable of achieving both control safety and operation reliability at a high level. An engine is controlled according to a control program written in a flash ROM.
When the stored contents of the OM are periodically checked by the sum check and an abnormality is detected (S370: NO), the control program is written in the flash ROM in the electronic control unit that performs the process of stopping the engine (S390). The write area data indicating the storage area (hereinafter referred to as a write area) is written. In the sum check processing for performing a sum check, the write area data is read from the flash ROM to determine the write area (S320). ), And performs a checksum only on the write area (S335 to S38)
0). Therefore, the control is stopped only at the time of an abnormality that has actual harm to the control, and both control safety and operation reliability can be achieved.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、記憶内容の書き換
えが可能な不揮発性メモリを備え、その不揮発性メモリ
に記憶された制御プログラムに従って制御対象を制御す
る電子制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control unit having a non-volatile memory whose contents can be rewritten and controlling an object to be controlled in accordance with a control program stored in the non-volatile memory.
【0002】[0002]
【従来の技術】近年、例えば車両のエンジンを制御する
電子制御装置においては、エンジンを制御するための制
御プログラム(即ち、プログラムを構成するプログラム
コードや、それの実行時に参照される制御用データ)を
記憶しておく記憶媒体として、電気的に記憶内容の書き
換えが可能なEEPROMやフラッシュEEPROM
(以下、フラッシュROMという)等の不揮発性メモリ
を備え、その不揮発性メモリを装置に組み付けた状態
(実装した状態)で、プログラムを書き込み可能に構成
したものが提案されている。2. Description of the Related Art In recent years, for example, in an electronic control unit for controlling an engine of a vehicle, a control program for controlling the engine (ie, a program code constituting the program and control data referred to when the program is executed) As a storage medium for storing data, such as an electrically rewritable EEPROM or a flash EEPROM.
A nonvolatile memory such as a flash ROM (hereinafter referred to as a flash ROM) has been proposed in which a program can be written in a state where the nonvolatile memory is mounted (mounted) on a device.
【0003】そして、このような電子制御装置によれ
ば、車両の種類や仕向地などに応じてエンジンに対する
制御内容が異なる場合でも、ハードウェアを変更するこ
となく、前記不揮発性メモリに書き込んでおく制御プロ
グラムを変えるだけで対応することができる。According to such an electronic control device, even when the control content for the engine differs according to the type of vehicle, the destination, etc., the data is written in the non-volatile memory without changing the hardware. This can be handled simply by changing the control program.
【0004】ところで、一般に、記憶内容の書き換えが
可能なEEPROMやフラッシュROMなどの不揮発性
メモリは、記憶内容の書き換えが不能な所謂マスクRO
Mと比較すると、記憶内容の保持性能(データリテンシ
ョン)に劣る面がある。つまり、メモリセルに生じた劣
化による不良等によって、その記憶内容が途中で変化し
てしまう可能性がある。Generally, non-volatile memories such as EEPROMs and flash ROMs whose storage contents are rewritable are so-called mask ROs whose storage contents are not rewritable.
Compared with M, there is an aspect that storage performance (data retention) of stored contents is inferior. In other words, there is a possibility that the stored contents may change in the middle due to a defect or the like due to deterioration occurring in the memory cell.
【0005】そこで、従来より、この種の電子制御装置
では、その動作時に、不揮発性メモリの記憶内容が正常
であるか否かを、サムチェックによって検査するように
している。具体的には、まず、不揮発性メモリに書き込
むデータの和(即ち、サム値)が予め定めた規格値とな
るようにしておく。そして、電子制御装置は、その動作
時に、不揮発性メモリの全記憶領域のデータのサム値を
求め、その値が上記規格でなければ、不揮発性メモリの
記憶内容に異常が生じたと判断するようにしている。Therefore, conventionally, in this type of electronic control device, at the time of its operation, whether or not the contents stored in the nonvolatile memory are normal is checked by a sum check. Specifically, first, the sum of the data to be written to the nonvolatile memory (that is, the sum value) is set to a predetermined standard value. During the operation, the electronic control unit obtains the sum value of the data in the entire storage area of the nonvolatile memory, and if the value does not satisfy the above-mentioned standard, determines that an abnormality has occurred in the storage content of the nonvolatile memory. ing.
【0006】そして更に、この種の電子制御装置では、
上記の如く不揮発性メモリの記憶内容が異常であると判
断した場合には、その不揮発性メモリに記憶されている
制御プログラムの実行を止めて、例えばエンジンを強制
的に停止させるといったフェールセーフ用の動作モード
に移行し、これにより高い安全性を確保している。Further, in this type of electronic control device,
When it is determined that the storage content of the nonvolatile memory is abnormal as described above, the execution of the control program stored in the nonvolatile memory is stopped and, for example, a fail-safe operation such as forcibly stopping the engine is performed. The mode has shifted to the operation mode, thereby ensuring high security.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、上記従
来の電子制御装置では、高い安全性を確保することがで
きるものの、以下の問題があった。まず、この種の電子
制御装置では、車両の種類や仕向地などに対応した様々
な種類の制御プログラムが不揮発性メモリに択一的に書
き込まれるため、制御プログラムが実際に書き込まれる
不揮発性メモリの記憶領域は、機種によって異なる場合
がある。However, in the above-mentioned conventional electronic control device, although high security can be ensured, there are the following problems. First, in this type of electronic control device, various types of control programs corresponding to the type of vehicle, destination, and the like are alternatively written in the nonvolatile memory, so that the control program is actually written in the nonvolatile memory. The storage area may differ depending on the model.
【0008】このため、前述した従来装置の如く、不揮
発性メモリの全記憶領域の記憶内容についてサムチェッ
クを行うように構成すると、制御プログラムが記憶され
ていない領域(即ち、制御に関係のない記憶領域)で記
憶内容の変化が発生した場合でも、異常が生じたと判断
してフェールセーフ用の動作モードに移行してしまう。For this reason, if a sum check is performed on the storage contents of all the storage areas of the nonvolatile memory as in the above-described conventional apparatus, an area where the control program is not stored (that is, a storage irrelevant to control) is stored. Even when the storage content changes in the (area), it is determined that an abnormality has occurred, and the mode shifts to the fail-safe operation mode.
【0009】つまり、従来の装置では、実害のない異常
が不揮発性メモリに生じた場合でも、通常の制御動作を
停止してしまうこととなり、安全性は高いものの、動作
の信頼性には劣るものとなってしまうのである。本発明
は、こうした問題に鑑みなされたものであり、記憶内容
の書き換えが可能な不揮発性メモリに記憶された制御プ
ログラムに従い制御対象を制御する電子制御装置であっ
て、制御の安全性と動作の信頼性とを高い次元で両立さ
せることのできる電子制御装置を提供することを目的と
している。In other words, in the conventional device, even when an abnormality having no harm occurs in the nonvolatile memory, the normal control operation is stopped. Although the safety is high, the reliability of the operation is low. It will be. The present invention has been made in view of such a problem, and is an electronic control device that controls a control target in accordance with a control program stored in a nonvolatile memory whose storage content is rewritable. It is an object of the present invention to provide an electronic control device that can achieve both high reliability and high reliability.
【0010】[0010]
【課題を解決するための手段、及び発明の効果】まず、
請求項1に記載の本発明の電子制御装置は、記憶内容の
書き換えが可能であると共に、制御対象を制御するため
の制御プログラムが記憶された不揮発性メモリと、該不
揮発性メモリの記憶内容が正常であるか否かを検査する
検査手段とを備えている。そして、当該装置は、通常時
には、前記不揮発性メモリに記憶されている制御プログ
ラムに従って制御対象を制御するが、検査手段によって
異常が検出されると、前記不揮発性メモリに記憶されて
いる制御プログラムに従った制御を停止する。Means for Solving the Problems and Effects of the Invention
The electronic control device according to the first aspect of the present invention is configured such that the storage content is rewritable and a control program for controlling a control target is stored in the non-volatile memory; Inspection means for inspecting whether or not it is normal. The device normally controls the control target in accordance with the control program stored in the non-volatile memory, but when an abnormality is detected by the inspection means, the control program stores the control program in the non-volatile memory. Stop the following control.
【0011】尚、本発明において、制御プログラムと
は、制御対象を制御するためのソフトウェアであり、具
体的には、制御対象を制御するために実行されるプログ
ラムのプログラムコードと、その実行時に参照される制
御用データとの、両方或いは一方を示している。In the present invention, a control program is software for controlling a control target. Specifically, a control program is a program code for controlling a control target, and a program code referred to when the control program is executed. And / or one of the control data to be executed.
【0012】ここで特に、本発明の電子制御装置では、
検査手段が、前記不揮発性メモリの記憶領域のうちで制
御プログラムが記憶されている記憶領域を判別する領域
判別手段を備えている。そして、検査手段は、領域判別
手段によって判別された記憶領域の記憶内容についての
み、正常であるか否かを検査する。Here, in particular, in the electronic control device of the present invention,
The inspection means includes an area determining means for determining a storage area in which the control program is stored, among the storage areas of the nonvolatile memory. Then, the checking means checks whether or not only the storage contents of the storage area determined by the area determining means are normal.
【0013】つまり、本発明の電子制御装置では、不揮
発性メモリの記憶領域のうちで制御プログラムが記憶さ
れている記憶領域を判別し、その判別した記憶領域の記
憶内容(即ち、制御プログラム)についてのみ、正常で
あるか否かを検査している。そして、異常を検出した場
合には、不揮発性メモリに記憶されている制御プログラ
ムに従った制御を止めて、制御対象を不適切に制御して
しまうことを防止するようにしている。That is, in the electronic control unit of the present invention, the storage area in which the control program is stored is determined from the storage areas of the nonvolatile memory, and the storage contents of the determined storage area (that is, the control program) are determined. Only the normality is checked. When an abnormality is detected, the control according to the control program stored in the non-volatile memory is stopped to prevent the control target from being inappropriately controlled.
【0014】このため、本発明の電子制御装置によれ
ば、制御を行う上で実害のある異常が不揮発性メモリの
記憶内容に生じた場合にのみ、通常の制御動作を停止す
ることができ、制御の安全性と動作の信頼性とを高い次
元で両立させることができる。次に、請求項2に記載の
電子制御装置では、前記不揮発性メモリに、当該不揮発
性メモリの記憶領域のうちで制御プログラムが記憶され
ている記憶領域を示す領域情報が記憶されている。そし
て、領域判別手段は、不揮発性メモリから上記領域情報
を読み出すことにより、不揮発性メモリの記憶領域のう
ちで制御プログラムが記憶されている記憶領域を判別す
る。Therefore, according to the electronic control device of the present invention, the normal control operation can be stopped only when a harmful abnormality in the control occurs in the storage contents of the nonvolatile memory. The safety of control and the reliability of operation can be compatible at a high level. Next, in the electronic control device according to the second aspect, area information indicating a storage area in which a control program is stored among storage areas of the nonvolatile memory is stored in the nonvolatile memory. Then, the area determining means determines the storage area in which the control program is stored, from among the storage areas of the nonvolatile memory, by reading the area information from the nonvolatile memory.
【0015】このような請求項2に記載の電子制御装置
によれば、不揮発性メモリに制御プログラムを書き込む
際に、上記領域情報も一緒に書き込んでおくだけで、制
御プログラムが記憶されている記憶領域を確実に判別す
ることができる。尚、領域情報としては、制御プログラ
ムが記憶されている記憶領域の先頭番地と、その記憶領
域の大きさ(容量)とを表すデータ、或いは、制御プロ
グラムが記憶されている記憶領域の先頭番地と最終番地
との各々を表すデータが考えられる。According to the electronic control device of the second aspect, when the control program is written in the non-volatile memory, the area information is simply written together, and the control program is stored. The region can be reliably determined. As the area information, data indicating the start address of the storage area in which the control program is stored and the data indicating the size (capacity) of the storage area, or the start address of the storage area in which the control program is stored Data representing each of the last addresses is conceivable.
【0016】そして、この場合には、不揮発性メモリの
特定の記憶領域に、領域情報としての上記データを書き
込んでおき、領域判別手段が、その特定の記憶領域から
領域情報としての上記データを読み出して、制御プログ
ラムが記憶されている記憶領域を判別すれば良い。In this case, the data as the area information is written in a specific storage area of the nonvolatile memory, and the area determining means reads the data as the area information from the specific storage area. Then, the storage area in which the control program is stored may be determined.
【0017】また、制御プログラムが記憶されている記
憶領域の最初と最後との各々に、領域情報としての目印
コードを書き込んでおき、領域判別手段が、不揮発性メ
モリの記憶内容を順次読み出して上記目印コードを探す
ことにより、制御プログラムが記憶されている記憶領域
を判別するようにしてもよい。A mark code as area information is written in each of the beginning and end of the storage area in which the control program is stored, and the area discriminating means sequentially reads out the contents stored in the non-volatile memory. The storage area in which the control program is stored may be determined by searching for the mark code.
【0018】ところで、検査手段は、前記不揮発性メモ
リの記憶内容が正常であるか否かを、例えば、当該電子
制御装置が動作を開始した直後に、一回だけ検査するよ
うに構成しても良いが、請求項3に記載の如く、検査手
段が、前記不揮発性メモリの記憶内容が正常であるか否
かを定期的に検査するよう構成すれば、より大きな効果
を得ることができる。By the way, the inspection means may be configured to inspect whether or not the contents stored in the nonvolatile memory are normal, for example, once, immediately after the electronic control device starts operating. However, a greater effect can be obtained if the inspection means is configured to periodically inspect whether or not the storage content of the nonvolatile memory is normal, as described in claim 3.
【0019】つまり、不揮発性メモリの記憶内容は、い
つ変化してしまうか分からないため、請求項3に記載の
如く定期的に検査を行うことにより、制御の安全性を一
層高めることができるからである。一方、この種の電子
制御装置では、一般に、前記不揮発性メモリに新規に制
御プログラムを書き込む際には、制御プログラムの記憶
領域以外にも所定のデータを書き込み、その書き込み作
業の後で、不揮発性メモリの全記憶領域の記憶内容が書
き込んだ内容と一致しているか否かを検証することによ
り、不揮発性メモリへのデータ書き込みを問題なく実施
することができたこと(延いては、不揮発性メモリが正
常であること)を確認するようにしている。That is, since it is not known when the contents stored in the non-volatile memory change, the safety of the control can be further improved by performing the inspection periodically as described in claim 3. It is. On the other hand, in this type of electronic control device, generally, when a new control program is written in the nonvolatile memory, predetermined data is written in a storage area other than the storage area of the control program. By verifying whether or not the storage contents of all the storage areas of the memory correspond to the written contents, the data writing to the non-volatile memory could be performed without any problem. Is normal).
【0020】そこで、請求項4に記載の電子制御装置で
は、検査手段が、当該装置の外部から、前記不揮発性メ
モリの全ての記憶領域の記憶内容について検査を行うこ
とを要求する全領域検査要求があったか否かを検出する
要求検出手段を備えている。そして、検査手段は、要求
検出手段により前記全領域検査要求があったと検出され
ると、前記不揮発性メモリの全ての記憶領域の記憶内容
が正常であるか否かを検査し、異常を検出すると、当該
装置の外部へ異常を報知する。Therefore, in the electronic control device according to the fourth aspect, the inspection means requests the inspection of the storage contents of all the storage regions of the nonvolatile memory from outside the device. Request detecting means for detecting whether or not there is a request. When the request detection unit detects that the all region inspection request is received, the inspection unit checks whether or not the storage contents of all the storage regions of the nonvolatile memory are normal. Then, the abnormality is notified to the outside of the device.
【0021】このような請求項4に記載の電子制御装置
によれば、外部から全領域検査要求を与えることによ
り、不揮発性メモリの全ての記憶領域の記憶内容が正常
であるか否かを知ることができるため、不揮発性メモリ
に新規に制御プログラムを書き込んだ際に、不揮発性メ
モリが正常で且つデータの書き込みを問題なく実施する
ことができたか否かを、容易に確認することができる。According to the electronic control device of the fourth aspect, by giving the whole area inspection request from the outside, it is known whether or not the storage contents of all the storage areas of the nonvolatile memory are normal. Therefore, when a new control program is written in the non-volatile memory, it can be easily confirmed whether the non-volatile memory was normal and data writing could be performed without any problem.
【0022】ところで、不揮発性メモリの記憶内容が正
常であるか否かを検査するための手法としては、様々な
ものが考えられるが、請求項5に記載のように、検査手
段が、不揮発性メモリの記憶内容が正常であるか否かを
サムチェックによって検査するよう構成すれば、記憶内
容の良否を非常に簡単に検査することができる。By the way, various methods can be considered as a method for checking whether the storage contents of the nonvolatile memory are normal or not. If the memory is configured to check whether or not the storage contents are normal by a sum check, it is possible to check the quality of the storage contents very easily.
【0023】一方、前述した請求項1〜請求項5に記載
の電子制御装置において、検査手段は、所定の記憶媒体
に記憶されている検査プログラムに従って、前記不揮発
性メモリの記憶内容が正常であるか否かを検査するよう
に構成することができる。そして、上記検査プログラム
を記憶する記憶媒体としては、例えば、前記不揮発性メ
モリの記憶領域のうちで、制御プログラムが書き込まれ
る記憶領域以外の記憶領域を用いることができる。On the other hand, in the electronic control apparatus according to any one of the first to fifth aspects described above, the inspection means determines that the storage content of the nonvolatile memory is normal according to an inspection program stored in a predetermined storage medium. Or not. As the storage medium for storing the inspection program, for example, a storage area other than the storage area in which the control program is written, among the storage areas of the nonvolatile memory, can be used.
【0024】但し、この場合には、[従来の技術]の項
で述べたように、メモリセルに生じた劣化による不良等
によって、検査プログラムの内容が途中で変化してしま
う可能性がある。そこで、請求項6に記載のように、検
査手段が、記憶内容の書き換えが不能なプログラム格納
用メモリに記憶されている検査プログラムに従って、前
記不揮発性メモリの記憶内容が正常であるか否かを検査
するように構成すれば、検査プログラムの内容が変化し
てしまうことがなく、前記不揮発性メモリの記憶内容が
正常であるか否かを常に確実に検査できるため有利であ
る。However, in this case, as described in the section of [Prior Art], there is a possibility that the contents of the inspection program may be changed in the middle due to a defect or the like caused by deterioration of the memory cell. Therefore, as set forth in claim 6, the inspection means determines whether or not the storage content of the nonvolatile memory is normal according to an inspection program stored in a program storage memory in which the storage content cannot be rewritten. It is advantageous that the configuration is such that the content of the inspection program does not change, and whether or not the storage content of the non-volatile memory is normal can always be reliably inspected.
【0025】尚、記憶内容の書き換えが不能なプログラ
ム格納用メモリとしては、半導体チップの製造時にプロ
グラムが記憶される所謂マスクROMを用いることがで
きる。A so-called mask ROM in which a program is stored at the time of manufacturing a semiconductor chip can be used as a program storage memory whose stored contents cannot be rewritten.
【0026】[0026]
【発明の実施の形態】以下、本発明が適用された実施形
態について図面を用いて説明する。尚、本発明は、下記
の実施形態に限定されることなく、本発明の技術的範囲
に属する限り、種々の形態を採り得ることは言うまでも
ない。Embodiments of the present invention will be described below with reference to the drawings. It is needless to say that the present invention is not limited to the embodiments described below, and can take various forms as long as it belongs to the technical scope of the present invention.
【0027】まず図1は、自動車に搭載されて内燃機関
型エンジンの制御を行う、実施形態のエンジン制御装置
(以下、ECUという)2の構成を示すブロック図であ
る。図1に示すように、ECU2は、エンジンを制御す
るための様々な処理を実行するシングルチップマイクロ
コンピュータ(以下、マイコンという)4と、エンジン
の運転状態を検出する様々なセンサからの信号をマイコ
ン4に入力させると共に、マイコン4からの制御信号に
基づき、エンジンに取り付けられたインジェクタ(燃料
噴射弁)やイグナイタ等のアクチュエータへ駆動信号を
出力する入出力回路5と、記憶内容の書き換えが可能な
フラッシュROM6と、マイコン4とフラッシュROM
6とを情報交換可能に接続するバス7と、を備えてい
る。FIG. 1 is a block diagram showing the configuration of an engine control device (hereinafter referred to as an ECU) 2 mounted on an automobile and controlling an internal combustion engine. As shown in FIG. 1, the ECU 2 includes a single-chip microcomputer (hereinafter, referred to as a microcomputer) 4 for executing various processes for controlling the engine, and signals from various sensors for detecting the operating state of the engine. 4 and an input / output circuit 5 for outputting a drive signal to an actuator such as an injector (fuel injection valve) or an igniter attached to the engine based on a control signal from the microcomputer 4; Flash ROM 6, microcomputer 4 and flash ROM
And a bus 7 for exchanging information with the bus 6.
【0028】そして、マイコン4には、プログラムを実
行する周知のCPU8と、CPU8により実行されるプ
ログラムを格納するマスクROM10と、CPU8の演
算結果等を一時格納するRAM12と、前記入出力回路
5との間で信号の入出力を行うためのI/O14とが備
えられている。The microcomputer 4 includes a well-known CPU 8 for executing a program, a mask ROM 10 for storing a program to be executed by the CPU 8, a RAM 12 for temporarily storing calculation results of the CPU 8, and the like. And an I / O 14 for inputting / outputting a signal between them.
【0029】また、前記入出力回路5からは、先端にコ
ネクタ16が取り付けられた信号線18が延びており、
コネクタ16には、車両の内部状態を検査するための検
査装置20が着脱自在に接続される。そして、ECU2
は、コネクタ16に検査装置20が接続されて、後述す
るようにテストモードであると判断すると、フラッシュ
ROM6が正常であるか否かを検査して、その検査結果
を表す信号を検査装置20へ送信するようになってい
る。From the input / output circuit 5, a signal line 18 to which a connector 16 is attached at the end extends.
An inspection device 20 for inspecting the internal state of the vehicle is detachably connected to the connector 16. And ECU2
When the inspection device 20 is connected to the connector 16 and it is determined that the test mode is set as described later, whether the flash ROM 6 is normal is checked and a signal representing the inspection result is sent to the inspection device 20. To be sent.
【0030】尚、ECU2は、その動作中に、上記セン
サやアクチュエータ等の車両各部の作動状態を監視して
おり、検査装置20からの指令に応じて、上記監視した
結果を表す監視データを検査装置20へ送信するように
なっているが、この点については、本発明とは直接関係
が無いので、詳細な説明は省略する。The ECU 2 monitors the operating state of each part of the vehicle such as the sensors and actuators during its operation. In response to a command from the inspection device 20, the ECU 2 checks the monitoring data representing the monitored result. The information is transmitted to the device 20. However, since this point is not directly related to the present invention, a detailed description is omitted.
【0031】ここで、マイコン4内のマスクROM10
は、記憶内容の書き換えが不能な不揮発性メモリであ
る。そして、このマスクROM10には、リセット直後
に実行されるブートプログラムと、フラッシュROM6
の記憶内容が正常であるか否かを検査するために実行さ
れるサムチェック処理のプログラム(検査プログラム)
と、上記サムチェック処理にて異常が検出された場合に
実行されるフェールセーフ処理のプログラムとが、マイ
コン4の製造時に記憶されている。Here, the mask ROM 10 in the microcomputer 4
Is a nonvolatile memory whose stored contents cannot be rewritten. The mask ROM 10 stores a boot program executed immediately after reset and a flash ROM 6.
Of a sum check process (inspection program) executed to check whether or not the stored contents of the memory are normal
And a program for a fail-safe process executed when an abnormality is detected in the above-mentioned sum check process, is stored at the time of manufacturing the microcomputer 4.
【0032】一方、本実施形態において、フラッシュR
OM6は、1番地(即ち、1アドレス)当りのデータ長
が16ビットの不揮発性メモリである。そして、このフ
ラッシュROM6には、CPU8がエンジンを制御する
ために実行するプログラムのプログラムコードと、その
プログラムの実行時に参照される制御用データとからな
る、エンジン制御用の制御プログラムが、ECU2の製
造工程において当該フラッシュROM6やマイコン4等
がECU2へ実装された後に、周知のオンボード書き込
みの手法によって書き込まれている。On the other hand, in this embodiment, the flash R
The OM 6 is a nonvolatile memory having a data length of 16 bits per address (ie, one address). The flash ROM 6 stores a control program for controlling the engine, comprising a program code of a program to be executed by the CPU 8 for controlling the engine and control data referred to when the program is executed. After the flash ROM 6, the microcomputer 4, and the like are mounted on the ECU 2 in the process, the data is written by a well-known on-board writing method.
【0033】具体的には、CPU8が、マスクROM1
0内のブートプログラムを起動した際に、当該ECU2
に図示しないメモリ書込装置が接続されていると判断す
ると、まず、そのメモリ書込装置から送信されて来る書
込制御プログラムをRAM12の所定領域に格納し、次
いで、その書込制御プログラムをRAM12上で実行す
ることにより、その後メモリ書込装置から送られて来る
制御プログラムをフラッシュROM6に書き込むように
なっている。More specifically, the CPU 8 controls the mask ROM 1
0 when the boot program in the ECU 2 is started.
, A write control program transmitted from the memory write device is stored in a predetermined area of the RAM 12, and then the write control program is stored in the RAM 12. By executing the above, the control program sent from the memory writing device after that is written into the flash ROM 6.
【0034】そして、ECU2では、フラッシュROM
6に様々な種類の制御プログラムが択一的に書き込ま
れ、これにより、当該ECU2が搭載される車両の種類
や仕向地などに応じてエンジンに対する制御内容が異な
る場合でも、フラッシュROM6に書き込んでおく制御
プログラムを変えるだけで、ハードウェアを変更するこ
となく対応することができるようになっている。In the ECU 2, a flash ROM
6, various types of control programs are alternatively written into the flash ROM 6 even when the control content for the engine differs depending on the type of vehicle or the destination where the ECU 2 is mounted. By changing the control program, it is possible to respond without changing the hardware.
【0035】このように、ECU2では、フラッシュR
OM6に様々な種類の制御プログラムが書き込まれるた
め、制御プログラムが実際に書き込まれるフラッシュR
OM6の記憶領域は、機種によって異なる。このため、
図2に示すように、本実施形態のECU2では、フラッ
シュROM6のX番地からZ番地までの全記憶領域のう
ちの一部の記憶領域、即ち、Y1番地からY4番地まで
の記憶領域(図2における書込領域)Rwに、制御プロ
グラムが書き込まれており、上記記憶領域Rw以外の記
憶領域には、エンジンの制御に直接関係するデータは書
き込まれていない。As described above, in the ECU 2, the flash R
Since various types of control programs are written into the OM 6, the flash memory R where the control programs are actually written is written.
The storage area of the OM 6 differs depending on the model. For this reason,
As shown in FIG. 2, in the ECU 2 of the present embodiment, a part of the entire storage area from the address X to the address Z of the flash ROM 6, that is, the storage area from the address Y1 to the address Y4 (see FIG. In the storage area other than the storage area Rw, data directly related to the control of the engine is not written.
【0036】そして、上記記憶領域Rwの前半部であっ
て、フラッシュROM6のY1番地からY2番地までの
記憶領域(図2におけるプログラム領域)Rcに、制御
プログラムのうちで命令語や条件文などを形成するプロ
グラムコードが書き込まれており、また、上記記憶領域
Rwの後半部であって、フラッシュROM6のY3番地
からY4番地までの記憶領域(図2におけるデータ領
域)Rdに、制御プログラムのうちの制御用データが書
き込まれている。In the first half of the storage area Rw, a storage area (program area in FIG. 2) Rc from address Y1 to address Y2 of the flash ROM 6 stores an instruction word, a conditional statement, and the like in the control program. The program code to be formed is written, and a storage area (data area in FIG. 2) Rd from the address Y3 to the address Y4 of the flash ROM 6 in the latter half of the storage area Rw is written in the control program. Control data has been written.
【0037】尚、以下では、フラッシュROM6の記憶
領域のうちで、制御プログラムが書き込まれて記憶され
たY1番地からY4番地までの記憶領域Rwを、書込領
域Rwという。そして、制御プログラムのうちのプログ
ラムコードが書き込まれて記憶されたY1番地からY2
番地までの記憶領域Rcを、プログラム領域Rcとい
い、制御プログラムのうちの制御用データが書き込まれ
て記憶されたY3番地からY4番地までの記憶領域Rd
を、データ領域Rdという。In the following, of the storage area of the flash ROM 6, the storage area Rw from the address Y1 to the address Y4 in which the control program is written and stored is referred to as a write area Rw. Then, from the address Y1 where the program code of the control program is written and stored, Y2
The storage area Rc up to the address is called a program area Rc, and the storage area Rd from address Y3 to address Y4 in which the control data of the control program is written and stored.
Is referred to as a data area Rd.
【0038】一方、図2に示すように、フラッシュRO
M6において、上記プログラム領域Rc内の特定の番地
には、書込領域Rwの先頭番地であるY1番地を示す先
頭番地データと、書込領域Rwの大きさ(即ち、Y1番
地からY4番地までの大きさであり、制御プログラムの
容量)を示す容量データとからなる、領域情報としての
書込領域データDrが書き込まれている。尚、本実施形
態において、フラッシュROM6に書き込まれる制御プ
ログラムの容量は、予め256バイトの整数倍と決めら
れており、書込領域Rwの大きさを示す容量データは、
上記整数の値Nを示すものとなっている。On the other hand, as shown in FIG.
In M6, the specific address in the program area Rc includes the start address data indicating the address Y1 which is the start address of the write area Rw, and the size of the write area Rw (that is, from the address Y1 to the address Y4). Write area data Dr is written as area information, which is capacity data indicating the size and capacity of the control program). In this embodiment, the capacity of the control program written in the flash ROM 6 is predetermined to be an integral multiple of 256 bytes, and the capacity data indicating the size of the write area Rw is:
It indicates the value N of the integer.
【0039】また、本実施形態において、書込領域Rw
に書き込まれる制御プログラム(プログラムコード及び
制御用データ)を構成するデータは、サムチェックによ
るメモリチェックを行うために、その和であるサム値が
予め第1の規格値Aとなるように設定されている。In this embodiment, the write area Rw
The data constituting the control program (program code and control data) to be written into the memory is set so that the sum value thereof is set to the first standard value A in advance in order to perform a memory check by the sum check. I have.
【0040】尚、本実施形態において、サム値とは、フ
ラッシュROM6の各番地における16ビットデータの
各々を、各桁毎の桁上がりを無視して加算した値であ
る。このため、図2に示すように、データ領域Rdの所
定領域には、書込領域Rwのサム値を上記第1の規格値
Aにするための調整用データ(通常モード用チェックサ
ム調整データ)Dnが挿入されている。In this embodiment, the sum value is a value obtained by adding each of the 16-bit data at each address of the flash ROM 6 ignoring the carry of each digit. Therefore, as shown in FIG. 2, in a predetermined area of the data area Rd, adjustment data (normal mode checksum adjustment data) for setting the sum value of the writing area Rw to the first standard value A is provided. Dn is inserted.
【0041】また更に、本実施形態においては、フラッ
シュROM6の全記憶領域に書き込まれるデータについ
ても、サムチェックによるメモリチェックを行うため
に、その和であるサム値が予め第2の規格値Bとなるよ
うに設定されている。このため、図2に示すように、フ
ラッシュROM6の記憶領域のうちで書込領域Rw以外
の所定領域には、フラッシュROM6の全記憶領域のサ
ム値を上記第2の規格値Bにするための調整用データ
(テストモード用チェックサム調整データ)Dtが挿入
されている。Furthermore, in the present embodiment, the sum value of the data written to the entire storage area of the flash ROM 6 is also set to the second standard value B in advance in order to perform the memory check by the sum check. It is set to be. For this reason, as shown in FIG. 2, in a predetermined area other than the write area Rw in the storage area of the flash ROM 6, the sum value of all the storage areas of the flash ROM 6 is set to the second standard value B. Adjustment data (check sum adjustment data for test mode) Dt is inserted.
【0042】次に、ECU2のマイコン4(CPU8)
で実行される処理について、図3及び図4を用いて説明
する。まず、ECU2では、車両のイグニッションスイ
ッチ(図示省略)がオンされて電源が投入されると、マ
イコン4のCPU8がリセット状態から動作を開始し
て、図3に示す処理を実行する。Next, the microcomputer 4 (CPU 8) of the ECU 2
Will be described with reference to FIGS. 3 and 4. First, in the ECU 2, when an ignition switch (not shown) of the vehicle is turned on and the power is turned on, the CPU 8 of the microcomputer 4 starts the operation from the reset state and executes the processing shown in FIG.
【0043】即ち、最初に、マスクROM10に記憶さ
れているブートプログラムを起動して、まずステップ
(以下、「S」と記す)100にて、マイコン4の内部
を初期化するための初期化処理を実行する。尚、この初
期化処理により、後述するサムチェック処理(図4)で
参照されるRAM12上のフラグFに、初期値である
「1」がセットされる。また、図3において、前述した
オンボード書き込みを行うための処理部分については、
図示を省略している。That is, first, a boot program stored in the mask ROM 10 is started, and first, in step (hereinafter, referred to as “S”) 100, an initialization process for initializing the inside of the microcomputer 4 Execute By this initialization processing, an initial value "1" is set in a flag F on the RAM 12 referred to in a later-described sum check processing (FIG. 4). Further, in FIG. 3, the processing portion for performing the on-board writing described above
Illustration is omitted.
【0044】そして次に、マスクROM10内のブート
プログラムからフラッシュROM6に記憶されているエ
ンジン制御用の制御プログラム(詳しくは、フラッシュ
ROM6のプログラム領域Rc)にジャンプして、プロ
グラム領域Rcに記憶されているプログラムコードの実
行を開始する。Next, the program jumps from the boot program in the mask ROM 10 to the control program for engine control stored in the flash ROM 6 (specifically, the program area Rc of the flash ROM 6), and is stored in the program area Rc. Start executing the program code that is running.
【0045】すると、その後は、図3のS200に示す
ように、フラッシュROM6のデータ領域Rdに記憶さ
れた制御用データを参照して行われるエンジン制御処理
が、繰り返し実行される。尚、S200のエンジン制御
処理は、入出力回路5からの各種センサ信号と、フラッ
シュROM6のデータ領域Rdに記憶された制御用デー
タとに基づき、エンジンに対する最適な燃料噴射量や点
火時期などを演算し、その演算結果に応じて、インジェ
クタやイグナイタ等のアクチュエータを駆動するための
制御信号を入出力回路5に出力する、といった手順で実
行される。Then, as shown in S200 of FIG. 3, the engine control processing performed with reference to the control data stored in the data area Rd of the flash ROM 6 is repeatedly executed. The engine control process of S200 calculates the optimum fuel injection amount and ignition timing for the engine based on various sensor signals from the input / output circuit 5 and the control data stored in the data area Rd of the flash ROM 6. Then, a control signal for driving an actuator such as an injector or an igniter is output to the input / output circuit 5 in accordance with the calculation result.
【0046】ここで、フラッシュROM6のに書き込ま
れた制御プログラムには、CPU8が一定時間(本実施
形態では、8ms)を繰り返し計時して、その一定時間
毎にマスクROM10に記憶されているサムチェック処
理のプログラムへジャンプするための、タイマ用プログ
ラムが組み込まれている。Here, the control program written in the flash ROM 6 has the CPU 8 repeatedly count a predetermined time (8 ms in the present embodiment), and the sum check stored in the mask ROM 10 at every predetermined time. A timer program for jumping to a processing program is incorporated.
【0047】このため、CPU8は、図3のS200で
エンジン制御処理を実行している最中に8msが経過す
ると、その度毎に、マスクROM10に記憶されている
サムチェック処理のプログラムへジャンプして、図4に
示すサムチェック処理を実行する。For this reason, the CPU 8 jumps to the sum check processing program stored in the mask ROM 10 every time 8 ms elapses during execution of the engine control processing in S200 of FIG. Then, the sum check process shown in FIG. 4 is executed.
【0048】図4に示すように、CPU8がサムチェッ
ク処理の実行を開始すると、まずS300にて、エンジ
ンの制御を行わないテストモードであるか否かを判定す
る。尚、本実施形態においては、ECU2にコネクタ1
6を介して検査装置20が接続され、その検査装置20
からテストモードを示す全領域検査要求としてのテスト
起動信号が出力されている場合に、テストモードである
と判定する。As shown in FIG. 4, when the CPU 8 starts execution of the sum check process, first, in S300, it is determined whether or not a test mode in which no engine control is performed is performed. In this embodiment, the connector 1 is connected to the ECU 2.
6, the inspection device 20 is connected to the
If the test start signal is output as the all-area inspection request indicating the test mode from, the mode is determined to be the test mode.
【0049】ここで、上記S300にて、テストモード
ではない(換言すれば、エンジンの制御を行う通常モー
ドである)と判定した場合には、S310に進んで、図
3の初期化処理(S100)で初期化したフラグFが、
未だ「1」であるか否かを判定する。If it is determined in S300 that the test mode is not the test mode (in other words, the normal mode for controlling the engine), the process proceeds to S310, and the initialization process of FIG. ), The flag F initialized
It is determined whether it is still “1”.
【0050】そして、上記S310にて、フラグFが
「1」であると判定した場合には、続くS320にて、
フラッシュROM6の前述した特定の番地から書込領域
データDrを読み出して取得し、その書込領域データD
rの先頭番地データと容量データとに基づき、フラッシ
ュROM6の記憶領域のうちで制御プログラムが記憶さ
れている書込領域Rwを判別する。If it is determined in step S310 that the flag F is "1", then in step S320,
The write area data Dr is read from the specific address of the flash ROM 6 and acquired, and the write area data Dr is obtained.
Based on the start address data of r and the capacity data, the write area Rw in which the control program is stored in the storage area of the flash ROM 6 is determined.
【0051】つまり、S320では、上記先頭番地デー
タが示す番地(図2のY1番地)を、書込領域Rwの先
頭番地として記憶すると共に、その先頭番地から上記容
量データが示す容量分だけ後の番地(図2のY4番地)
を、書込領域Rwの最終番地として記憶する。That is, in S320, the address indicated by the start address data (address Y1 in FIG. 2) is stored as the start address of the write area Rw, and the start address is followed by the capacity indicated by the capacity data. Address (address Y4 in FIG. 2)
Is stored as the last address of the writing area Rw.
【0052】そして、続くS330にて、フラグFに
「0」をセットし、更に続くS335にて、後述するS
340でサム値の計算を開始すべきフラッシュROM6
の番地を示すサム値計算開始アドレスSAに、上記S3
20で記憶した書込領域Rwの先頭番地(Y1番地)を
セットして、S340に進む。In step S330, the flag F is set to "0".
Flash ROM 6 to start calculation of sum value at 340
The sum value calculation start address SA indicating the address of
The start address (address Y1) of the write area Rw stored in step 20 is set, and the process proceeds to S340.
【0053】また、上記S310にて、フラグFが
「1」ではないと判定した場合には、既にS320の処
理を実行して書込領域Rwを判別できていることから、
そのままS340に移行する。S340では、フラッシ
ュROM6の記憶領域のうち、サム値計算開始アドレス
SAとして現在セットされている番地から256バイト
分の記憶領域について、その記憶領域に記憶されている
データのサム値(つまり、各番地における16ビットデ
ータの各々を、各桁毎の桁上がりを無視して加算した
値)を計算する。If it is determined in step S310 that the flag F is not "1", the process in step S320 has already been executed to determine the write area Rw.
The process proceeds to S340 as it is. In S340, the sum value of the data stored in the storage area of the storage area of 256 bytes from the address currently set as the sum value calculation start address SA in the storage area of the flash ROM 6 (that is, each address). Is calculated by ignoring the carry of each digit).
【0054】次に、S350にて、今回のS340でサ
ム値を計算した記憶領域の最終番地が、上記S320で
記憶した書込領域Rwの最終番地(Y4番地)であるか
否かを判定し、書込領域Rwの最終番地でなければ、書
込領域Rwのサム値を全て計算できていないと判断し
て、S360に進む。Next, in S350, it is determined whether or not the last address of the storage area for which the sum value has been calculated in S340 this time is the last address (address Y4) of the write area Rw stored in S320. If it is not the last address of the write area Rw, it is determined that all the sum values of the write area Rw have not been calculated, and the process proceeds to S360.
【0055】そして、S360にて、今回のS340で
サム値を計算した記憶領域の最終番地の次の番地を、サ
ム値計算開始アドレスSAとしてセットし直し、その
後、当該サムチェック処理を一旦終了して、エンジン制
御処理に戻る。尚、このS360でサム値計算開始アド
レスSAが更新されて、次に当該サムチェック処理が実
行された場合には、上記S340において、今回の処理
で計算するサム値(つまり、更新されたサム値計算開始
アドレスSAの示す番地から256バイト分のサム値)
に前回計算したサム値が累積加算される。Then, in S360, the address next to the last address of the storage area for which the sum value has been calculated in S340 this time is reset as the sum value calculation start address SA, and thereafter, the sum check processing is temporarily terminated. Then, the process returns to the engine control process. If the sum value calculation start address SA is updated in S360 and the sum check process is executed next, in S340, the sum value calculated in the current process (that is, the updated sum value) is determined. (Sum value of 256 bytes from the address indicated by the calculation start address SA)
, The sum value calculated last time is cumulatively added.
【0056】一方、上記S350にて、今回のS340
でサム値を計算した記憶領域の最終番地が、上記S32
0で記憶した書込領域Rwの最終番地(Y4番地)であ
ると判定した場合には、書込領域Rwのサム値を全て計
算できたと判断して、S370に移行する。On the other hand, in S350, the current S340
The final address of the storage area for which the sum value was calculated in step S32 is
If it is determined that it is the last address (address Y4) of the write area Rw stored at 0, it is determined that all the sum values of the write area Rw have been calculated, and the flow shifts to S370.
【0057】このS370では、上記S340で累積計
算されたサム値が、書込領域Rwのサム値として予め設
定された第1の規格値Aと一致しているか否かを判定
し、両値が一致していれば、フラッシュROM6に記憶
された制御プログラムに異常は無いと判断して、S37
5に進む。In S370, it is determined whether or not the sum value cumulatively calculated in S340 matches the first standard value A preset as the sum value of the write area Rw. If they match, it is determined that there is no abnormality in the control program stored in the flash ROM 6, and S37
Go to 5.
【0058】そして、このS375にて、上記S340
で累積計算したサム値を消去し、続くS380にて、前
述したS335と全く同様に、サム値計算開始アドレス
SAに、上記S320で記憶した書込領域Rwの先頭番
地(Y1番地)をセットする。そして、その後、当該サ
ムチェック処理を一旦終了して、エンジン制御処理に戻
る。Then, at S375, at S340
In step S380, the start address (Y1) of the write area Rw stored in step S320 is set to the sum value calculation start address SA in step S380, just as in step S335. . Then, after that, the sum check process is temporarily ended, and the process returns to the engine control process.
【0059】尚、S380でサム値計算開始アドレスS
Aに書込領域Rwの先頭番地がセットされて、次に当該
サムチェック処理が実行された場合には、上記S335
でサム値計算開始アドレスSAに書込領域Rwの先頭番
地がセットされた場合(つまり、ECU2がリセット状
態から動作を開始して最初に当該サムチェック処理が実
行された場合)と同様に、上記S340では、書込領域
Rwの先頭番地から256バイト分のサム値が計算され
る。In S380, the sum value calculation start address S
If the start address of the write area Rw is set in A and the sum check processing is executed next, the above-mentioned S335 is performed.
As in the case where the start address of the write area Rw is set to the sum value calculation start address SA (that is, when the ECU 2 starts the operation from the reset state and the sum check process is executed first), In S340, a sum value of 256 bytes is calculated from the start address of the write area Rw.
【0060】一方、上記S370にて、S340で累積
計算されたサム値が第1の規格値Aと一致していないと
判定した場合には、フラッシュROM6に記憶された制
御プログラムの内容が、メモリセルに生じた劣化による
不良等によって変化してしまったと判断して、S390
に移行する。On the other hand, if it is determined in S370 that the sum value cumulatively calculated in S340 does not match the first standard value A, the content of the control program stored in the flash ROM 6 is stored in the memory. It is determined that the change has occurred due to a defect or the like due to the deterioration of the cell, and S390
Move to
【0061】そして、このS390にて、当該サムチェ
ック処理のプログラムと共にマスクROM10に記憶さ
れているフェールセーフ処理のプログラムにジャンプし
て、フラッシュROM6に記憶されている制御プログラ
ムへ戻ることなく、そのフェールセーフ処理を実行す
る。At S390, the program jumps to the fail-safe processing program stored in the mask ROM 10 together with the program for the sum check processing, and returns to the control program stored in the flash ROM 6 without returning to the control program. Perform safe processing.
【0062】尚、このフェールセーフ処理は、インジェ
クタやイグナイタ等のアクチュエータの作動を停止させ
る制御信号を入出力回路5に出力して、エンジンの作動
を停止させると共に、運転席の前面に設けられたメータ
パネル内のウォーニングランプを点灯させる、といった
手順で実行される。In this fail-safe process, a control signal for stopping the operation of an actuator such as an injector or an igniter is output to the input / output circuit 5 to stop the operation of the engine and is provided on the front of the driver's seat. The procedure is performed by turning on a warning lamp in the meter panel.
【0063】一方また、前述したS300にて、テスト
モードであると判定した場合には、S400に移行し
て、フラッシュROM6の全記憶領域のサム値を計算す
る。そして、続くS410にて、上記S400で計算し
たサム値が、フラッシュROM6の全記憶領域のサム値
として予め設定された第2の規格値Bと一致しているか
否かを判定し、両値が一致していれば、フラッシュRO
M6に記憶された全データに異常は無いと判断して、S
420に進み、検査装置20へ正常を通知するための信
号を出力する。そして、その後、全てのプログラム実行
を終了する。On the other hand, if it is determined in S300 that the test mode is set, the process proceeds to S400, where the sum values of all the storage areas of the flash ROM 6 are calculated. Then, in subsequent S410, it is determined whether or not the sum value calculated in S400 matches the second standard value B preset as the sum value of the entire storage area of the flash ROM 6, and both values are determined. If they match, flash RO
It is determined that there is no abnormality in all data stored in M6,
Proceeding to 420, a signal for notifying the inspection device 20 of normality is output. Then, thereafter, the execution of all programs ends.
【0064】すると、検査装置20側では、ディスプレ
イなどの表示装置に正常を示すメッセージが表示される
こととなる。これに対し、上記S410にて、S400
で計算したサム値が第2の規格値Bと一致していないと
判定した場合には、フラッシュROM6にデータを正し
く書き込むことができていないか、或いは、フラッシュ
ROM6に書き込んだデータが、メモリセルに生じた劣
化による不良等によって変化してしまったと判断して、
S430に進み、検査装置20へ異常を通知するための
信号を出力する。そして、その後、全てのプログラム実
行を終了する。Then, on the inspection device 20 side, a message indicating normality is displayed on a display device such as a display. On the other hand, in S410, S400
If it is determined that the sum value calculated in step (1) does not match the second standard value B, it is determined that the data has not been correctly written in the flash ROM 6 or the data written in the flash ROM 6 is Is determined to have changed due to a defect or the like caused by the deterioration
Proceeding to S430, a signal for notifying the inspection device 20 of an abnormality is output. Then, thereafter, the execution of all programs ends.
【0065】すると、検査装置20側では、ディスプレ
イなどの表示装置に異常の発生を示すメッセージが表示
されることとなる。つまり、サムチェック処理では、エ
ンジンの制御を行う通常モードであると判定すると(S
300:NO)、フラッシュROM6にてエンジン制御
用の制御プログラムが記憶されている書込領域Rwを判
別し(S320)、その書込領域Rwをサムチェック領
域として(図2参照)、メモリチェックを行っている
(S335〜S380)。Then, on the inspection device 20 side, a message indicating the occurrence of an abnormality is displayed on a display device such as a display. That is, in the sum check process, when it is determined that the normal mode for controlling the engine is set (S
300: NO), the writing area Rw in which the control program for engine control is stored in the flash ROM 6 is determined (S320), and the writing area Rw is set as a sum check area (see FIG. 2), and the memory check is performed. (S335-S380).
【0066】より詳しくは、当該サムチェック処理を実
行する毎に、書込領域Rwの先頭番地から256バイト
分ずつサム値を累積計算して(S340)、書込領域R
wの容量を256バイトで割った値の回数だけ当該サム
チェック処理が実行される毎に、書込領域Rwのサム値
の計算が1回完了するようになっている(S350:Y
ES)。More specifically, every time the sum check process is executed, a sum value is calculated for each 256 bytes from the start address of the write area Rw (S340).
Each time the sum check process is executed by the number of times obtained by dividing the capacity of w by 256 bytes, the calculation of the sum value of the write area Rw is completed once (S350: Y
ES).
【0067】そして、計算し終えた書込領域Rwのサム
値が、予め設定された第1の規格値Aでなければ(S3
70:NO)、フラッシュROM6に記憶された制御プ
ログラムの内容が、メモリセルに生じた劣化による不良
等によって変化してしまったと判断して、フラッシュR
OM6内の制御プログラムへ戻ることなく、フェールセ
ーフ処理を実行して、エンジンを強制的に停止させるよ
うにしている(S390)。Then, if the calculated sum value of the write area Rw is not the first standard value A set in advance (S3
70: NO), it is determined that the content of the control program stored in the flash ROM 6 has been changed due to a defect or the like due to deterioration of the memory cell, and
Without returning to the control program in the OM 6, fail-safe processing is executed to forcibly stop the engine (S390).
【0068】また、サムチェック処理では、テストモー
ドであると判定すると(S300:YES)、フラッシ
ュROM6の全記憶領域をサムチェック領域として(図
2参照)、メモリチェックを行っている(S400〜S
430)。詳しくは、フラッシュROM6の全記憶領域
のサム値を計算し(S400)、その計算したサム値
が、予め設定された第2の規格値Bでなければ(S41
0:NO)、フラッシュROM6にデータを正しく書き
込むことができていないか、或いは、フラッシュROM
6に書き込んだデータが、メモリセルに生じた劣化によ
る不良等によって変化してしまったと判断して、検査装
置20へ異常を通知するための信号を出力するようにし
ている(S430)。In the sum check process, if it is determined that the test mode is set (S300: YES), the entire memory area of the flash ROM 6 is set as a sum check area (see FIG. 2), and a memory check is performed (S400 to S400).
430). More specifically, the sum values of all the storage areas of the flash ROM 6 are calculated (S400), and the calculated sum value is not the second standard value B set in advance (S41).
0: NO), whether data could not be correctly written to the flash ROM 6, or
It is determined that the data written in No. 6 has changed due to a defect or the like due to deterioration of the memory cell, and a signal for notifying the inspection device 20 of an abnormality is output (S430).
【0069】尚、本実施形態では、図4のサムチェック
処理が、検査手段としての処理に相当している。そし
て、その中で、S320の処理が、領域判別手段として
の処理に相当し、S300の処理が、要求検出手段とし
ての処理に相当している。以上詳述したように本実施形
態のECU2では、その動作中に、エンジン制御用の制
御プログラムが記憶されたフラッシュROM6の記憶内
容が正常であるか否かを、サムチェックによって検査
し、異常を検出した場合には、制御プログラムの実行を
止めて、エンジンを不適切に制御してしまうことを防止
し、これにより、制御の安全性を確保している。In this embodiment, the sum check process shown in FIG. 4 corresponds to a process as a checking means. The processing in S320 corresponds to the processing as the area determining means, and the processing in S300 corresponds to the processing as the request detecting means. As described in detail above, during operation, the ECU 2 checks whether or not the contents stored in the flash ROM 6 in which the control program for controlling the engine is stored are normal by the sum check. If detected, execution of the control program is stopped to prevent improper control of the engine, thereby ensuring control safety.
【0070】そして特に、本実施形態のECU2では、
フラッシュROM6の記憶領域のうちで制御プログラム
が記憶されている書込領域Rwを判別し(S320)、
その判別した書込領域Rwの記憶内容についてのみ、サ
ムチェックによる検査を行うようにしている(S335
〜S380)。In particular, in the ECU 2 of the present embodiment,
The writing area Rw in which the control program is stored in the storage area of the flash ROM 6 is determined (S320).
Only the storage contents of the determined write area Rw are checked by the sum check (S335).
To S380).
【0071】このため、本実施形態のECU2によれ
ば、エンジンの制御を行う上で実害のある異常がフラッ
シュROM6の記憶内容に生じた場合にのみ、エンジン
制御を停止することができ、制御の安全性と動作の信頼
性とを高い次元で両立させることができる。For this reason, according to the ECU 2 of the present embodiment, the engine control can be stopped only when an abnormality that is harmful to the control of the engine occurs in the storage contents of the flash ROM 6, and the control of the engine can be stopped. Safety and reliability of operation can be compatible at a high level.
【0072】つまり、フラッシュROM6の記憶領域の
うち、制御プログラムが記憶されておらずエンジンの制
御に関係がない記憶領域で、記憶内容の変化が発生した
場合には、フェールセーフ処理を行う異常時の動作モー
ドへ移行せず、実害のある異常がフラッシュROM6に
生じた場合にだけ、通常のエンジン制御を停止すること
となるため、制御の安全性と動作の信頼性とを共に高い
レベルにすることができるのである。That is, in the storage area of the flash ROM 6 where the control program is not stored and the storage contents are not related to the control of the engine, if the storage contents change, the fail-safe processing is performed. The normal engine control is stopped only when a harmful abnormality occurs in the flash ROM 6 without shifting to the operation mode described above, so that both the control safety and the operation reliability are set to a high level. You can do it.
【0073】ところで、マイコン4のCPU8がフラッ
シュROM6の書込領域Rwを判別するためには、例え
ば、ECU2にディップスイッチを搭載し、そのディッ
プスイッチの設定によって、マイコン4に書込領域Rw
を特定するための情報を与える、といった手法を採るこ
ともできる。In order for the CPU 8 of the microcomputer 4 to determine the writing area Rw of the flash ROM 6, for example, a dip switch is mounted on the ECU 2 and the setting of the dip switch causes the writing area Rw of the microcomputer 4 to be determined.
For example, a method of giving information for specifying the information may be adopted.
【0074】しかし、本実施形態のECU2のように、
フラッシュROM6に、書込領域Rwを示す書込領域デ
ータDrを書き込んでおき、CPU8がフラッシュRO
M6から上記書込領域データDrを読み出して書込領域
Rwを判別するように構成すれば、フラッシュROM6
に制御プログラムを書き込む際に、上記書込領域データ
Drを一緒に書き込んでおくだけで、制御プログラムが
記憶されている書込領域Rwを確実に判別することがで
きる。However, like the ECU 2 of this embodiment,
Write area data Dr indicating the write area Rw is written in the flash ROM 6, and the CPU 8
If the write area data Dr is read from M6 to determine the write area Rw, the flash ROM 6
When the control program is written in the storage area, the write area data Dr in which the control program is stored can be reliably determined only by writing the write area data Dr together.
【0075】そして更に、本実施形態のECU2では、
フラッシュROM6の書込領域Rwに対するサムチェッ
クを、定期的に行うようにしているため、制御の安全性
を一層高めることができる。つまり、フラッシュROM
6の記憶内容は、いつ変化してしまうか分からないから
である。Further, in the ECU 2 of the present embodiment,
Since the sum check of the write area Rw of the flash ROM 6 is periodically performed, the safety of control can be further enhanced. In other words, flash ROM
This is because it is not known when the storage contents of No. 6 will change.
【0076】一方、本実施形態のECU2では、検査装
置20が接続されて、その検査装置20からテスト起動
信号を受けると(S300:YES)、フラッシュRO
M6の全記憶領域の記憶内容についてサムチェックを行
い(S400)、異常を検出すると(S410:N
O)、検査装置20へ異常を報知するための信号を出力
するようにしている(S430)。On the other hand, in the ECU 2 of this embodiment, when the inspection device 20 is connected and receives a test start signal from the inspection device 20 (S300: YES), the flash RO
A sum check is performed on the storage contents of all storage areas of M6 (S400), and when an abnormality is detected (S410: N
O), a signal for notifying the abnormality to the inspection device 20 is output (S430).
【0077】よって、本実施形態のECU2によれば、
検査装置20を接続してテスト起動信号を与えることに
より、フラッシュROM6の全記憶領域の記憶内容が正
常であるか否かを知ることができるため、フラッシュR
OM6に新規に制御プログラムを書き込んだ際に、フラ
ッシュROM6が正常で且つデータの書き込みを問題な
く実施することができたか否かを、容易に確認すること
ができる。Therefore, according to the ECU 2 of the present embodiment,
By connecting the inspection device 20 and providing a test start signal, it is possible to know whether or not the storage contents of all the storage areas of the flash ROM 6 are normal.
When a new control program is written in the OM 6, it can be easily confirmed whether the flash ROM 6 is normal and the data writing has been successfully performed.
【0078】また、本実施形態のECU2では、フラッ
シュROM6の記憶内容が正常であるか否かを、サムチ
ェックによって検査するようにしているため、記憶内容
の良否を非常に簡単に検査することができる。尚、本実
施形態のECU2では、サムチェック処理(図4)のプ
ログラムに従って、フラッシュROM6の記憶内容が正
常であるか否かを検査しているが、そのサムチェック処
理のプログラムは、例えば、フラッシュROM6におけ
る書込領域Rw以外の記憶領域に書き込んでおくように
しても良い。Further, in the ECU 2 of the present embodiment, whether or not the stored contents of the flash ROM 6 are normal is checked by the sum check, so that the quality of the stored contents can be checked very easily. it can. The ECU 2 of the present embodiment checks whether or not the contents stored in the flash ROM 6 are normal according to the program of the sum check process (FIG. 4). The data may be written in a storage area of the ROM 6 other than the write area Rw.
【0079】但し、この場合には、メモリセルに生じた
劣化による不良等によって、サムチェック処理のプログ
ラムが途中で変化してしまう可能性があるため、サムチ
ェック処理のプログラムは、本実施形態のECU2のよ
うに、記憶内容の書き換えが不能なマスクROM10に
記憶させておいた方がより安全である。In this case, however, the program for the sum check process may change in the middle due to a defect due to the deterioration of the memory cell. It is safer to store the information in the mask ROM 10 in which the storage content cannot be rewritten, such as the ECU 2.
【0080】一方、上記実施形態のECU2では、フラ
ッシュROM6の書込領域Rwを示す書込領域データD
rとして、書込領域Rwの先頭番地を示す先頭番地デー
タと、書込領域Rwの大きさを示す容量データとを用い
たが、書込領域Rwの先頭番地と最終番地との各々を表
すデータを用いても良い。また、制御プログラムが記憶
されている記憶領域の最初と最後との各々に、書込領域
データDrとしての目印コードを書き込んでおき、サム
チェック処理(図4)のS320にて、フラッシュRO
M6の記憶内容を順次読み出して上記目印コードを探す
ことにより、制御プログラムが記憶されている書込領域
Rwを判別するようにしてもよい。On the other hand, in the ECU 2 of the above embodiment, the write area data D indicating the write area Rw of the flash ROM 6
As r, the start address data indicating the start address of the write area Rw and the capacity data indicating the size of the write area Rw are used, but data indicating each of the start address and the end address of the write area Rw is used. May be used. In addition, a mark code as write area data Dr is written in each of the first and last of the storage area where the control program is stored, and the flash RO is executed in S320 of the sum check process (FIG. 4).
The write area Rw in which the control program is stored may be determined by sequentially reading the storage contents of M6 and searching for the mark code.
【0081】また、上記実施形態のECU2では、サム
チェック処理を一定時間毎に実行させるためのタイマ用
プログラムが、フラッシュROM6内に制御プログラム
と共に記憶されていたが、制御プログラムの実行とサム
チェック処理のプログラムの実行とを管理するためのプ
ログラムを、マスクROM10に記憶させておき、その
マスクROM10内のプログラムの実行により、エンジ
ン制御処理とサムチェック処理との実行タイミングを管
理するようにしても良い。In the ECU 2 of the above embodiment, the timer program for executing the sum check process at regular intervals is stored in the flash ROM 6 together with the control program. A program for managing the execution of the program may be stored in the mask ROM 10, and the execution timing of the engine control process and the sum check process may be managed by executing the program in the mask ROM 10. .
【0082】ところで、サムチェック処理は、一定時間
毎に限らず、例えば、図5のS150に示すように、E
CU2に電源が投入されて、制御プログラムに基づくエ
ンジン制御処理の実行を開始する前にも、行うようにし
ても良い。尚、このとき実行されるサムチェック処理で
は、図4のS360でサム値計算開始アドレスSAを更
新した後に、当該処理を一旦終了せずS340へ戻るよ
うにすれば良い。Incidentally, the sum check process is not limited to every fixed time. For example, as shown in S150 of FIG.
This may be performed before the power is turned on to the CU 2 and the execution of the engine control process based on the control program is started. In the sum check process executed at this time, after the sum value calculation start address SA is updated in S360 in FIG. 4, the process may be returned to S340 without temporarily ending the process.
【0083】また、サムチェック処理は、ECU2に電
源が投入されて、制御プログラムに基づくエンジン制御
処理の実行を開始する前に(つまり、図5のS150の
タイミングで)、一回だけ実行するようにしても、一定
時間毎に実行する場合に比べて制御の安全性は劣るもの
の、不適当な制御が行われることを防止できるという効
果を得ることができる。The sum check process is performed only once before the power is supplied to the ECU 2 and the execution of the engine control process based on the control program is started (ie, at the timing of S150 in FIG. 5). In this case, although the safety of the control is inferior to the case where the control is executed at regular time intervals, an effect of preventing inappropriate control from being performed can be obtained.
【0084】一方更に、上記実施形態では、フラッシュ
ROM6に記憶された制御プログラムが、プログラムコ
ードと制御用データとからなるものであったが、フラッ
シュROM6に記憶される制御プログラムが、プログラ
ムコードだけ、あるいは、制御用データだけからなる場
合でも、図4のサムチェック処理は全く同様に行うこと
ができる。Further, in the above embodiment, the control program stored in the flash ROM 6 is composed of a program code and control data. However, the control program stored in the flash ROM 6 includes only the program code. Alternatively, even when only the control data is used, the sum check processing of FIG. 4 can be performed in exactly the same manner.
【0085】また、サムチェック処理は、フラッシュR
OM6が複数個の場合には、各々のフラッシュROMに
ついて行うようにすることができる。また更に、上記の
ように物理的ではなく、フラッシュROM6の記憶領域
が複数個の記憶領域にブロック分けされている場合に
は、その各ブロックについて、前述したサムチェック処
理と同様の処理を行えば良い。Also, the sum check processing is performed in the flash R
When there are a plurality of OMs 6, the operation can be performed for each flash ROM. Furthermore, if the storage area of the flash ROM 6 is not physical but divided into a plurality of storage areas as described above, the same processing as the above-described sum check processing is performed on each block. good.
【0086】尚、上記各実施形態では、エンジンを制御
するECU2について説明したが、本発明の適用範囲
は、これに限られない。即ち、例えばブレーキ、トラン
スミッション、サスペンション等の制御対象を制御する
電子制御装置に対しても、全く同様に適用することがで
きる。In each of the above embodiments, the ECU 2 for controlling the engine has been described, but the scope of the present invention is not limited to this. That is, the present invention can be applied to an electronic control device that controls a control target such as a brake, a transmission, and a suspension.
【図1】 実施形態のエンジン制御装置(ECU)の構
成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an engine control device (ECU) according to an embodiment.
【図2】 フラッシュROMの記憶内容を説明する説明
図である。FIG. 2 is an explanatory diagram illustrating storage contents of a flash ROM.
【図3】 ECUにて実行される処理の全体を表すフロ
ーチャートである。FIG. 3 is a flowchart illustrating an entire process executed by an ECU.
【図4】 ECUにてフラッシュROMの記憶内容を検
査するために実行されるサムチェック処理を表すフロー
チャートである。FIG. 4 is a flowchart showing a sum check process executed by the ECU to check the storage contents of the flash ROM.
【図5】 他の実施形態を説明するフローチャートであ
る。FIG. 5 is a flowchart illustrating another embodiment.
2…エンジン制御装置(ECU) 4…シングルチップマイクロコンピュータ(マイコン)
5…入出力回路 6…フラッシュROM(記憶内容の書き換えが可能な不
揮発性メモリ) 7…バス 8…CPU 10…マスクROM 1
2…RAM 14…I/O 16…コネクタ 18…信号線
20…検査装置2 ... Engine control unit (ECU) 4 ... Single-chip microcomputer (microcomputer)
Reference Signs List 5 I / O circuit 6 Flash ROM (non-volatile memory whose storage contents can be rewritten) 7 Bus 8 CPU 10 Mask ROM 1
2 ... RAM 14 ... I / O 16 ... Connector 18 ... Signal line
20… Inspection device
Claims (6)
に、制御対象を制御するための制御プログラムが記憶さ
れた不揮発性メモリと、該不揮発性メモリの記憶内容が
正常であるか否かを検査する検査手段とを備え、 通常時には、前記不揮発性メモリに記憶されている前記
制御プログラムに従って前記制御対象を制御し、前記検
査手段により異常が検出されると、前記制御プログラム
に従う制御を停止するよう構成された電子制御装置にお
いて、 前記検査手段は、 前記不揮発性メモリの記憶領域のうちで前記制御プログ
ラムが記憶されている記憶領域を判別する領域判別手段
を備え、該領域判別手段により判別された記憶領域の記
憶内容についてのみ、正常であるか否かを検査するよう
構成されていること、 を特徴とする電子制御装置。1. A non-volatile memory in which storage contents can be rewritten and a control program for controlling a control target is stored, and whether or not the storage contents of the non-volatile memory are normal is inspected. Inspection means, and normally controls the control target in accordance with the control program stored in the non-volatile memory, and stops control according to the control program when an abnormality is detected by the inspection means. In the electronic control device, the inspection unit includes an area determination unit that determines a storage area in which the control program is stored from among storage areas of the nonvolatile memory, and the storage unit that is determined by the area determination unit. An electronic control device characterized in that it is configured to check whether or not only the storage contents of an area are normal.
て、 前記不揮発性メモリに、当該不揮発性メモリの記憶領域
のうちで前記制御プログラムが記憶されている記憶領域
を示す領域情報が記憶されており、 前記領域判別手段は、 前記不揮発性メモリから前記領域情報を読み出すことに
より、前記不揮発性メモリの記憶領域のうちで前記制御
プログラムが記憶されている記憶領域を判別するよう構
成されていること、 を特徴とする電子制御装置。2. The electronic control device according to claim 1, wherein the nonvolatile memory stores area information indicating a storage area in which the control program is stored among storage areas of the nonvolatile memory. The area determining means is configured to determine the storage area in which the control program is stored among the storage areas of the nonvolatile memory by reading the area information from the nonvolatile memory. An electronic control unit characterized by the following.
装置において、 前記検査手段は、 前記不揮発性メモリの記憶内容が正常であるか否かを、
定期的に検査するよう構成されていること、 を特徴とする電子制御装置。3. The electronic control device according to claim 1, wherein the inspection unit determines whether or not storage contents of the nonvolatile memory are normal.
An electronic control unit, which is configured to be inspected periodically.
の電子制御装置において、 前記検査手段は、 当該装置の外部から、前記不揮発性メモリの全ての記憶
領域の記憶内容について検査を行うことを要求する全領
域検査要求があったか否かを検出する要求検出手段を備
え、該要求検出手段により前記全領域検査要求があった
と検出されると、前記不揮発性メモリの全ての記憶領域
の記憶内容が正常であるか否かを検査し、異常を検出す
ると、当該装置の外部へ異常を報知するよう構成されて
いること、 を特徴とする電子制御装置。4. The electronic control device according to claim 1, wherein the inspection unit inspects the storage contents of all the storage areas of the nonvolatile memory from outside the device. Request detecting means for detecting whether or not there has been an entire area inspection request for requesting that all of the storage areas of the nonvolatile memory be stored when the request detecting means detects that the all area inspection request has been made. An electronic control device characterized by being configured to inspect whether or not the contents are normal and, when an abnormality is detected, notify the abnormality to the outside of the device.
の電子制御装置において、 前記検査手段は、 前記不揮発性メモリの記憶内容が正常であるか否かを、
サムチェックによって検査するよう構成されているこ
と、 を特徴とする電子制御装置。5. The electronic control device according to claim 1, wherein the inspection unit determines whether or not storage contents of the nonvolatile memory are normal.
An electronic control unit, wherein the electronic control unit is configured to perform a check by a sum check.
の電子制御装置において、 前記検査手段は、 記憶内容の書き換えが不能なプログラム格納用メモリに
記憶されている検査プログラムに従って、前記不揮発性
メモリの記憶内容が正常であるか否かを検査するよう構
成されていること、 を特徴とする電子制御装置。6. The electronic control device according to claim 1, wherein the inspection unit is configured to execute the non-volatile memory according to an inspection program stored in a program storage memory in which storage contents cannot be rewritten. An electronic control unit configured to check whether or not the storage content of the memory is normal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9170423A JPH1115741A (en) | 1997-06-26 | 1997-06-26 | Electronic control unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9170423A JPH1115741A (en) | 1997-06-26 | 1997-06-26 | Electronic control unit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1115741A true JPH1115741A (en) | 1999-01-22 |
Family
ID=15904651
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9170423A Pending JPH1115741A (en) | 1997-06-26 | 1997-06-26 | Electronic control unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1115741A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005103067A (en) * | 2003-09-30 | 2005-04-21 | Sankyo Kk | Game machine |
| JP2005103068A (en) * | 2003-09-30 | 2005-04-21 | Sankyo Kk | Game machine |
| JP2006505841A (en) * | 2002-11-07 | 2006-02-16 | ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング | Method for reliably checking the memory area of a microcontroller in a control device and control device with a protected microcontroller |
| JP2007276657A (en) * | 2006-04-07 | 2007-10-25 | Denso Corp | Program management system |
| JP2009126451A (en) * | 2007-11-27 | 2009-06-11 | Denso Corp | Vehicle control device |
| JP2009201251A (en) * | 2008-02-21 | 2009-09-03 | Toshiba Corp | Digital protective relay |
| JP2009217336A (en) * | 2008-03-07 | 2009-09-24 | Nec Corp | Computer system, network boot load system, and its boot load method |
| JP2010195222A (en) * | 2009-02-25 | 2010-09-09 | Nsk Ltd | Electric power steering device |
| JP2011512603A (en) * | 2008-02-21 | 2011-04-21 | ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング | Device for examining the program memory of a computing unit |
-
1997
- 1997-06-26 JP JP9170423A patent/JPH1115741A/en active Pending
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006505841A (en) * | 2002-11-07 | 2006-02-16 | ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング | Method for reliably checking the memory area of a microcontroller in a control device and control device with a protected microcontroller |
| JP2005103067A (en) * | 2003-09-30 | 2005-04-21 | Sankyo Kk | Game machine |
| JP2005103068A (en) * | 2003-09-30 | 2005-04-21 | Sankyo Kk | Game machine |
| JP2007276657A (en) * | 2006-04-07 | 2007-10-25 | Denso Corp | Program management system |
| JP2009126451A (en) * | 2007-11-27 | 2009-06-11 | Denso Corp | Vehicle control device |
| JP2009201251A (en) * | 2008-02-21 | 2009-09-03 | Toshiba Corp | Digital protective relay |
| JP2011512603A (en) * | 2008-02-21 | 2011-04-21 | ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング | Device for examining the program memory of a computing unit |
| US8464100B2 (en) | 2008-02-21 | 2013-06-11 | Robert Bosch Gmbh | System for checking a program memory of a processing unit |
| JP2009217336A (en) * | 2008-03-07 | 2009-09-24 | Nec Corp | Computer system, network boot load system, and its boot load method |
| JP2010195222A (en) * | 2009-02-25 | 2010-09-09 | Nsk Ltd | Electric power steering device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3491419B2 (en) | Electronic control unit | |
| JP3626328B2 (en) | Vehicle control device | |
| JP3726663B2 (en) | Electronic control device control data storage device | |
| JP4065790B2 (en) | In-vehicle electronic control unit | |
| JP4135220B2 (en) | Electronic control device for vehicle | |
| JPH11272498A (en) | Electronic control unit | |
| US20090271063A1 (en) | Electronic control unit and vehicle control system | |
| JP3870563B2 (en) | Electronic control device and non-volatile memory rewrite count method | |
| US6046937A (en) | Electronic control unit and method for storing rewrite count of nonvolatile memory | |
| US20090037046A1 (en) | Electronic control unit | |
| CN1037716C (en) | microcomputer | |
| JP4973642B2 (en) | In-vehicle electronic control unit | |
| JPH09128229A (en) | Electronic control unit | |
| JP2001123874A (en) | Program rewriting system for electronic control device and memory rewriting device | |
| JP2013143095A (en) | Electronic control device, and memory check method | |
| JPH0633828A (en) | On-vehicle electronic control | |
| US6125309A (en) | Vehicle control device | |
| JP3937598B2 (en) | Electronic control unit | |
| JP5835160B2 (en) | Electronic control unit | |
| JP2017082702A (en) | In-vehicle electronic control unit | |
| JP2009126451A (en) | Vehicle control device | |
| US20060218340A1 (en) | Data validity determining method for flash EEPROM and electronic control system | |
| JP2003104138A (en) | Monitoring system of vehicle control device for data rewriting | |
| JP2008195130A (en) | VEHICLE CONTROL DEVICE AND ITS CONTROL METHOD | |
| JPH11141391A (en) | Automotive control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060427 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060509 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20060912 |