JPH08177608A - Control system for vehicle - Google Patents

Control system for vehicle

Info

Publication number
JPH08177608A
JPH08177608A JP6322760A JP32276094A JPH08177608A JP H08177608 A JPH08177608 A JP H08177608A JP 6322760 A JP6322760 A JP 6322760A JP 32276094 A JP32276094 A JP 32276094A JP H08177608 A JPH08177608 A JP H08177608A
Authority
JP
Japan
Prior art keywords
area
program
storage means
data
stored
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.)
Granted
Application number
JP6322760A
Other languages
Japanese (ja)
Other versions
JP3726295B2 (en
Inventor
Tetsuo Sawamoto
哲夫 沢本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
NipponDenso Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP32276094A priority Critical patent/JP3726295B2/en
Publication of JPH08177608A publication Critical patent/JPH08177608A/en
Application granted granted Critical
Publication of JP3726295B2 publication Critical patent/JP3726295B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To read out a program or a datum which is low in the frequency of use among the stored contents of a serial communication system nonvolatile memory means when a special condition is satisfied, and to transfer it to a work memory means. CONSTITUTION: The memory area of a serial communication system EEPROM 5 arranged in ECU 6 for executing the engine control of an automobile is separately composed of the first area where a failure diagnosis program and judged value data are stored, in which the failure diagnosis program is usually executed after the start of an engine and the second area where a data outputting program is stored, which is used only in the case of an external diagnosis device 9 connected to ECU 6. CPU 1 first transfers the stored contents of the first area to RAM 3, and the stored contents of the second area are read out when the external diagnosis device 9 is connected to ECU 6 and transfered to RAM 3.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラムの実行時に
記憶手段よりプログラムを読出すと、そのプログラムを
高速アクセスが可能な作業用記憶手段に転送して、以降
のプログラムを作業用記憶手段から読出して実行する車
両用制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention, when a program is read from a storage means at the time of execution of the program, transfers the program to a work storage means capable of high-speed access, and the subsequent programs from the work storage means. The present invention relates to a vehicle control device for reading and executing.

【0002】[0002]

【従来の技術】車両例えば自動車においては、そのエン
ジン制御はマイクロコンピュータを含む制御装置によっ
て行われており、エンジンの制御プログラムはROMな
どの記憶手段に記憶されている。
2. Description of the Related Art In a vehicle such as an automobile, its engine is controlled by a control unit including a microcomputer, and an engine control program is stored in a storage means such as a ROM.

【0003】また、自動車においては、制御装置の内部
に補助的な記憶手段として用いられるEEPROMを持
つものがある。このEEPROMは、配線数を少なくす
るためにアドレス及びデータをクロック信号に同期させ
て1ビットずつ送受信するシリアル通信方式のものが多
く用いられている。
Further, some automobiles have an EEPROM which is used as an auxiliary storage means inside the control device. In order to reduce the number of wirings, this EEPROM is often of serial communication type in which addresses and data are synchronized with a clock signal and transmitted and received bit by bit.

【0004】[0004]

【発明が解決しようとする課題】ところでこのように、
シリアル通信方式EEPROMを自動車用として使用す
る場合には、例えばエンジンについての故障診断プログ
ラムやその故障診断に用いる判定データなどが記憶され
ることが想定される。この場合は、EEPROMの読出
し時間の問題からエンジンの始動時に制御プログラムが
読出された後、EEPROMより故障診断プログラム及
び判定データがシリアルに読出されて、アクセススピー
ドの速いRAMに転送される。そして、マイコンのCP
Uにより、RAMに転送された故障診断プログラムが読
出されて自動車の各部の診断が行われ、その結果故障発
生時には、例えば運転席のパネルに表示されるなどして
運転者に報知される。
By the way, in this way,
When the serial communication type EEPROM is used for automobiles, it is assumed that, for example, a failure diagnosis program for the engine and determination data used for the failure diagnosis are stored. In this case, after the control program is read at the time of starting the engine due to the problem of the read time of the EEPROM, the failure diagnosis program and the judgment data are serially read from the EEPROM and transferred to the RAM having a high access speed. And the CP of the microcomputer
The U reads the failure diagnosis program transferred to the RAM and diagnoses each part of the vehicle. As a result, when a failure occurs, the driver is notified by, for example, being displayed on the driver's seat panel.

【0005】また、自動車の故障診断においては、制御
装置に外部診断装置が接続されることにより、制御装置
が行った故障診断結果のより詳細なデータを、外部診断
装置に表示させるような場合がある。そのため、EEP
ROMには、外部診断装置が接続された場合に故障診断
データを出力するためのデータ出力用プログラムも記憶
されることも想定され、これらも、エンジン始動時に故
障診断プログラムなどと共にEEPROMより読出され
てRAMに転送されることになる。
Further, in the failure diagnosis of an automobile, there is a case where more detailed data of a failure diagnosis result performed by the control device is displayed on the external diagnosis device by connecting the external diagnosis device to the control device. is there. Therefore, EEP
It is also assumed that the ROM also stores a data output program for outputting failure diagnostic data when an external diagnostic device is connected. These programs are also read from the EEPROM together with the failure diagnostic program when the engine is started. It will be transferred to RAM.

【0006】しかしながら、シリアル通信方式のEEP
ROMは、前述のようにアドレス及びデータをクロック
同期で1ビットずつ転送するものであり、その読出しに
は非常に時間を要する。また、外部診断装置が制御装置
に接続される機会は定期点検時などであって希少であ
り、そのためのデータ出力用プログラム及びデータを毎
回時間をかけてEEPROMより読込んでRAMに転送
するのは、制御装置にとっては余分な処理負担となり、
処理時間が長くなる不具合があった。
However, the serial communication EEP
The ROM transfers the address and the data bit by bit in synchronization with the clock as described above, and it takes a very long time to read the data. Further, the opportunity for the external diagnostic device to be connected to the control device is rare at the time of periodic inspections, and therefore it is necessary to read the data output program and data for that purpose from the EEPROM and transfer it to the RAM each time. It is an extra processing load for the controller,
There was a problem that the processing time was long.

【0007】本発明は上記課題を解決するもので、その
目的は、補助記憶手段たる不揮発性記憶手段の記憶内容
で、使用頻度の低い補助プログラム若しくはデータの作
業用記憶手段への転送は、特殊要件が成立したときのみ
行うように制御する車両用制御装置を提供するにある。
The present invention is intended to solve the above-mentioned problems, and an object thereof is to store the contents stored in a non-volatile storage means which is an auxiliary storage means, and to transfer an infrequently used auxiliary program or data to the working storage means. It is an object of the present invention to provide a vehicle control device that performs control so that it is performed only when requirements are met.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の車両用制御装置は、制御プログラム
が記憶される制御プログラム記憶手段と、作業時にプロ
グラム若しくはデータが転送される作業用記憶手段と、
制御プログラム以外の補助プログラム若しくはデータが
記憶されるシリアル通信方式の不揮発性記憶手段と、制
御プログラム記憶手段より読出した制御プログラムを実
行すると共に、不揮発性記憶手段から読出した補助プロ
グラム若しくはデータを作業用記憶手段に転送し、以降
は必要に応じて作業用記憶手段から補助プログラムまた
はデータを読出して実行する制御手段とを具備したもの
において、不揮発性記憶手段は、使用頻度の高い補助プ
ログラム若しくはデータが記憶される第1エリアと、使
用頻度の低い補助プログラム若しくはデータが記憶され
る第2エリアとに分別されて記憶され、制御手段は、第
1エリアの記憶内容を先に作業用記憶手段に転送し、特
殊要件が成立しているときに第2エリアの記憶内容を作
業用記憶手段に転送することを特徴とするものである。
In order to achieve the above object, a vehicle control apparatus according to a first aspect of the present invention comprises a control program storage means for storing a control program and a work program to which a program or data is transferred during work. Storage means,
Non-volatile storage means of serial communication system for storing auxiliary programs or data other than the control program, and executing the control program read from the control program storage means, and working the auxiliary program or data read from the non-volatile storage means In the nonvolatile storage means, the auxiliary program or data that is frequently used is stored in the nonvolatile storage means after being transferred to the storage means, and thereafter, when necessary, the auxiliary program or data is read from the work storage means and executed. The first area to be stored and the second area to which an auxiliary program or data having a low frequency of use are stored separately, and the control means transfers the storage content of the first area to the working storage means first. However, when the special requirement is met, the stored contents of the second area are transferred to the working storage means. It is characterized in that.

【0009】請求項2記載の車両用制御装置は、制御手
段を、特殊要件中の処理コマンドの内容に応じて第2エ
リアの記憶内容の転送の中止、中断若しくはその記憶内
容の実行を選択するように構成するところに特徴を有す
る。
According to another aspect of the present invention, there is provided a vehicle control device, wherein the control means selects suspension, interruption, or execution of the storage content of the storage content of the second area according to the content of the processing command in the special requirement. It is characterized in that it is configured as described above.

【0010】この場合、不揮発性記憶手段に記憶される
補助プログラム若しくはデータは、車両の故障診断に関
するプログラム若しくはデータとすると良い(請求項
3)。
In this case, the auxiliary program or data stored in the non-volatile storage means may be a program or data relating to vehicle failure diagnosis (claim 3).

【0011】[0011]

【作用】請求項1記載の車両用制御装置によれば、制御
手段は、不揮発性記憶手段より使用頻度の高い第1エリ
アの記憶内容を先に作業用記憶手段に転送し、使用頻度
の低い第2エリアの記憶内容については、特殊要件が成
立しているときに読出して作業用記憶手段に転送するの
で、不必要な読出し及び転送処理を行うことがない。
According to the vehicle control device of the present invention, the control means transfers the stored contents of the first area, which is used more frequently than the non-volatile storage means, to the working storage means first and the used frequency is low. The stored contents of the second area are read out and transferred to the working storage means when the special requirement is satisfied, so that unnecessary reading and transfer processing is not performed.

【0012】請求項2記載の車両用制御装置によれば、
特殊要件が成立している場合でも、その特殊要件中の処
理コマンドの内容に応じて第2エリアの記憶内容の作業
用記憶手段への転送を中止し、または、中断し、若しく
は、第2エリアの記憶内容を実行させる。
According to the vehicle control device of the second aspect,
Even if the special requirement is satisfied, the transfer of the storage content of the second area to the working storage means is stopped or interrupted, or the second area is transferred according to the content of the processing command in the special requirement. Execute the stored contents of.

【0013】この場合、不揮発性記憶手段に記憶される
補助プログラム若しくはデータを、車両の故障診断に関
するプログラム若しくはデータとすれば、低い頻度で使
用される第2エリアの記憶内容は、外部より故障診断の
処理に関して必要な時だけ読出されて、作業用記憶手段
に転送される(請求項3)。
In this case, if the auxiliary program or data stored in the non-volatile storage means is a program or data relating to vehicle failure diagnosis, the stored contents of the second area, which is used infrequently, is externally used for failure diagnosis. Is read only when necessary for the processing of (1) and transferred to the working storage means (claim 3).

【0014】[0014]

【実施例】以下本発明を車両である自動車のエンジン制
御における故障診断処理に適用した場合の一実施例につ
いて図面を参照して説明する。本発明に係る部分の電気
的構成を示す図1において、制御手段であるCPU1
は、制御プログラム記憶手段であるROM2及び作業用
記憶手段であるRAM3にパラレルのアドレス及びデー
タバスライン並びに制御信号線を介して接続されてい
る。以上がマイクロコンピュータ(以下マイコンと称
す)4を構成している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a failure diagnosis process in engine control of an automobile, which is a vehicle, will be described below with reference to the drawings. In FIG. 1 showing an electrical configuration of a portion according to the present invention, a CPU 1 which is a control means
Are connected to the ROM 2 as the control program storage means and the RAM 3 as the work storage means via parallel address and data bus lines and control signal lines. The above constitutes a microcomputer (hereinafter referred to as a microcomputer) 4.

【0015】また、マイコン4の外部には、不揮発性記
憶手段であるシリアル通信方式のEEPROM5があ
り、EEPROM5はCPU1と図示しないシリアルイ
ンターフェイスを介してシリアルバスで接続されてい
る。そして、マイコン4及びEEPROM5により車両
用制御装置としての図示しないエンジンを制御するエン
ジン制御ECU(以下、単にECUと称す)6を構成し
ている。
Further, outside the microcomputer 4, there is a serial communication type EEPROM 5 which is a non-volatile storage means, and the EEPROM 5 is connected to the CPU 1 via a serial interface (not shown) by a serial bus. The microcomputer 4 and the EEPROM 5 constitute an engine control ECU (hereinafter simply referred to as ECU) 6 that controls an engine (not shown) as a vehicle control device.

【0016】また、CPU1には、水温センサ,吸気温
センサやスロットルセンサなどを含むセンサ7が図示し
ないA/D変換器を介して接続されており、インジェク
タやアイドルスピードコントロール(ISC)バルブな
どのアクチュエータ8が、図示しない出力回路を介して
接続されている。更に、ECU6(CPU1)には、例
えば外部診断装置9が、図示しないシリアルインターフ
ェイスを介してシリアルバスで接続が可能となってお
り、CPU1は、特殊要件が成立しているか否か、即
ち、外部診断装置9が接続されているか否かを、図示し
ない接続検知用スイッチが出力する検知信号により検知
することができるようになっている。
A sensor 7 including a water temperature sensor, an intake air temperature sensor, a throttle sensor, etc. is connected to the CPU 1 via an A / D converter (not shown), such as an injector or an idle speed control (ISC) valve. The actuator 8 is connected via an output circuit (not shown). Furthermore, for example, an external diagnostic device 9 can be connected to the ECU 6 (CPU 1) by a serial bus via a serial interface (not shown), and the CPU 1 determines whether or not special requirements are met, that is, the external condition. Whether or not the diagnostic device 9 is connected can be detected by a detection signal output from a connection detection switch (not shown).

【0017】EEPROM5のアドレスマップを示す図
2において、アドレス領域の先頭から前半は第1エリア
であり、例えば、補助データとしての水温センサのオー
プン/ショート判定値,吸気温センサのオープン/ショ
ート判定値やISCバルブ異常判定値などの判定値デー
タが格納されている。また、何れも図示はしないが、こ
れらの判定値データを使用して故障診断を行う補助プロ
グラムとしての水温センサ,吸気温センサやISCバル
ブなどの診断プログラムも格納されている。これらの第
1エリアに記憶されている診断プログラム及び判定値デ
ータは、エンジンの作動時において毎回使用される使用
頻度の高いものである。
In FIG. 2 showing the address map of the EEPROM 5, the first half from the beginning of the address area is the first area. For example, the open / short judgment value of the water temperature sensor and the open / short judgment value of the intake air temperature sensor as auxiliary data. And determination value data such as an ISC valve abnormality determination value are stored. Further, although not shown in the drawings, a diagnostic program such as a water temperature sensor, an intake air temperature sensor, an ISC valve, etc. as an auxiliary program for performing a failure diagnosis using these judgment value data is also stored. The diagnostic programs and the judgment value data stored in these first areas are frequently used each time the engine is operated.

【0018】第1エリア以降は第2エリアであり、外部
診断装置9に故障診断データを出力するために使用され
る補助プログラム,例えば、水温センサ,吸気温センサ
やISCバルブ診断データ出力用プログラムなどが格納
されている。これらの第2エリアに記憶されている出力
用プログラムは、外部診断装置9がECU6に接続され
ているときのみ使用されるものであり、その使用頻度は
低い。
The area after the first area is the second area, and is an auxiliary program used for outputting failure diagnostic data to the external diagnostic device 9, for example, a water temperature sensor, an intake air temperature sensor, an ISC valve diagnostic data output program, etc. Is stored. The output program stored in these second areas is used only when the external diagnostic device 9 is connected to the ECU 6, and its frequency of use is low.

【0019】次に本実施例の作用を図3乃至図6をも参
照して説明する。リセット解除後のイニシャライズ処理
における制御内容のフローチャートを示す図3におい
て、まず、「RAMイニシャライズ」の処理ステップP
1において、CPU1は、RAM3の作業領域として使
用される領域の記憶内容を0クリアする。この0クリア
によって、後述する処理において、CPU1によりソフ
ト的にセットされて使用されるフラグも全てリセットさ
れる。そして、次の「EEPROM読出しアドレス
(N)初期設定」の処理ステップP2に移行して、CP
U1のアドレスマップ上でEEPROM5に割当てられ
ている領域の先頭アドレスNを、アドレスカウンタに初
期設定する。
Next, the operation of this embodiment will be described with reference to FIGS. In FIG. 3 showing a flowchart of the control contents in the initialization processing after the reset is released, first, the processing step P of the “RAM initialization” is performed.
At 1, the CPU 1 clears the stored contents of the area used as the work area of the RAM 3 to 0. By this 0 clearing, all the flags which are set and used by the CPU 1 by software in the process described later are also reset. Then, the process proceeds to the next "EEPROM read address (N) initial setting" processing step P2, where CP
The head address N of the area assigned to the EEPROM 5 on the address map of U1 is initialized in the address counter.

【0020】そして、「EEPROM読込み要求フラグ
セット」の処理ステップP3に移行して、RAM3内に
設けられているEEPROM読込み要求フラグの領域に
「1」を書込んでその要求フラグをセットすると、次の
「割込み禁止解除」の処理ステップP4に移行し、電源
投入時にCPU1のステータスレジスタに自動的に設定
される割込み禁止状態を解除して、図示しない次のステ
ップに移行する。
Then, the process proceeds to the "EEPROM read request flag set" processing step P3, in which "1" is written in the EEPROM read request flag area provided in the RAM 3 to set the request flag. The process moves to the processing step P4 of "release of interrupt prohibition", the interrupt prohibition state automatically set in the status register of the CPU 1 at power-on is released, and the process proceeds to the next step not shown.

【0021】その後、CPU1は、ROM2より制御プ
ログラムを読出し、図示しないメインルーチンにおいて
エンジンの始動及び回転制御を行う。また、CPU1に
は図示しないタイマによって8ms毎にタイマ割込みが
入るように構成されている。図4乃至図6は、いずれも
そのタイマ割込み処理における制御内容のフローチャー
トである。
After that, the CPU 1 reads the control program from the ROM 2 and controls the start and rotation of the engine in a main routine (not shown). Further, the CPU 1 is configured so that a timer interrupt is input every 8 ms by a timer (not shown). 4 to 6 are flowcharts of control contents in the timer interrupt processing.

【0022】タイマ割込み処理における外部診断装置9
の接続状態に伴う制御内容のフローチャートを示す図4
では、まず、「外部診断装置接続?」の判断ステップQ
1において、CPU1は、図示しない接続検知スイッチ
の検知信号を参照して、ECU6に外部診断装置9が接
続されているか否かを判断する。外部診断装置9が接続
されておらず、判断ステップQ1において「NO」と判
断すると、次に説明する図5に示す処理に移行する。ま
た、外部診断装置9が接続されており、判断ステップQ
1において「YES」と判断すると、次の「処理コマン
ド送信要求信号を送信」の処理ステップQ2に移行し
て、外部診断装置9に対して処理コマンド送信要求信号
を送信すると、次の図5に示す処理に移行する。
External diagnostic device 9 for timer interrupt processing
4 showing a flowchart of the control contents associated with the connection state of
Then, first, the judgment step Q of "connecting external diagnostic device?"
At 1, the CPU 1 refers to a detection signal from a connection detection switch (not shown) and determines whether or not the external diagnostic device 9 is connected to the ECU 6. If the external diagnostic device 9 is not connected and it is determined to be "NO" in the determination step Q1, the process proceeds to the process shown in FIG. Further, the external diagnostic device 9 is connected, and the judgment step Q
If it is determined to be "YES" in step 1, the process proceeds to the next process step Q2 of "transmit a processing command transmission request signal" and the processing command transmission request signal is transmitted to the external diagnostic device 9. Move to the processing shown.

【0023】タイマ割込み処理におけるEEPROM5
に記憶されたプログラムの実行部分処理(以下、単に実
行部分処理と称す)のフローチャートを示す図5におい
て、まず、「第1エリア読込み完了フラグ=1?」の判
断ステップR1において、EEPROM5の第1エリア
の読込み完了を示す、第1エリア読込み完了フラグが
「1」であるか否かが判断される。初期状態では、ステ
ップP1においてフラグは全て0クリアされているので
「NO」と判断して、次に説明する図6に示す処理に移
行する。
EEPROM 5 in timer interrupt processing
5, which shows a flowchart of an execution partial process (hereinafter, simply referred to as an execution partial process) of the program stored in FIG. 5, firstly, in the determination step R1 of "first area read completion flag = 1?" It is determined whether or not the first area read completion flag, which indicates that the area has been read, is "1". In the initial state, all the flags are cleared to 0 in step P1, so it is determined to be "NO", and the process proceeds to the process shown in FIG. 6 described next.

【0024】タイマ割込み処理におけるEEPROM5
の読出し制御部分処理(以下、単に制御部分処理と称
す)のフローチャートを示す図6において、まず、「E
EPROM読込み要求フラグ=1?」の処理ステップS
1において、EEPROM読込み要求フラグが「1」に
セットされているか否かが判断される。ここでは、ステ
ップP3において「1」にセットされているので「YE
S」と判断して、次の「アドレス(N)から読出し」の
処理ステップS2に移行して、ステップP2において初
期化され、アドレスカウンタのカウント値Nが示してい
るEEPROM5の先頭アドレスの記憶内容(水温セン
サオープン/ショート判定値)を、シリアルバスを介し
て読出す。そして、「RAMに転送」の処理ステップS
3に移行する。
EEPROM 5 in timer interrupt processing
6, which shows a flowchart of the read control partial process (hereinafter, simply referred to as the control partial process) of FIG.
EPROM read request flag = 1? Processing step S
At 1, it is determined whether the EEPROM read request flag is set to "1". Here, since it is set to "1" in step P3, "YE
S ", the process proceeds to the next" read from address (N) "processing step S2, and is initialized at step P2, and the stored content of the top address of the EEPROM 5 indicated by the count value N of the address counter is shown. (Water temperature sensor open / short judgment value) is read out via the serial bus. Then, the processing step S of “transfer to RAM”
Move to 3.

【0025】処理ステップS3においては、ステップS
2で読出したEEPROM5の記憶内容を、RAM3の
作業領域として割当てられている領域に転送する。そし
て、次の「第1エリアの読込み完了?」の判断ステップ
S4に移行して、EEPROM5の第1エリアの最終ア
ドレスとして設定されている値とカウンタ値Nとを比較
する。この時点では、判断ステップS4では「NO」と
判断して、「N=N+1」の処理ステップS5に移行し
てアドレスカウンタのカウント値Nをインクリメントす
ると、タイマ割込み処理を抜けて、図示しないメインル
ーチンにリターンする。
In processing step S3, step S
The stored contents of the EEPROM 5 read in 2 are transferred to the area of the RAM 3 allocated as the work area. Then, the process proceeds to the next step S4 of "Reading of first area completed?", And the value set as the final address of the first area of the EEPROM 5 is compared with the counter value N. At this point in time, if it is determined to be "NO" in the determination step S4, the process proceeds to "N = N + 1" processing step S5 and the count value N of the address counter is incremented. Return to.

【0026】ここまでの図4乃至図6に示した処理が、
タイマ割込みが入る8ms毎に繰返されることにより、
EEPROM5の第1エリアの記憶内容は、先頭から1
アドレスずつ読出されてRAM3に転送される。そし
て、アドレスカウンタのカウント値NがステップS5に
おいてインクリメントされて行き、第1エリアの最終ア
ドレスとして設定されている値と等しくなると、ステッ
プS4において「YES」と判断して、次の「第1エリ
ア読込み完了フラグセット」の処理ステップS6に移行
する。
The processes shown in FIGS. 4 to 6 up to this point are as follows.
By repeating the timer interrupt every 8ms,
The content stored in the first area of the EEPROM 5 is 1 from the beginning.
The addresses are read out and transferred to the RAM 3. When the count value N of the address counter is incremented in step S5 and becomes equal to the value set as the final address of the first area, "YES" is determined in step S4 and the next "first area" is determined. Then, the process proceeds to the processing step S6 of "reading completion flag set".

【0027】処理ステップS6においては、第1エリア
の読込み完了を示す、第1エリア読込み完了フラグを
「1」にセットし、「第2エリアの読込み完了?」の判
断ステップS7に移行して、アドレスカウンタのカウン
ト値Nが第2エリアの最終アドレスとして設定されてい
る値と比較される。この時点では、判断ステップS7で
は「NO」と判断して、処理ステップS5に移行してア
ドレスカウンタのカウント値Nをインクリメントすると
(この時点で、カウント値Nは第2エリアの先頭アドレ
スに等しくなる)、タイマ割込み処理を抜けて、図示し
ないメインルーチンにリターンする。
In the processing step S6, the first area reading completion flag indicating the completion of reading the first area is set to "1", and the process proceeds to the judgment step S7 of "Reading completion of the second area?" The count value N of the address counter is compared with the value set as the final address of the second area. At this point, it is determined to be "NO" in the determination step S7, and the process proceeds to the processing step S5 to increment the count value N of the address counter (at this point, the count value N becomes equal to the start address of the second area). ), Exits the timer interrupt process and returns to the main routine (not shown).

【0028】次にタイマ割込みが入ると、第1エリアの
読込み完了フラグは「1」にセットされているため、図
5のステップR1においては「YES」と判断する。そ
して、「外部診断装置接続?」の判断ステップR2に移
行すると、外部診断装置9がECU6に接続されている
か否か(特殊要件が成立しているか否か)が判断され
る。ここで、外部診断装置9が接続されているとする
と、判断ステップR2において「YES」と判断し、次
の「外部診断装置から処理コマンド受信?」の判断ステ
ップR3に移行して、外部診断装置9から処理コマンド
を受信したか否かが判断される。
Next, when the timer interrupt is input, the reading completion flag of the first area is set to "1", so that "YES" is determined in step R1 of FIG. Then, when the process moves to the determination step R2 of "connect external diagnostic device?", It is determined whether the external diagnostic device 9 is connected to the ECU 6 (whether special requirements are met). Here, if the external diagnostic device 9 is connected, it is determined to be "YES" in the determination step R2, and the process proceeds to the determination step R3 of "Reception of processing command from external diagnostic device?" It is determined whether the processing command is received from 9.

【0029】判断ステップR3において、外部診断装置
9から処理コマンドを受信しておらず「NO」と判断す
ると、図5に示す実行部分処理を抜けて、図6に示す制
御部分処理に移行する。判断ステップR3において、外
部診断装置9から処理コマンドを受信しており「YE
S」と判断すると、次の「処理コマンドは1か?」の判
断ステップR4に移行して外部診断装置9からの処理コ
マンドの内容が「1」か否(「0」)かを判断する。こ
の場合、処理コマンドの内容「1」は第2エリアの記憶
内容の実行必要を示し、逆に、内容「0」は実行不要を
示す。この判断ステップR4で「YES」と判断する
と、次の「第2エリア読込み完了フラグ=1?」の判断
ステップR5に移行して、EEPROM5の第2エリア
の読込み完了を示す、第2エリア読込み完了フラグが
「1」にセットされているか否かが判断される。この時
点では、EEPROM5の第2エリアはまだ読込まれて
いないので、判断ステップR5において「NO」と判断
して、図5に示す実行部分処理を抜けて、図6に示す制
御部分処理に移行する。
In the judgment step R3, when the processing command is not received from the external diagnostic device 9 and the judgment is "NO", the execution partial processing shown in FIG. 5 is skipped and the control partial processing shown in FIG. 6 is performed. In the judgment step R3, the processing command is received from the external diagnostic device 9 and "YE
If it is determined to be "S", then the process proceeds to the next "Processing command is 1?" Determination step R4 to determine whether the content of the processing command from the external diagnostic device 9 is "1"("0"). In this case, the content “1” of the processing command indicates that the stored content of the second area needs to be executed, and conversely, the content “0” indicates that the execution is unnecessary. If "YES" is determined in the determination step R4, the process proceeds to the next "second area read completion flag = 1?" Determination step R5, and the second area read completion indicating the completion of the second area read of the EEPROM 5 is completed. It is determined whether the flag is set to "1". At this point, the second area of the EEPROM 5 has not been read yet, so "NO" is determined in the determination step R5, the execution partial process shown in FIG. 5 is skipped, and the control partial process shown in FIG. 6 is performed. .

【0030】そして、図6のステップS2においては、
この時点でアドレスカウンタのカウント値Nが示してい
るEEPROM5の第2エリアの先頭アドレスの記憶内
容(水温センサ診断データ出力プログラムの先頭部分)
が読出される。そして、第1エリアの場合と同様に、次
のステップS3において、その記憶内容はRAM3に転
送される。
Then, in step S2 of FIG.
At this point, the stored content of the start address of the second area of the EEPROM 5 indicated by the count value N of the address counter (the start portion of the water temperature sensor diagnostic data output program)
Is read. Then, as in the case of the first area, the stored contents are transferred to the RAM 3 in the next step S3.

【0031】次のステップS4においては、第1エリア
の読込みは完了しているので「YES」と判断して、ス
テップS6でのフラグセット動作を繰返す。次のステッ
プS7においては、この時点では「NO」と判断するの
で、ステップS5でカウント値Nをインクリメントする
と、タイマ割込み処理を抜けて図示しないメインルーチ
ンに移行する。
In the next step S4, the reading of the first area is completed, so "YES" is determined and the flag setting operation in step S6 is repeated. In the next step S7, it is determined to be "NO" at this point, so if the count value N is incremented in step S5, the timer interrupt process is skipped and the process proceeds to a main routine (not shown).

【0032】以降ここまでの処理は、タイマ割込みが入
る8ms毎に繰返されることにより、EEPROM5の
第2エリアの記憶内容は、前述した第1エリアの場合と
同様に、先頭から1アドレスずつ読出されてRAM3に
転送される。そして、カウント値NがステップS5にお
いてインクリメントされて行き、第2エリアの最終アド
レスとして設定されている値と等しくなると、ステップ
S7において「YES」と判断して、次の「第2エリア
読込み完了フラグセット」の処理ステップS8に移行す
る。
Since the processing up to this point is repeated every 8 ms when the timer interrupt is entered, the stored contents of the second area of the EEPROM 5 are read out one address at a time from the beginning, as in the case of the first area described above. Are transferred to RAM3. Then, when the count value N is incremented in step S5 and becomes equal to the value set as the final address of the second area, it is determined as "YES" in step S7 and the next "second area read completion flag" is determined. Then, the processing proceeds to processing step S8 of "set".

【0033】処理ステップS8においては、第2エリア
の読込み完了を示す、第2エリア読込み完了フラグが
「1」にセットされると、次の「EEPROM読込み要
求フラグリセット」の処理ステップS9に移行して、ス
テップP3において「1」にセットされたEEPROM
読込み要求フラグを「0」にしてリセットすると、タイ
マ割込み処理を抜けてメインルーチンにリターンする。
この時点以降のタイマ割込時の処理では、ステップS1
において「NO」と判断するため、それ以降の図6に示
す制御部分処理は行われずに割込み処理ルーチンを抜け
てリターンする。
In the processing step S8, when the second area read completion flag indicating the completion of reading the second area is set to "1", the process proceeds to the next "EEPROM read request flag reset" processing step S9. And the EEPROM set to "1" in step P3
When the read request flag is reset to "0" and reset, the timer interrupt process is exited and the process returns to the main routine.
In the processing at the time of timer interruption after this point, step S1
Since it is determined to be "NO" in step 1, the control partial processing shown in FIG. 6 thereafter is not performed and the processing returns from the interrupt processing routine.

【0034】そして、次のタイマ割込み処理では、第2
エリアの読込み完了フラグがセットされているので、図
5のステップR4において「YES」と判断されてステ
ップR5に移行すると、ここで「YES」と判断して、
次の「第1及び第2エリアの処理実行」の処理ステップ
R6に移行する。
Then, in the next timer interrupt processing, the second
Since the reading completion flag of the area is set, if "YES" is determined in step R4 of FIG. 5 and the process proceeds to step R5, "YES" is determined here,
Then, the process proceeds to the process step R6 of "execute process of first and second areas".

【0035】処理ステップR6においては、RAM3に
転送されたEEPROM5の第1エリアの故障診断プロ
グラム及び判定値データが読出され、水温センサや吸気
温センサなどのセンサ7や、ISCバルブなどのアクチ
ュエータ8に対してその診断プログラムが実行される。
そして、その実行結果である診断データは、RAM3に
書込まれて記憶されると共に、診断した部分に異常があ
った場合は、パネルの表示ランプを点灯させるなどし
て、運転者に異常の報知を行う。
In the processing step R6, the failure diagnosis program and the judgment value data of the first area of the EEPROM 5 which are transferred to the RAM 3 are read out, and the sensors 7 such as the water temperature sensor and the intake air temperature sensor and the actuator 8 such as the ISC valve are read. On the other hand, the diagnostic program is executed.
Then, the diagnostic data as the execution result is written and stored in the RAM 3, and when there is an abnormality in the diagnosed portion, the display lamp of the panel is turned on to inform the driver of the abnormality. I do.

【0036】診断プログラムによる故障診断が終了する
と、次に、RAM3に転送されたEEPROM5の第2
エリアの診断データ出力プログラムが読出され、その出
力プログラムに従って、RAM3に記憶された診断デー
タが読出されて外部診断装置9に対してシリアルバスを
介して出力される。すると、図5の実行部分処理を終了
する。そして、外部診断装置9は、ECU6から診断デ
ータが与えられると、その診断データを図示しない表示
部などに表示させる。
After the failure diagnosis by the diagnostic program is completed, the second data of the EEPROM 5 transferred to the RAM 3 is next.
The diagnostic data output program of the area is read, and the diagnostic data stored in the RAM 3 is read according to the output program and output to the external diagnostic device 9 via the serial bus. Then, the execution partial process of FIG. 5 is ended. Then, when the diagnostic data is given from the ECU 6, the external diagnostic device 9 displays the diagnostic data on a display unit (not shown) or the like.

【0037】また、第1エリア読込み完了フラグがセッ
トされた後、ステップR2に移行した時点で外部診断装
置9が接続されておらず、ステップR2において「N
O」と判断した場合は、外部診断装置9に対して診断デ
ータを送信する必要はなく、EEPROM5の第2エリ
アに記憶された出力プログラムの読出し要求はないと判
断して、次の「EEPROM読込み要求フラグリセッ
ト」の処理ステップR7に移行して、ここでEEPRO
M読込み要求フラグは「0」にリセットされる。従っ
て、これ以降は、図6の読出し制御処理はステップS1
で「NO」と判断されてすぐに処理を抜けるので、EE
PROM5の第2エリアの読出しは行われない。そし
て、次の「第1エリアの処理実行」の処理ステップR8
に移行して、EEPROM5の第1エリアの診断プログ
ラムの実行がステップR6と同様に行われると、図5の
実行部分処理を終了する。
After the first area read completion flag is set, the external diagnostic device 9 is not connected at the time of shifting to step R2, and "N" is set at step R2.
If it is determined to be “O”, it is not necessary to transmit the diagnostic data to the external diagnostic device 9, it is determined that there is no request to read the output program stored in the second area of the EEPROM 5, and the next “EEPROM read” is performed. The process proceeds to the process step R7 of "reset request flag", where EEPRO is set.
The M read request flag is reset to "0". Therefore, after that, the read control process of FIG.
Since it is judged as “NO” at this point, the processing is immediately exited.
The second area of PROM 5 is not read. Then, the processing step R8 of the next "execution of processing in the first area"
When the execution of the diagnostic program of the first area of the EEPROM 5 is performed in the same manner as in step R6, the execution partial processing of FIG. 5 is ended.

【0038】更に、第1エリア読込み完了フラグがセッ
トされた後、ステップR3に移行した時点で外部診断装
置9からの処理コマンドを受信しなかった場合には、ス
テップR3で「NO」と判断して、第2エリアの記憶内
容のRAM3への転送が完了しても、ステップR4へは
移行しない。勿論、その後に、外部診断装置9から処理
コマンドを受信した場合には、ステップR3で「YE
S」と判断してステップR4に移行する。そして、ステ
ップR4で「YES」と判断したときにはステップR5
及びR6へと移行する。
Further, if the processing command from the external diagnostic device 9 is not received at the time of shifting to step R3 after the first area reading completion flag is set, it is judged as "NO" at step R3. Then, even if the transfer of the storage contents of the second area to the RAM 3 is completed, the process does not proceed to step R4. Of course, if a processing command is received from the external diagnostic device 9 after that, in step R3, "YE
S "is determined and the process proceeds to step R4. When it is determined "YES" in step R4, step R5
And R6.

【0039】しかしながら、ステップR4で「NO」と
判断した場合には、第2エリアの記憶内容のRAM3へ
の転送は完了していても、その実行は不要と判断してス
テップR7に移行するようになる。
However, if "NO" is determined in the step R4, it is judged that the execution is unnecessary even if the transfer of the storage contents of the second area to the RAM 3 is completed, and the process proceeds to the step R7. become.

【0040】以上のように本実施例によれば、自動車の
エンジン制御を行うECU6内部に配置させたEEPR
OM5の記憶エリアを、エンジン始動後に通常実行され
る故障診断プログラムやそのプログラムに使用される判
定値データなどを記憶させた第1エリアと、ECU6に
外部診断装置9が接続された場合に、外部診断装置9に
対して診断データを送信するための診断データ出力用プ
ログラムを記憶させた第2エリアとに分別して構成し、
CPU1は、第1エリアの記憶内容を先にRAM3に対
して転送して、第2エリアの記憶内容は、外部診断装置
9が接続されているときにはRAM3に対して転送し、
接続されていないときにはRAM3に対する転送を行わ
ない(中止する)ように構成した。
As described above, according to the present embodiment, the EEPR arranged inside the ECU 6 for controlling the engine of the automobile.
When the external diagnosis device 9 is connected to the ECU 6 and the first area in which the storage area of the OM 5 stores a failure diagnosis program that is normally executed after engine startup and judgment value data used for the program, And a second area in which a diagnostic data output program for transmitting diagnostic data to the diagnostic device 9 is stored.
The CPU 1 transfers the stored contents of the first area to the RAM 3 first, and the stored contents of the second area to the RAM 3 when the external diagnostic device 9 is connected,
When not connected, the transfer to the RAM 3 is not performed (stopped).

【0041】従って、従来とは異なり、外部診断装置9
が接続されていない場合は不必要なEEPROM5の第
2エリアの読出し処理を行うことがなく、CPU1の読
出し処理の負担を軽減することができるので、処理時間
を短縮することができ、その軽減された負担の分を、他
の有効な処理に対して割当てることも可能である。
Therefore, unlike the prior art, the external diagnostic device 9
Is not connected, unnecessary reading processing of the second area of the EEPROM 5 is not performed, and the load of the reading processing of the CPU 1 can be reduced, so that the processing time can be shortened and reduced. It is also possible to allocate the burden to the other effective processing.

【0042】また、CPU1に対して外部診断装置9が
接続されていた場合において、外部診断装置9から処理
コマンドが送信されてこなかったときには、RAM3に
対して第1エリアの記憶内容の転送が終了すれば、引き
続いてRAM3に対する第2エリアの記憶内容の転送が
開始されるようになるが、この第2エリアの記憶内容の
転送が終了しても実行はされない。そして、外部診断装
置9からの処理コマンドをCPU1が受信し、且つ、そ
の処理コマンドの内容が実行必要の場合には、RAM3
に転送された第1エリア及び第2エリアの記憶内容を実
行する。
When the external diagnostic device 9 is connected to the CPU 1 and no processing command is transmitted from the external diagnostic device 9, the transfer of the storage contents of the first area to the RAM 3 is completed. Then, the transfer of the storage content of the second area to the RAM 3 is subsequently started, but it is not executed even if the transfer of the storage content of the second area is completed. When the CPU 1 receives the processing command from the external diagnostic device 9 and the content of the processing command needs to be executed, the RAM 3 is executed.
The stored contents of the first area and the second area, which have been transferred to, are executed.

【0043】従って、RAM3に転送された第1エリア
及び第2エリアの記憶内容の実行は所望の時に行わせる
ことができる。しかも、第2エリアの記憶内容がRAM
3への転送中であっても、外部診断装置9の処理コマン
ドの内容を実行不要とすることにより、その転送を中断
することができる。
Therefore, the storage contents of the first area and the second area transferred to the RAM 3 can be executed at a desired time. Moreover, the memory contents of the second area are RAM
Even during the transfer to 3, the transfer can be interrupted by making it unnecessary to execute the contents of the processing command of the external diagnostic device 9.

【0044】本発明は上記しかつ図面に記載した実施例
にのみ限定されるものではなく、次のような変形が可能
である。EEPROM5に記憶させるデータ若しくはプ
ログラムを、故障診断に関するものとしたが、これに限
らず、車両に関するものであれば例えば車両盗難防止装
置でも良く、キー内に記憶されている暗証コードが正規
なものかを照合するコード照合ユニットに使われるEE
PROMにおいて、通常良く使うキー内に記憶されてい
る暗証コードと照合される第1の暗証コードをEEPR
OMの第1エリアに記憶しておき、コード照合ユニット
自体の動作を検査する際に使用され、外部装置から入力
された特定暗証コードと照合される第2の暗証コードを
第2エリアに記憶する実施例もある。要は、使用頻度の
高いものをEEPROMに第1エリアとして記憶させ、
且つ、使用頻度の低いものを第2エリアとして記憶させ
て、第2エリアについては読出し要求が無い(特殊要件
が成立していない)と判断すると読出しを行わないよう
に制御すれば良い。
The present invention is not limited to the embodiments described above and shown in the drawings, but the following modifications are possible. Although the data or program stored in the EEPROM 5 is related to the failure diagnosis, the data or program is not limited to this and may be a vehicle anti-theft device as long as it is related to the vehicle, and whether the secret code stored in the key is authentic. EE used for the code collation unit that collates
In the PROM, the first PIN code that is collated with the PIN code normally stored in the frequently used key is EEPR.
The second secret code stored in the first area of the OM and used when inspecting the operation of the code collating unit itself and collated with the specific secret code input from the external device is stored in the second area. There are also examples. The point is that the frequently used ones are stored in the EEPROM as the first area,
In addition, it is sufficient to store the less frequently used area as the second area, and control so as not to perform the reading when it is determined that there is no read request (special requirement is not satisfied) for the second area.

【0045】タイマ割込み周期を8msとしたが、その
周期をこれより長くまたは短くしても良い。また、図6
に示したEEPROM5の読出し制御処理に関しての
み、例えば2msの短い周期の割込みで実行させること
により、高速に処理することも可能である。更に、図6
に示したEEPROM5の読出し制御処理を、1回の割
込み処理時にループ処理によって、複数アドレスの読出
し及びRAM3への転送を行うように構成しても良い。
Although the timer interrupt period is 8 ms, the period may be longer or shorter than this. In addition, FIG.
It is also possible to perform high-speed processing only by executing the read control processing of the EEPROM 5 shown in (1) by executing it with an interrupt having a short cycle of 2 ms, for example. Furthermore, FIG.
The read control processing of the EEPROM 5 shown in FIG. 2 may be configured to read a plurality of addresses and transfer to the RAM 3 by loop processing at the time of one interrupt processing.

【0046】一連のタイマ割込み処理として図4,図5
及び図6の各図に示した処理をそれぞれ一つのプログラ
ムモジュールとして構成した場合は、タイマ割込み処理
におけるその各モジュールの処理順序は、図4,図5,
図6の順序に限らず、任意に変更が可能である。第2実
施例についても、図9,図10,図6について同様に変
更が可能である。また、対象を自動車に限ることはな
く、車両一般に対して適宜応用することができる。
4 and 5 as a series of timer interrupt processing
6 and FIG. 6 are configured as one program module, the processing order of each module in the timer interrupt processing is as shown in FIGS.
The order is not limited to that shown in FIG. 6 and can be changed arbitrarily. The second embodiment can be modified in the same manner as in FIGS. 9, 10, and 6. Further, the object is not limited to an automobile, and can be appropriately applied to vehicles in general.

【0047】[0047]

【発明の効果】本発明は以上説明した通りであるので、
以下の効果を奏する。請求項1記載の車両用制御装置に
よれば、制御手段は、不揮発性記憶手段より使用頻度の
高い第1エリアの記憶内容を先に作業用記憶手段に転送
し、使用頻度の低い第2エリアの記憶内容については、
特殊要件が成立したときに読出して作業用記憶手段に転
送するので、不必要な読出し及び転送処理を行うことが
なく、処理の負担を軽減することができる。
Since the present invention is as described above,
The following effects are obtained. According to another aspect of the vehicle control device of the present invention, the control means transfers the stored contents of the first area, which is used more frequently than the non-volatile storage means, to the work storage means first, and the second area which is used less frequently. For the memory content of
When the special requirement is satisfied, the data is read and transferred to the work storage means, so that unnecessary reading and transfer processing is not performed, and the processing load can be reduced.

【0048】請求項2記載の車両用制御装置によれば、
特殊要件中の処理コマンドの内容に応じて、不揮発性記
憶手段から作業用記憶手段に対する第2エリアの記憶内
容の転送を中止し、中断し、若しくは転送された第2エ
リアの記憶内容を実行することを選択的に行うことがで
きる。
According to the vehicle control device of the second aspect,
Depending on the content of the processing command in the special requirement, the transfer of the storage content of the second area from the non-volatile storage means to the work storage means is stopped, interrupted, or the transferred storage content of the second area is executed. Things can be done selectively.

【0049】この場合、不揮発性記憶手段に記憶される
補助プログラム若しくはデータを、車両の故障診断に関
するプログラム若しくはデータとすれば、低い頻度で使
用される第2エリアの記憶内容は、外部より故障診断の
処理に関して必要な時だけ読出されて、作業用記憶手段
に転送される(請求項3)。
In this case, if the auxiliary program or data stored in the non-volatile storage means is a program or data relating to vehicle failure diagnosis, the content stored in the second area that is used at low frequency is externally used for failure diagnosis. Is read only when necessary for the processing of (1) and transferred to the working storage means (claim 3).

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の電気的構成を示すブロック
FIG. 1 is a block diagram showing an electrical configuration of an embodiment of the present invention.

【図2】EEPROMのアドレスマップFIG. 2 EEPROM address map

【図3】イニシャライズ処理の制御内容を示すフローチ
ャート
FIG. 3 is a flowchart showing control contents of initialization processing.

【図4】タイマ割込み処理における外部診断装置の接続
状態に伴うフローチャート
FIG. 4 is a flowchart according to a connection state of an external diagnostic device in timer interrupt processing.

【図5】タイマ割込み処理におけるEEPROMに記憶
されたプログラムの実行部分を示すフローチャート
FIG. 5 is a flowchart showing an execution part of a program stored in an EEPROM in timer interrupt processing.

【図6】タイマ割込み処理におけるEEPROMの読出
し制御部分を示すフローチャート
FIG. 6 is a flowchart showing an EEPROM read control portion in timer interrupt processing.

【符号の説明】[Explanation of symbols]

1はCPU(制御手段)、2及び10はROM(制御プ
ログラム記憶手段)、3はRAM(作業用記憶手段)、
5及び11はEEPROM(不揮発性記憶手段)、6及
び12はエンジン制御ECU(車両用制御装置)、9は
外部診断装置を示す。
1 is a CPU (control means), 2 and 10 are ROM (control program storage means), 3 is a RAM (working storage means),
Reference numerals 5 and 11 represent an EEPROM (nonvolatile storage means), 6 and 12 represent an engine control ECU (vehicle control device), and 9 represents an external diagnostic device.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 制御プログラムが記憶される制御プログ
ラム記憶手段と、 作業時にプログラム若しくはデータが転送される作業用
記憶手段と、 制御プログラム以外の補助プログラム若しくはデータが
記憶されるシリアル通信方式の不揮発性記憶手段と、 制御プログラム記憶手段より読出した制御プログラムを
実行すると共に、前記不揮発性記憶手段から読出した補
助プログラム若しくはデータを前記作業用記憶手段に転
送し、以降は必要に応じて作業用記憶手段から補助プロ
グラムまたはデータを読出して実行する制御手段とを具
備した車両用制御装置において、 前記不揮発性記憶手段は、使用頻度の高い補助プログラ
ム若しくはデータが記憶される第1エリアと、使用頻度
の低い補助プログラム若しくはデータが記憶される第2
エリアとに分別されて記憶され、前記制御手段は、第1
エリアの記憶内容を先に前記作業用記憶手段に転送し、
特殊要件が成立しているときに第2エリアの記憶内容を
作業用記憶手段に転送することを特徴とする車両用制御
装置。
1. A control program storage means for storing a control program, a working storage means for transferring a program or data at the time of work, and a serial communication non-volatile for storing an auxiliary program or data other than the control program. The storage means executes the control program read from the control program storage means, transfers the auxiliary program or data read from the non-volatile storage means to the work storage means, and thereafter, the work storage means as necessary. In a vehicle control device comprising: a control unit that reads and executes an auxiliary program or data from the storage device, the nonvolatile storage unit includes a first area in which an auxiliary program or data that is frequently used is stored, and a low frequency of use. Second, where auxiliary programs or data are stored
The area is sorted into an area and stored, and the control means is
Transfer the storage contents of the area to the working storage means first,
A vehicle control device characterized in that the stored contents of the second area are transferred to a working storage means when special requirements are met.
【請求項2】 制御手段は、特殊要件中の処理コマンド
の内容に応じて第2エリアの記憶内容の転送の中止、中
断若しくはその記憶内容の実行を選択するように構成さ
れていることを特徴とする請求項1記載の車両用制御装
置。
2. The control means is configured to select suspension, interruption, or execution of the storage content of the storage content of the second area in accordance with the content of the processing command in the special requirement. The vehicle control device according to claim 1.
【請求項3】 不揮発性記憶手段に記憶される補助プロ
グラム若しくはデータは、車両の故障診断に関するプロ
グラム若しくはデータであることを特徴とする請求項1
又は2記載の車両用制御装置。
3. The auxiliary program or data stored in the non-volatile storage means is a program or data relating to vehicle failure diagnosis.
Alternatively, the vehicle control device according to item 2.
JP32276094A 1994-12-26 1994-12-26 Vehicle control device Expired - Fee Related JP3726295B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32276094A JP3726295B2 (en) 1994-12-26 1994-12-26 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32276094A JP3726295B2 (en) 1994-12-26 1994-12-26 Vehicle control device

Publications (2)

Publication Number Publication Date
JPH08177608A true JPH08177608A (en) 1996-07-12
JP3726295B2 JP3726295B2 (en) 2005-12-14

Family

ID=18147343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32276094A Expired - Fee Related JP3726295B2 (en) 1994-12-26 1994-12-26 Vehicle control device

Country Status (1)

Country Link
JP (1) JP3726295B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000218824A (en) * 1998-11-26 2000-08-08 Seiko Epson Corp Ink container and printer using the same
JP2001187455A (en) * 1998-11-02 2001-07-10 Seiko Epson Corp Ink container and printing device using the same
US6565198B2 (en) 1998-11-02 2003-05-20 Seiko Epson Corporation Ink cartridge and printer using the same
JP2004093256A (en) * 2002-08-30 2004-03-25 Nsk Ltd Abnormalities diagnostic system
US6915192B2 (en) 2003-01-17 2005-07-05 Mitsubishi Denki Kabushiki Kaisha Vehicular electronic control apparatus
KR100513148B1 (en) * 1998-11-02 2005-09-08 세이코 엡슨 가부시키가이샤 Ink cartridge and printer using the same
US6955411B2 (en) 1998-11-26 2005-10-18 Seiko Epson Corporation Ink cartridge and printer using the same
US6969140B2 (en) 1998-11-26 2005-11-29 Seiko Epson Corporation Printer and ink cartridge attached thereto
US6995861B1 (en) 1998-11-26 2006-02-07 Seiko Epson Corporation Method of normality decision with regard to ink cartridge and printer actualizing the method
KR100653024B1 (en) * 1999-02-04 2006-11-30 가부시키가이샤 미츠바 Ignition timing control apparatus for an internal combustion engine
JP2006336564A (en) * 2005-06-02 2006-12-14 Fujitsu Ten Ltd Electronic controller and data storage method for electronic control device
JP2007185973A (en) * 1998-11-02 2007-07-26 Seiko Epson Corp Ink container and printing device using the same
JP2009255674A (en) * 2008-04-15 2009-11-05 Mitsubishi Electric Corp Onboard electronic control device
JP2012068198A (en) * 2010-09-27 2012-04-05 Ngk Spark Plug Co Ltd Device for controlling electrical components for vehicle
JP2014501870A (en) * 2010-11-22 2014-01-23 フリースケール セミコンダクター インコーポレイテッド Method for enabling calibration during start-up of a microcontroller unit and integrated circuit thereof

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100513148B1 (en) * 1998-11-02 2005-09-08 세이코 엡슨 가부시키가이샤 Ink cartridge and printer using the same
JP2001187455A (en) * 1998-11-02 2001-07-10 Seiko Epson Corp Ink container and printing device using the same
JP2002144603A (en) * 1998-11-02 2002-05-22 Seiko Epson Corp Ink container and printer using the ink container
JP2002192754A (en) * 1998-11-02 2002-07-10 Seiko Epson Corp Ink vessel and printer using the same
US7393092B2 (en) 1998-11-02 2008-07-01 Seiko Epson Corporation Ink cartridge and printer using the same
US6565198B2 (en) 1998-11-02 2003-05-20 Seiko Epson Corporation Ink cartridge and printer using the same
JP2007185973A (en) * 1998-11-02 2007-07-26 Seiko Epson Corp Ink container and printing device using the same
US7195346B1 (en) 1998-11-02 2007-03-27 Seiko Epson Corporation Ink cartridge and printer using the same
US7134738B2 (en) 1998-11-26 2006-11-14 Seiko Epson Corporation Printer and ink cartridge attached thereto
US7267415B2 (en) 1998-11-26 2007-09-11 Seiko Epson Corporation Printer and ink cartridge attached thereto
US6969140B2 (en) 1998-11-26 2005-11-29 Seiko Epson Corporation Printer and ink cartridge attached thereto
US6995861B1 (en) 1998-11-26 2006-02-07 Seiko Epson Corporation Method of normality decision with regard to ink cartridge and printer actualizing the method
JP2000218824A (en) * 1998-11-26 2000-08-08 Seiko Epson Corp Ink container and printer using the same
US6955411B2 (en) 1998-11-26 2005-10-18 Seiko Epson Corporation Ink cartridge and printer using the same
US7513590B2 (en) 1998-11-26 2009-04-07 Seiko Epson Corporation Method of normality decision with regard to ink cartridge and printer actualizing the method
JP2009040063A (en) * 1998-11-26 2009-02-26 Seiko Epson Corp Ink cartridge and printer using the same
JP2002192753A (en) * 1998-11-26 2002-07-10 Seiko Epson Corp Ink vessel and printer using the same
KR100653024B1 (en) * 1999-02-04 2006-11-30 가부시키가이샤 미츠바 Ignition timing control apparatus for an internal combustion engine
JP2004093256A (en) * 2002-08-30 2004-03-25 Nsk Ltd Abnormalities diagnostic system
US6915192B2 (en) 2003-01-17 2005-07-05 Mitsubishi Denki Kabushiki Kaisha Vehicular electronic control apparatus
JP2006336564A (en) * 2005-06-02 2006-12-14 Fujitsu Ten Ltd Electronic controller and data storage method for electronic control device
JP2009255674A (en) * 2008-04-15 2009-11-05 Mitsubishi Electric Corp Onboard electronic control device
JP2012068198A (en) * 2010-09-27 2012-04-05 Ngk Spark Plug Co Ltd Device for controlling electrical components for vehicle
US9020686B2 (en) 2010-09-27 2015-04-28 Ngk Spark Plug Co., Ltd. Control apparatus for vehicular electric component
JP2014501870A (en) * 2010-11-22 2014-01-23 フリースケール セミコンダクター インコーポレイテッド Method for enabling calibration during start-up of a microcontroller unit and integrated circuit thereof
US9417884B2 (en) 2010-11-22 2016-08-16 Freescale Semiconductor, Inc. Method for enabling calibration during start-up of a micro controller unit and integrated circuit therefor

Also Published As

Publication number Publication date
JP3726295B2 (en) 2005-12-14

Similar Documents

Publication Publication Date Title
JPH08177608A (en) Control system for vehicle
US5737711A (en) Diagnosis system for motor vehicle
US4787040A (en) Display system for automotive vehicle
US5826211A (en) Electronic controller having excellent control program and control data overwriting capabilities
JP4135220B2 (en) Electronic control device for vehicle
JPS6116302A (en) Functional controller for automobile
JPH0776736B2 (en) Vehicle diagnostic system
JP2003058285A (en) Control system
US7299308B2 (en) Data transmission apparatus and electronic control unit
US6430709B1 (en) Apparatus and method for diagnosing microcomputer memory
JP4552982B2 (en) Electronic control unit
JP2000259420A (en) Device for updating learning value for electronic controller
JP3697427B2 (en) In-vehicle electronic control unit
US6334080B1 (en) Vehicle control apparatus and method sharing control data
US6944649B1 (en) Electronic control unit having single non-volatile memory for multiple central processing units and data retrieval method
JPH0869421A (en) Data transmission method of real-time data processing system
JP3799797B2 (en) Diagnostic equipment for vehicles
JP2002303203A (en) Vehicle control device, and method for assembling the same
JPH09171459A (en) Electronic control equipment
JP3203884B2 (en) Vehicle diagnostic system
JP2000257502A (en) Electronic controller for automobile
US20230222071A1 (en) Control device and electronic control device
JPH1196082A (en) Memory rewriting device for vehicle
JP2001265601A (en) Electronic control unit and memory rewrite method
JP2002132527A (en) Vehicle-mounted electronic control apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040906

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050906

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050919

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081007

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091007

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101007

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111007

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees