JP2888720B2 - Engine control device - Google Patents
Engine control deviceInfo
- Publication number
- JP2888720B2 JP2888720B2 JP6082993A JP6082993A JP2888720B2 JP 2888720 B2 JP2888720 B2 JP 2888720B2 JP 6082993 A JP6082993 A JP 6082993A JP 6082993 A JP6082993 A JP 6082993A JP 2888720 B2 JP2888720 B2 JP 2888720B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- program
- writing
- erasing
- volatile memory
- 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.)
- Expired - Lifetime
Links
- 230000002401 inhibitory effect Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 50
- 238000012545 processing Methods 0.000 description 25
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 5
- 230000007704 transition Effects 0.000 description 4
- 101000589407 Homo sapiens Membrane progestin receptor gamma Proteins 0.000 description 3
- 102100032334 Membrane progestin receptor gamma Human genes 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000000446 fuel Substances 0.000 description 2
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、エンジン制御装置に関
し、特に、市場搬入後の装置に搭載されたCPU内蔵の
ROMデータを書換可能とするエンジン制御装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an engine control device, and more particularly to an engine control device capable of rewriting ROM data with a built-in CPU mounted on a device after the device has been brought into a market.
【0002】[0002]
【従来の技術】近年、エンジンを制御するためのエンジ
ン制御装置には、定められたプログラムに従い動作する
CPUと、このプログラムを格納する不揮発性メモリで
あるROMが備えられている。このROMには、プログ
ラム及びエンジンに供給すべき燃料の噴射量や点火時期
などを決めるデータが格納されている。2. Description of the Related Art In recent years, an engine control device for controlling an engine includes a CPU that operates according to a predetermined program, and a ROM that is a nonvolatile memory for storing the program. The ROM stores a program and data for determining a fuel injection amount, an ignition timing, and the like to be supplied to the engine.
【0003】ところで、CPUに内蔵されたROMにプ
ログラムやデータの書き込みを行ったり、CPUを基板
に実装後、内蔵ROMに書き込みを行う方法として、例
えば、特開平3−229955号公報が知られている。As a method of writing a program or data into a ROM built in a CPU or mounting the CPU on a board and then writing the data into a built-in ROM, for example, Japanese Patent Application Laid-Open No. 3-229555 is known. I have.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、前記従
来のエンジン制御装置においては、CPUを基板に実装
後内蔵ROMに書き込みは可能であるが、データの消去
及び再書き込みは考慮されていない。すなわち、エンジ
ン制御装置を市場に供給後、ROMのデータを変更した
い場合が生じても書換えできず、CPU自体を交換しな
い限りデータの内容を変更することができないという問
題点があった。However, in the above-mentioned conventional engine control device, although the CPU can be mounted on the board and then written into the built-in ROM, erasing and rewriting of data is not considered. That is, there is a problem that after the engine control device is supplied to the market, the data in the ROM cannot be rewritten even if it is desired to change the data, and the contents of the data cannot be changed unless the CPU itself is replaced.
【0005】本発明は、このような問題に鑑みてなされ
たのされたもので、その目的は、市場でのトラブル発生
時にエンジン制御装置本体を交換することなしに、RO
M内容を簡単に書換えできるエンジン制御装置を提供す
ることである。SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and has as its object to replace the RO with the engine control unit without replacing the engine control unit when a problem occurs in the market.
An object of the present invention is to provide an engine control device capable of easily rewriting M contents.
【0006】[0006]
【課題を解決するための手段】前記目的を達成するた
め、本発明に係わるエンジン制御装置は、基本的には、
データの書き込みができ、且つブロック毎に前記データ
の消去を行える不揮発性メモリと、データの書き込み及
び読み出し可能な揮発性メモリとを内蔵するとともに、
前記不揮発性メモリに書き込まれたプログラムに従って
動作する演算手段を備えたエンジン制御装置において、
前記演算手段は、前記エンジン制御装置以外の外部装置
と電気的に接続されるとともに、前記外部装置からの情
報に従って前記不揮発性メモリの内容をブロック毎に消
去後にデータの書き込みを可能ならしめる手段を備えた
ことを特徴としている。In order to achieve the above object, an engine control device according to the present invention basically comprises:
Data can be written data, and the non-volatile memory that can erase the data in且grain per lock, as well as incorporates a writable and readable volatile memory of the data,
An engine control device including an arithmetic unit that operates according to a program written in the nonvolatile memory,
The arithmetic means is electrically connected to an external device other than the engine control device, and includes means for enabling data writing after erasing the contents of the nonvolatile memory block by block according to information from the external device. It is characterized by having.
【0007】[0007]
【作用】電気的にデータの消去可能な不揮発性メモリに
対し、消去動作を行う手段を備えた演算装置は、まず外
部機器からの消去命令に従い不揮発性メモリの内容の消
去動作を開始する。しかる後、外部機器からの再書き込
み命令によりデータを書き込みを行い、不揮発性メモリ
のデータ書換が可能となる。An arithmetic unit having means for performing an erasing operation on an electrically erasable nonvolatile memory first starts an erasing operation of the contents of the nonvolatile memory in accordance with an erasing command from an external device. Thereafter, data is written according to a rewrite command from the external device, and data can be rewritten in the nonvolatile memory.
【0008】[0008]
【実施例】以下、本発明の一実施例を図面を用いて説明
する。図1は本発明に係わる一実施例のエンジン制御装
置の全体構成を示すブロック図である。図1において、
エンジン制御装置1はエンジン2の制御を行う。エンジ
ン2には、図示しない運転状態を表す様々なセンサが取
り付けられており、これらセンサからの信号がエンジン
制御装置1に入力される。エンジン制御装置1は、前記
センサからの信号を波形処理する入力処理回路4と、こ
のセンサ信号を入力してエンジン2の最適運転状態を演
算するCPU3と、このCPU3で演算された結果を制
御信号として受けてエンジン2に取付けられた燃料噴射
装置や点火装置などのアクチュエータ(共に図示省略)
を駆動する出力回路5から構成されている。An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of an engine control device according to one embodiment of the present invention. In FIG.
The engine control device 1 controls the engine 2. Various sensors (not shown) indicating the operating state are attached to the engine 2, and signals from these sensors are input to the engine control device 1. The engine control device 1 includes an input processing circuit 4 that performs waveform processing on a signal from the sensor, a CPU 3 that receives the sensor signal to calculate an optimal operation state of the engine 2, and outputs a result calculated by the CPU 3 to a control signal. Actuators such as a fuel injection device and an ignition device attached to the engine 2 (both not shown)
, And an output circuit 5 for driving.
【0009】CPU3には制御用プログラムに従い動作
するマイクロ・プロセッサ・ユニット(以下、MPUと
いう)7と、このMPU7を動作させるプログラムを格
納するROM8と、MPU7の演算結果を格納するRA
M9と、前記入力処理回路4からの信号を受けるととも
に、出力回路5に制御信号を出力するI/O6と、外部
機器であるメモリ書換機11とのデータ通信用の通信回
路10が内蔵されている。なお、ROM8は、一旦書き
込んだデータを全て消去することができ、しかも再書き
込み可能なフラッシュROMが用いられている。The CPU 3 has a microprocessor unit (hereinafter referred to as an MPU) 7 which operates according to a control program, a ROM 8 which stores a program for operating the MPU 7, and an RA which stores the operation result of the MPU 7.
M9, an I / O 6 that receives a signal from the input processing circuit 4 and outputs a control signal to an output circuit 5, and a communication circuit 10 for data communication with a memory rewriter 11 as an external device. I have. As the ROM 8, a flash ROM that can erase all data once written and that can be rewritten is used.
【0010】また、エンジン制御装置1はメモリ書換機
11と電気的に接続可能となっており、メモリ書換機1
1からのデータはCPU3内の通信回路10にシリアル
通信機能によるデータ伝送が行われる。そして、受信さ
れたコマンド等のデータはROM8において、特別な条
件下で内容の消去及び再度書き込みができる。図2に前
記CPUのメモリマップを示す。図2(a)はCPU3
全体のメモリマップであり、3aはROM8の領域、3
bは外部メモリ空間、3cはRAM9の領域、3dはM
PU7の内部レジスタ領域である。図2(b)は前記R
OM8内のブロック構成を表す。ROM8内はいくつか
のブロックに分かれており、例えば、図2(b)の場合
にはA〜Pの16ブロックに分割されており、ROM8
内の内容は各ブロック毎に消去可能な構成となってい
る。エンジン制御装置1で使用されているROM8内の
構成は、制御プログラムが格納されているプログラム領
域と、制御データが格納されているデータ領域とに大別
される。本実施例では、ブロックA〜Kがプログラム領
域であり、ブロックL〜Pまでがデータ領域である。The engine control device 1 is electrically connectable to the memory rewriter 11 and is connected to the memory rewriter 11.
The data from 1 is transmitted to the communication circuit 10 in the CPU 3 by the serial communication function. The data of the received command and the like can be erased and rewritten in the ROM 8 under special conditions. FIG. 2 shows a memory map of the CPU. FIG. 2A shows the CPU 3.
3a is an area of the ROM 8;
b is the external memory space, 3c is the area of the RAM 9 and 3d is M
This is an internal register area of PU7. FIG. 2 (b) shows the R
5 shows a block configuration in the OM 8. The ROM 8 is divided into several blocks. For example, in the case of FIG. 2B, the ROM 8 is divided into 16 blocks A to P.
The contents in are configured to be erasable for each block. The configuration in the ROM 8 used in the engine control device 1 is roughly divided into a program area in which a control program is stored and a data area in which control data is stored. In this embodiment, blocks A to K are program areas, and blocks LP are data areas.
【0011】図3はROM内のデータを消去するための
専用レジスタの構成である。図3において、消去レジス
タは内部レジスタ領域3dに配置され、2バイトで構成
されている。消去レジスタ1及び2の各ビットはROM
8内の各ブロックA〜Pに対応しており、このビットを
例えば1にするとそれに対応したブロックの内容が消去
される。従って、例えば、データ領域であるブロックM
のデータのみを書換えたい場合は、まず、消去レジスタ
2のビット4を1にしてブロックMのデータを消去し、
その後ブロックMにデータを書き込む操作を行えば良
い。FIG. 3 shows the configuration of a dedicated register for erasing data in the ROM. In FIG. 3, the erase register is arranged in the internal register area 3d and is composed of 2 bytes. Each bit of erase registers 1 and 2 is ROM
8 corresponds to each of the blocks A to P. When this bit is set to 1, for example, the contents of the corresponding block are erased. Therefore, for example, the data area block M
In order to rewrite only the data of block M, first, the bit 4 of the erase register 2 is set to 1 and the data of the block M is erased.
Thereafter, an operation of writing data to the block M may be performed.
【0012】図4は外部機器であるメモリ書換機との通
信でCPU内のメモリ内容を書き換えていくときのCP
Uの内部状態を示す状態遷移図である。図4において、
メモリ書換機11との通信を開始する前はS1でメモリ
書換機11からの通信待ち状態にある。ここで、メモリ
書換機11から「INIT」と言うコマンドが入力され
た場合、〈INIT〉と言うコマンドをエンジン制御装
置1からメモリ書換機11に送信してやり、「INI
T」コマンドを受信したことを知らせると同時に、S2
の設定コマンド待ち状態にはいる。S1で「INIT」
以外のコマンドが入力された場合は〈エラー〉コマンド
を送信し、元の状態S1に戻る。FIG. 4 shows a CP when rewriting the memory contents in the CPU through communication with a memory rewriter as an external device.
FIG. 9 is a state transition diagram showing an internal state of U. In FIG.
Before the communication with the memory rewriter 11 is started, it is in a state of waiting for communication from the memory rewriter 11 in S1. Here, when a command “INIT” is input from the memory rewriting device 11, a command “<INIT>” is transmitted from the engine control device 1 to the memory rewriting device 11, and “INIT” is transmitted.
T ”command is received and S2
You are now waiting for a configuration command. "INIT" in S1
If any other command is input, an <error> command is transmitted, and the process returns to the original state S1.
【0013】以下、各状態に置いても同様に、その状態
に応じたコマンドが入力された場合はそれに対するコマ
ンドを送信し、次の状態に遷移する。それ以外の場合は
〈エラー〉コマンドを送信し、初期状態であるS1に戻
る構成となっている。このようにして、初期状態S1か
ら「INIT」コマンド入力後、S2の設定コマンド待
ち状態に遷移し、次のコマンドを待つ。S2でプログラ
ム変更モードにはいるための「PROG」コマンドを受
信した場合はS3に、データ変更モードにはいるための
「DATA」コマンドを受信した場合はS7に、それ以
外はS1にそれぞれ遷移する。S3に遷移した場合はプ
ログラム変更モードに入り、S7に遷移した場合はデー
タ変更モードに入る。[0013] Similarly, when a command corresponding to the state is input in each state, the command corresponding to the state is transmitted and the state transits to the next state. In other cases, an <error> command is transmitted, and the process returns to S1, which is the initial state. In this way, after the "INIT" command is input from the initial state S1, the state transits to the setting command waiting state in S2 and waits for the next command. If a "PROG" command for entering the program change mode is received in S2, the process transits to S3; if a "DATA" command for entering the data change mode is received, the process transits to S7; . When a transition is made to S3, a program change mode is entered, and when a transition is made to S7, a data change mode is entered.
【0014】次に、S3で「GO」コマンドを受信した
場合はS4に入り、変更のデータが入力された場合S5
に移り、データ変更の処理を行う。この処理が終了した
ら次のデータが入力されるのを待つため、〈データ〉コ
マンドを送信後、再びS4に戻る。所定個数のデータが
入力されたら、S5から終了コマンド待ち状態のS6に
移る。S6では「EXIT」コマンドが受信された場
合、〈EXIT〉コマンドを送信し、S1に戻ってプロ
グラム変更モードを終了する。Next, when the "GO" command is received in S3, the process goes to S4, and when the change data is inputted, the process goes to S5.
Then, the data is changed. When this process is completed, the process returns to S4 after transmitting a <data> command in order to wait for the next data to be input. When a predetermined number of data has been input, the process proceeds from S5 to S6 in a wait state for an end command. In S6, when the "EXIT" command is received, an <EXIT> command is transmitted, and the process returns to S1 to end the program change mode.
【0015】一方、S2で「DATA」コマンドを受信
した場合はデータ変更モードに入り、S7で変更するR
OM8内のブロックの指定である「ADDR」データを
受信しS8に入る。S8で処理の開始コマンドである
「GO」コマンドを受けた後、S9とS10でデータ変
更の処理を行う。S9では変更すべきデータが受信され
たらS10に移り、変更の処理を実行する。処理終了
後、〈データ〉を送信し、S9の状態に再び戻り、次の
データを待つ。そして、所定個数のデータが入力された
らS6の状態に移り、「EXIT」コマンド待ち状態に
はいる。以下、プログラム変更モードと同様に、「EX
IT」コマンドが入力されたら〈EXIT〉コマンドを
送信し、S1の状態に戻ってデータ変更モードを終了す
る。On the other hand, when the "DATA" command is received in S2, the mode is changed to the data change mode, and the R to be changed is changed in S7.
“ADDR” data, which is a designation of a block in the OM 8, is received, and the process proceeds to S 8. After receiving the "GO" command which is the process start command in S8, the data change process is performed in S9 and S10. In S9, when the data to be changed is received, the process proceeds to S10, and the change process is executed. After the processing is completed, <data> is transmitted, the process returns to the state of S9, and waits for the next data. Then, when a predetermined number of data is input, the flow shifts to the state of S6, and enters an "EXIT" command waiting state. Hereinafter, similarly to the program change mode, “EX”
When an "IT" command is input, an <EXIT> command is transmitted to return to the state of S1 and end the data change mode.
【0016】図5は図4の通信を行ったときのエンジン
制御装置内のプログラムの動作を示すフローチャートで
あり、本実施例ではメモリ書換機との通信はシリアル通
信機能が用いられている。図5において、メモリ書換機
11からデータが送信されたとき発生するシリアル通信
機能(SCI)割り込みの処理を示している。SCI割
り込みが発生したら、まずS20でINIT fla
g、S21でPROG flag、S22でDATA f
lagが1かどうかを確認する。FIG. 5 is a flowchart showing the operation of the program in the engine control device when the communication of FIG. 4 is performed. In this embodiment, the communication with the memory rewriter uses a serial communication function. FIG. 5 shows the processing of a serial communication function (SCI) interrupt that occurs when data is transmitted from the memory rewriter 11. When an SCI interrupt occurs, first, at S20, the INIT flat
g, PROG flag in S21, DATA f in S22
Check if lag is 1.
【0017】S20でINIT flagが0の場合に
は、S1(図4)で示した通信待ち状態に現在あること
を示しており、続いてS28で今回入力されたデータが
「INIT」コマンドであるかどうかを確認する。S2
8での結果がNO、つまり「INIT」コマンドでない
と判定された場合はS25に進み、〈エラー〉コマンド
を出力し、INIT、PROG、およびDATAの各f
lagをそれぞれ0にして通信の初期状態に戻る処理を
してSCI割り込み処理を終了する。If the INIT flag is 0 in S20, it indicates that the communication is in the communication waiting state shown in S1 (FIG. 4). Then, in S28, the data inputted this time is the "INIT" command. Check whether or not. S2
8 is NO, that is, when it is determined that the command is not the “INIT” command, the process proceeds to S25, an <error> command is output, and each of INIT, PROG, and DATA f
The flag is set to 0 to return to the initial state of communication, and the SCI interrupt processing ends.
【0018】しかして、S28での結果YES、つまり
「INIT」コマンドであることを確認したらS29に
進み、ここで〈INIT〉コマンドをメモリ書換機11
に出力し、且つINIT flagを1にして処理を終
了する。一方、S20でINIT flagが1であっ
た場合、図4のS2以降の状態にあることを示している
ため、以下でどこの状態であるかを確認する。When the result of S28 is YES, that is, when it is confirmed that the command is an "INIT" command, the process proceeds to S29, where the <INIT> command is stored in the memory rewriting device 11.
And the INIT flag is set to 1 to end the processing. On the other hand, if the INIT flag is 1 in S20, it indicates that the state is after S2 in FIG. 4, and it is checked below which state it is.
【0019】まず、S21ではPROG flagでプ
ログラム変更モードかを確認し、その結果がYES、つ
まりPROG flagが1のときはS31に進み、プ
ログラムの変更処理を行う。S21での結果がNOのと
きはS22に進み、ここでデータ変更モードか否かを確
認する。S22での結果がYES、つまりDATAfl
agが1であり、データ変更モードである場合はS30
に進み、データ変更処理を行う。First, in S21, it is confirmed by the PROG flag whether or not the program is in the program change mode. If the result is YES, that is, if the PROG flag is 1, the process proceeds to S31, and the program is changed. If the result in S21 is NO, the process proceeds to S22, where it is confirmed whether or not the mode is the data change mode. If the result in S22 is YES, that is, DATAfl
If ag is 1 and the mode is the data change mode, S30
To perform data change processing.
【0020】S30でflagが0の場合は、図4のS
2の状態にあるため、今回入力されたデータが「PRO
G」または「DATA」コマンドであるかをS23、S
24で確認する。まず、S23での結果がYES、つま
り「PROG」コマンドが入力されたと判断されたらS
27に進み、ここで〈PROG〉コマンドを出力し、P
ROGflagを1にしてプログラム変更モードに入
る。If the flag is 0 in S30, the process proceeds to S30 in FIG.
2, the data entered this time is "PRO
"G" or "DATA" command in S23, S
Confirm at 24. First, if the result in S23 is YES, that is, if it is determined that the "PROG" command has been
27, and outputs a <PROG> command.
Set ROGflag to 1 and enter the program change mode.
【0021】一方、S23での結果がNOと判断された
らS24に進み、さらに、ここでの結果がYES、つま
り「DATA」コマンドが入力されたと判断されたらS
26に進み、〈DATA〉コマンドの出力及びDATA
flagを1にしてデータ変更モードに入る。また、
S23及びS24のどちらのステップにおいても、何の
コマンドも確認されなかった場合にはデータ通信エラー
と判断してS25に進み、ここで〈エラー〉コマンドを
出力するとともに、INIT、PROG、及びDATA
の各flagを0にして初期状態である図4のS1の状
態に戻る。On the other hand, if the result in S23 is NO, the process proceeds to S24, and if the result in this case is YES, that is, if it is determined that the "DATA" command has been input, the process proceeds to S24.
26, output the <DATA> command and
The flag is set to 1 to enter the data change mode. Also,
If no command is confirmed in both steps S23 and S24, it is determined that a data communication error has occurred, and the process proceeds to S25, where an <error> command is output, and INIT, PROG, and DATA are output.
Are set to 0, and the process returns to the initial state of S1 in FIG.
【0022】図6は図5の処理でプログラム変更モード
に入ったときのS31の処理を説明するフローチャート
である。CPU3は通常内蔵したROM8に格納された
プログラムで動作するため、そのプログラムの書換を行
う際、ROM8の内容を消去するとCPU3が動作しな
ってしまう。それを防止するため、プログラムの変更を
行うときはプログラム書換のプログラムをROM8上で
動作させるのではなく、RAM9上で行わせる必要があ
る。図6の処理はそのプログラム書換のプログラムをR
AM9上で行わせる様にしたものである。尚、プログラ
ム書換のプログラムは元々ROM8上にあり、それを実
行する際は一旦RAM9に転送した後に行うようにして
いる。FIG. 6 is a flow chart for explaining the processing of S31 when the program change mode is entered in the processing of FIG. Since the CPU 3 normally operates with a program stored in the built-in ROM 8, if the contents of the ROM 8 are erased when rewriting the program, the CPU 3 will operate. To prevent this, when changing the program, the program rewriting program must be executed on the RAM 9 instead of operating on the ROM 8. The processing of FIG.
This is performed on AM9. The program for rewriting the program is originally stored in the ROM 8, and is executed after the program is once transferred to the RAM 9.
【0023】図6において、S40で「GO」コマンド
かどうかを確認し、もし、「GO」コマンドでなければ
(NO)、送信されたコマンドが異常であるため、S4
3に進み、ここで〈エラー〉コマンド出力後、INIT
及びPROGの各flagを0にして初期状態に戻る。
一方、S40での結果がYES、つまり「GO」コマン
ドであればS41へ進み、ここでプログラム書換のプロ
グラムをROM8からRAM9へ転送する処理を行う。
転送処理が終了後、S42でRAM9に転送したプログ
ラムへジャンプし、RAM9上のプログラムを実行す
る。In FIG. 6, it is checked in step S40 whether the command is a "GO" command. If the command is not a "GO" command (NO), the transmitted command is abnormal,
Proceed to Step 3 and output the <Error> command.
, And each flag of PROG is set to 0 to return to the initial state.
On the other hand, if the result in S40 is YES, that is, if the command is a "GO" command, the flow proceeds to S41, where processing for transferring a program for rewriting the program from the ROM 8 to the RAM 9 is performed.
After the transfer process is completed, the process jumps to the program transferred to the RAM 9 in S42, and executes the program on the RAM 9.
【0024】図7は上記処理でRAM9上に転送された
プログラム書換のプログラムの処理を示すフローチャー
トである。図6のS42でRAM9にジャンプした後に
S50に進み、ROM8のプログラム領域であるブロッ
クA〜Kの内容を消去する。ここで、メモリ書換機11
からシリアル通信でデータを送信してきたとき、SCI
割り込みがCPU3に発生するが、そのときの処理プロ
グラムにジャンプするためにベクタアドレスが必要とな
る。ベクタアドレスにはその割り込み処理のプログラム
の先頭アドレスが入っている。本実施例の場合、前記ベ
クタアドレスはROM8のブロックA上に配置されてお
り、プログラム書換のプログラムを実行するときは、そ
のベクタアドレスをRAM9にジャンプするように設定
する必要がある。また、プログラムの書換が終了した
後、SCI割り込みが発生したときはROM8上のプロ
グラムを実行させる必要があるため、再度ベクタアドレ
スを書き換えなければならない。そこで、S51ではR
AM9上でプログラムを実行させるため、ROM8上の
ブロックAにあるベクタアドレスに前記RAM9上のプ
ログラムの先頭アドレスを書き込む処理を行う。この処
理を終了することによりプログラム書き込み可能とな
る。FIG. 7 is a flowchart showing the processing of the program rewriting program transferred to the RAM 9 in the above processing. After jumping to the RAM 9 in S42 of FIG. 6, the process proceeds to S50, and the contents of the blocks A to K, which are the program areas of the ROM 8, are erased. Here, the memory rewriter 11
When data is transmitted by serial communication from the
An interrupt is generated in the CPU 3, but a vector address is required to jump to the processing program at that time. The vector address contains the start address of the interrupt processing program. In the case of the present embodiment, the vector address is located on the block A of the ROM 8, and when executing a program for rewriting the program, it is necessary to set the vector address to jump to the RAM 9. After the rewriting of the program is completed, when an SCI interrupt occurs, the program on the ROM 8 needs to be executed, so that the vector address must be rewritten again. Therefore, in S51, R
In order to execute the program on the AM 9, a process of writing the head address of the program on the RAM 9 to the vector address in the block A on the ROM 8 is performed. By ending this processing, the program can be written.
【0025】以下、S52で〈GO〉コマンドを出力
し、GO flagを1にしてプログラム書換中である
ことを記憶する。次に、S53では、プログラム書換の
際、順次送信されてくるデータを書き込むアドレスを表
すMADRをイニシャライズして、一旦処理を終了して
図4のS4のデータ待ち状態になる。この状態でデータ
が送信されて来たとき再びSCI割り込みが発生し、図
7のS54に進む。Thereafter, in step S52, a <GO> command is output, and GO flag is set to 1 to store that the program is being rewritten. Next, in S53, at the time of rewriting the program, the MADR indicating the address where the sequentially transmitted data is to be written is initialized, the processing is temporarily ended, and the data waiting state of S4 in FIG. 4 is entered. When data is transmitted in this state, an SCI interrupt occurs again, and the process proceeds to S54 in FIG.
【0026】S54ではプログラム書き込み中かどうか
をGO flagで確認し、その結果がYES、つまり
書き込み中と判断された場合はS55に進み、ここで現
在書き込もうとしているアドレスがブロックAかどうか
確認する。S55での結果がYES、つまりブロックA
と判断された場合は、入力されたデータを一旦RAM9
上のMPRGと言う領域に格納する(S57)。In S54, it is confirmed by GO flag whether or not the program is being written. If the result is YES, that is, if it is determined that the program is being written, the process proceeds to S55, where it is confirmed whether or not the address to be written is block A. . If the result in S55 is YES, that is, block A
If it is determined that the input data is temporarily stored in the RAM 9
It is stored in the upper area called MPRG (S57).
【0027】MPRGはブロックAと同じだけのメモリ
サイズを有し、送信されてきたデータをアドレス順に順
次格納していく。これは、前述したように、ブロックA
にはSCIのベクタアドレスがあるため、直接ROM8
上に書き込みを行うとベクタアドレスの内容を破壊して
しまうため、それを防止するための処置である。一方、
S55での結果がNO、つまりブロックAに相当してい
ないときは、S56でMADRにあるROM8上のアド
レスに転送されたデータを書き込む。The MPRG has the same memory size as the block A, and sequentially stores transmitted data in the order of addresses. This is, as described above, a block A
Has an SCI vector address, so
This is a measure to prevent the contents of the vector address from being destroyed if the above is written. on the other hand,
If the result in S55 is NO, that is, if it does not correspond to the block A, the transferred data is written to the address on the ROM 8 in the MADR in S56.
【0028】次に、S58で書き込みアドレスを示すM
ADRの内容をインクリメントする。これで、送信され
たデータは所定のアドレスに書き込まれたことになる。
そして、S59で、次のデータが入力されるまで一旦処
理を終了するため、〈データ〉コマンドを出力する。続
いて、S60では、MADRの値が所定値以上、即ち、
プログラム領域に全て書き込んだかどうかを確認する。
S60での結果がNO、つまりMADRが所定値以下で
あれば、まだプログラム変更中ということで次のデータ
が入力されるまで割り込み処理を終了する。しかるに、
S60での結果がYES、つまりMADRが所定値より
小さいと確認された場合はプログラム領域の変更が全て
終了したと判断し、GO flagを0にしてプログラ
ム変更処理が終了したことを記憶する。Next, at S58, M indicating the write address
Increment the contents of ADR. Thus, the transmitted data has been written to the predetermined address.
Then, in S59, a <data> command is output to temporarily end the processing until the next data is input. Subsequently, in S60, the value of MADR is equal to or more than a predetermined value, that is,
Check that all data has been written to the program area.
If the result in S60 is NO, that is, if MADR is equal to or less than the predetermined value, it means that the program is still being changed, and the interrupt processing is terminated until the next data is input. However,
If the result in S60 is YES, that is, if it is confirmed that MADR is smaller than the predetermined value, it is determined that all program area changes have been completed, and GO flag is set to 0 to store that the program change processing has been completed.
【0029】この後、SCI割り込みが発生した場合、
S54でGO flagが0であるため、送信されてき
たデータが「EXIT」コマンドであるかどうかをS6
2で確認する。S62での結果がNO、つまり「EXI
T」コマンドでなければ、そのコマンドが入力されるま
で待つため、一旦処理を終了する。一方、S62での結
果がYES、つまり「EXIT」コマンドを確認したら
S63以降に進み、前記ブロックAの分をRAM9のM
PRGから転送する以下の処理を行う。Thereafter, when an SCI interrupt occurs,
Since GO flag is 0 in S54, whether or not the transmitted data is an “EXIT” command is determined in S6.
Confirm with 2. If the result in S62 is NO, that is, "EXI
If it is not a "T" command, the process is temporarily terminated to wait until the command is input. On the other hand, if the result in S62 is YES, that is, if the "EXIT" command is confirmed, the process proceeds to S63 and thereafter, and the block A is stored in the RAM 9 in the
The following processing to be transferred from the PRG is performed.
【0030】まず、S63でブロックAの内容を消去
し、S64で前記ブロックAにMPRGの内容を書き込
む。次に、この書き込み処理が終了したら、S65で
〈EXIT〉コマンドを出力するとともに、INT、P
ROGの各flagを0にして処理を終了する。以上の
動作でROM8内のプログラムが変更できる。次に、デ
ータ変更処理について詳細に説明する。First, the contents of block A are erased in S63, and the contents of MPRG are written in block A in S64. Next, when this writing process is completed, an <EXIT> command is output in S65, and INT, P
Each flag of the ROG is set to 0, and the process ends. With the above operation, the program in the ROM 8 can be changed. Next, the data change processing will be described in detail.
【0031】図8はエンジンの制御データを変更すると
きの処理を示すフローチャートである。データ変更処理
は、前述したプログラム変更処理とは異なり、変更プロ
グラムをRAM9上で動作させる必要はない。図5の処
理でデータ変更モードと判断されS30に進んだら、図
8のS70の処理を実行する。S70では変更するRO
M8上のブロックを示すデータが入力済みであることを
表すADDR flagが1かどうか確認する。ここで
の結果がNO、つまりADDR flagが0の場合に
は、今回入力されたデータが前記変更対象のブロックを
表すデータであるため、S71でRAM9上のM1にそ
のデータを格納する。次に、S72でそのブロックが書
換可能なブロックであること、即ち、指定されたブロッ
クがデータ領域のブロックであってプログラム領域のブ
ロックではないことを確認する。もし、S72での結果
がNO、つまりデータ領域ではないときはS74に進
み、ここで〈エラー〉コマンドを出力するとともに、I
NIT、DATAの各flagを0にして初期状態に戻
る。FIG. 8 is a flowchart showing a process when changing the control data of the engine. Unlike the above-described program change process, the data change process does not require the change program to operate on the RAM 9. If it is determined in the process of FIG. 5 that the mode is the data change mode and the process proceeds to S30, the process of S70 of FIG. 8 is executed. RO to be changed in S70
It is checked whether the ADDR flag indicating that the data indicating the block on M8 has been input is 1. If the result is NO, that is, if the ADDR flag is 0, since the data input this time is the data representing the block to be changed, the data is stored in M1 on the RAM 9 in S71. Next, it is confirmed in S72 that the block is a rewritable block, that is, that the designated block is a block in the data area and not a block in the program area. If the result in S72 is NO, that is, if it is not the data area, the flow proceeds to S74, in which an <error> command is output and
Each flag of NIT and DATA is set to 0 to return to the initial state.
【0032】S72での結果がYES、つまりデータ領
域であることを確認した場合にはS73に進み、ここで
そのブロックが書き換えられた回数を記憶しているDC
CNTiの値が所定値以上であるかどうかを確認する。
これは、書換可能な不揮発性メモリの場合、その構造
上、書き込み回数に特有の制限があるために行われるも
のである。したがって、この制限を超えて書き込みを行
った場合、素子の破壊につながる可能性がある。本発明
の実施例では、これを防止するため、書き込み回数を各
ブロック毎に記憶しておき、制限回数を超えている場合
は書き込みを禁止するようになっている。If the result in S72 is YES, that is, if it is confirmed that the block is a data area, the flow advances to S73, where the DC number storing the number of times the block has been rewritten is stored.
It is confirmed whether the value of CNTi is equal to or more than a predetermined value.
This is performed in the case of a rewritable nonvolatile memory because of its structure, there is a specific limitation on the number of times of writing. Therefore, when writing is performed beyond this limit, there is a possibility that the element will be destroyed. In the embodiment of the present invention, in order to prevent this, the number of times of writing is stored for each block, and when the number of times exceeds the limit, writing is prohibited.
【0033】S73での結果がYES、つまり所定の書
き込み回数を超えていると判断された場合は、エラーと
してS74に進む。逆に、S73で所定書き込み回数に
達していない場合は、S75で書き込み回数のカウント
値をインクリメントしてS76に進む。S76では〈A
DDR〉コマンドを出力するとともに、ADDR fl
agを1にして次のコマンドを待つ。If the result in S73 is YES, that is, if it is determined that the number of times of writing has exceeded the predetermined number, the process proceeds to S74 as an error. Conversely, if the predetermined number of times of writing has not been reached in S73, the count value of the number of times of writing is incremented in S75, and the process proceeds to S76. In S76, <A
DDR> command and ADDR fl
Set ag to 1 and wait for the next command.
【0034】再びSCI割り込みが発生したとき、S7
0でADDR flag=1となるためS77に進む。
ここではデータ変更中であることを表すGO flag
の状態を確認する。S70での結果がNO、つまりデー
タ変更中でなければS84に進み、ここで今回送信され
てきたデータが「GO」コマンドであることを確認す
る。S84での結果がYES、つまり「GO」コマンド
であれば、S85で前記M1に示されたブロックの内容
を消去し、次に、S86で書き込みの際のアドレスを示
すMADRをイニシャライズする。更に、S87で〈G
O〉コマンドを出力するとともに、GO flagを1
にする。When an SCI interrupt occurs again,
Since ADDR flag = 1 at 0, the process proceeds to S77.
Here, GO flag indicating that data is being changed
Check the status of. If the result in S70 is NO, that is, if the data is not being changed, the process proceeds to S84, where it is confirmed that the data transmitted this time is a "GO" command. If the result in S84 is YES, that is, if the command is a "GO" command, the contents of the block indicated by M1 are erased in S85, and then the MADR indicating the address at the time of writing is initialized in S86. Further, in S87, <G
O> command and output GO flag to 1
To
【0035】S77でGO flagが1、つまりデー
タ変更中と判定されたら、以降送信されてくるデータは
変更用のデータなので順次指定されたアドレスに書き込
んでいく。S78ではMADRに示されたアドレスに送
信されてきたデータを書き込み、S79ではそのアドレ
ス(MADR)をインクリメントする。そして、S80
ではデータの書き込みが完了したことをメモリ書き込み
機11に知らせるため、〈データ〉コマンドを出力す
る。If it is determined in S77 that the GO flag is 1, that is, the data is being changed, the data to be transmitted thereafter is data for change, and is sequentially written to the designated address. In S78, the transmitted data is written to the address indicated by MADR, and in S79, the address (MADR) is incremented. And S80
Then, a <data> command is output to notify the memory writer 11 that the data writing has been completed.
【0036】次に、S82ではMADRの値が所定値に
達したか否か、即ち、指定されたブロックのデータが全
て書き換えられたか否かを判断する。S82での結果が
YES、つまり全て書き換えられたときはS83に進
み、ここでGO flagを0にしてデータ変更処理終
了を示して割り込み処理を終了する。次に、データが送
信された場合は、S84でGO flagが0であるた
め、S84に進む。ここで、「GO」コマンドは既に入
力されているため、S88に進む。ここでは送信されて
きたデータが「EXIT」コマンドかどうかを確認す
る。S88での結果がYES、つまり「EXIT]コマ
ンドであれば〈EXIT〉コマンドを出力(S89)
し、NOの場合は〈エラー〉コマンドを出力(S90)
して、それぞれS91に進む。S91では一連の処理を
終了したため、初期状態に戻るのにINIT、DAT
A、及びADDRの各flagをクリアしてデータ変更
の処理を終了する。Next, in S82, it is determined whether or not the value of MADR has reached a predetermined value, that is, whether or not all the data of the designated block has been rewritten. If the result in S82 is YES, that is, if all data has been rewritten, the flow proceeds to S83, where GO flag is set to 0 to indicate the end of the data change processing, and the interrupt processing is ended. Next, when the data is transmitted, the process proceeds to S84 because the GO flag is 0 in S84. Here, since the “GO” command has already been input, the process proceeds to S88. Here, it is checked whether the transmitted data is an “EXIT” command. If the result in S88 is YES, that is, if the command is an "EXIT" command, an <EXIT> command is output (S89).
If NO, an <error> command is output (S90)
Then, the process proceeds to S91. In S91, since a series of processing has been completed, INIT, DAT
The flags of A and ADDR are cleared, and the data change process ends.
【0037】以上のようにして、外部機器からの通信に
よってROM上のプログラムまたはデータを変更させる
ことが可能となる。以上、本発明の実施例を詳述した
が、本発明は、前記実施例に限定されるものではなく、
特許請求の範囲に記載された本発明を逸脱することなく
種々の設計変更を行うことが可能である。たとえば、本
発明により開示された制御装置は、エンジン制御のみに
限定されず、変速装置、ブレーキ、サスペンション等の
CPUにより制御を行う装置にも汎用性があることは言
うまでもない。As described above, the program or data on the ROM can be changed by communication from the external device. As mentioned above, although the Example of this invention was described in detail, this invention is not limited to the said Example,
Various design changes can be made without departing from the invention as set forth in the claims. For example, the control device disclosed by the present invention is not limited to only engine control, and it goes without saying that a device that performs control using a CPU such as a transmission, a brake, and a suspension has versatility.
【0038】また、前述した実施例においては、エンジ
ン停止中に不揮発性メモリに格納されたエンジンの制御
データの消去及び書き込みを行っているが、エンジン動
作中でもこれを行うことができる。なお、、エンジン動
作中に制御データの消去及び書き込みを行う場合には、
当該アドレスのデータを一旦揮発性メモリに格納してお
き、エンジンを制御するプログラムで当該データを読み
込むときに、まず揮発性メモリから読み込み、不揮発性
メモリのデータ消去及び書き込みが終了した時点からデ
ータの読み込みを不揮発性メモリに切り換え行えばよ
い。In the above-described embodiment, the control data of the engine stored in the nonvolatile memory is erased and written while the engine is stopped. However, this can be performed even while the engine is operating. When erasing and writing control data during engine operation,
The data at the address is temporarily stored in the volatile memory, and when the data is read by the program that controls the engine, the data is first read from the volatile memory, and the data is erased and written from the nonvolatile memory when the data is erased and written. The reading may be switched to the nonvolatile memory.
【0039】[0039]
【発明の効果】市場でのトラブル発生時にエンジン制御
装置本体を交換することなしに、ROM内容を簡単に書
換えることができる。According to the present invention, it is possible to easily rewrite the contents of the ROM without replacing the engine control unit when a trouble occurs in the market.
【図1】 本発明の構成を示すブロック図。FIG. 1 is a block diagram showing a configuration of the present invention.
【図2】 CPU内蔵のROMの構成を示すメモリマッ
プ。FIG. 2 is a memory map showing a configuration of a ROM built in a CPU.
【図3】 ROM内のブロック毎に消去するレジスタの
構成を示す構成図。FIG. 3 is a configuration diagram illustrating a configuration of a register that is erased for each block in a ROM.
【図4】 メモリ書換機との通信を行ったときのCPU
内の状態を示す状態遷移図。FIG. 4 shows a CPU when communicating with a memory rewriter;
State transition diagram showing states in the table.
【図5】 プログラム変更モードまたはデータ変更モー
ドに移るときの動作を示すフローチャート。FIG. 5 is a flowchart showing an operation when shifting to a program change mode or a data change mode.
【図6】 プログラム変更モード時、プログラムをRA
M上に転送する動作を示すフローチャート。FIG. 6 shows that the program is RA
9 is a flowchart showing an operation of transferring data to M.
【図7】 RAM上で動作するプログラム変更のプログ
ラムの内容を示すフローチャート。FIG. 7 is a flowchart showing the contents of a program for changing a program operating on the RAM.
【図8】 データ変更時のプログラムの内容を示すフロ
ーチャート。FIG. 8 is a flowchart showing the contents of a program when data is changed.
1・・・エンジン制御装置,2・・・エンジン,3・・
・CPU,4・・・入力処理回路,5・・・出力回路,
6・・・I/O,7・・・MPU,8・・・フラッシュ
ROM,9・・・RAM,10・・・通信回路,11・
・・メモリ書換機,3a・・・ROM領域,3b・・・
外部メモリ空間,3c・・・RAM領域,3d・・・内
部レジスタ領域1 ... engine control device, 2 ... engine, 3 ...
· CPU, 4 ··· input processing circuit, 5 ··· output circuit,
6 I / O, 7 MPU, 8 Flash ROM, 9 RAM, 10 Communication circuit, 11
..Memory writer, 3a ... ROM area, 3b ...
External memory space, 3c RAM area, 3d Internal register area
Claims (6)
に前記データの消去を行える不揮発性メモリと、データ
の書き込み及び読み出し可能な揮発性メモリとを内蔵す
るとともに、前記不揮発性メモリに書き込まれたプログ
ラムに従って動作する演算手段を備えたエンジン制御装
置において、 前記演算手段は、前記エンジン制御装置以外の外部装置
と電気的に接続されるとともに、前記外部装置からの情
報に従って前記不揮発性メモリの内容をブロック毎に消
去後にデータの書き込みを可能ならしめる手段を備え、前記揮発性メモリは、前記演算手段の動作を制御せしめ
るプログラムの消去及び書き込みの実行を行うプログラ
ムが記憶されるものであり、 前記揮発性メモリに記憶される消去及び書き込みのプロ
グラムを、前記不揮発性メモリに予め格納するととも
に、前記外部装置からの情報の入力により該不揮発性メ
モリの消去及び書き込みの動作を実行する前に前記揮発
性メモリに転送する手段を備えることを特徴とするエン
ジン制御装置。 1. A Data can be written data, and the non-volatile memory that can erase the data in且grain per lock, as well as incorporates a writable and readable volatile memory of the data, the non An engine control device including an operation unit that operates according to a program written in the memory, wherein the operation unit is electrically connected to an external device other than the engine control device, and the operation unit according to information from the external device. Means for enabling data to be written after erasing the contents of the non-volatile memory block by block, wherein the volatile memory controls the operation of the arithmetic means
Program that executes erasing and writing of programs
A program for erasing and writing stored in the volatile memory.
Program is stored in the nonvolatile memory in advance.
Then, the non-volatile memory is input by inputting information from the external device.
Before performing the memory erase and write operations,
Characterized by comprising means for transferring data to a volatile memory.
Gin control device.
作を制御せしめるプログラムと制御データとが記憶され
るものであることを特徴とする請求項1記載のエンジン
制御装置。2. The non-volatile memory stores a program for controlling the operation of the arithmetic means and control data.
The engine control apparatus according to claim 1, characterized in that the shall.
に前記データの消去を行える不揮発性メモリと、データ
の書き込み及び読み出し可能な揮発性メモリとを内蔵す
るとともに、前記不揮発性メモリに書き込まれたプログ
ラムに従って動作する演算手段を備えたエンジン制御装
置において、 前記演算手段は、前記エンジン制御装置以外の外部装置
と電気的に接続されるとともに、前記外部装置からの情
報に従って前記不揮発性メモリの内容をブロック毎に消
去後にデータの書き込みを可能ならしめる手段を備え、前記不揮発性メモリは、前記演算手段の動作を制御せし
めるプログラムの消去及び書き込みの実行を行うプログ
ラムと制御データとが記憶されるものであり、 前記不揮発性メモリの内容をブロック毎に消去後にデー
タの書き込みを可能ならしめる手段は、前記消去及び書
き込みの実行を行うプログラムの消去及び書き込みを禁
止するものであることを特徴とするエンジン制御装置。 3. Data can be written data, and the non-volatile memory that can erase the data in且grain per lock, as well as incorporates a writable and readable volatile memory of the data, the non An engine control device including an operation unit that operates according to a program written in the memory, wherein the operation unit is electrically connected to an external device other than the engine control device, and the operation unit according to information from the external device. Means for enabling data writing after erasing the contents of the nonvolatile memory block by block, wherein the nonvolatile memory controls the operation of the arithmetic means;
Program that executes erasing and writing programs
And data stored in the nonvolatile memory after erasing the contents of the nonvolatile memory block by block.
Means for enabling data writing include the erasing and writing.
Erasing and writing of the program that executes writing
An engine control device characterized by stopping.
に前記データの消去を行える不揮発性メモリと、データ
の書き込み及び読み出し可能な揮発性メモリとを内蔵す
るとともに、前記不揮発性メモリに書き込まれたプログ
ラムに従って動作する演算手段を備えたエンジン制御装
置において、 前記演算手段は、前記エンジン制御装置以外の外部装置
と電気的に接続されるとともに、前記外部装置からの情
報に従って前記不揮発性メモリの内容をブロック毎に消
去後にデータの書き込みを可能ならしめる手段を備え、前記演算手段は、前記不揮発性メモリに記憶されている
制御データの消去及び書き込みを行う際に、該制御デー
タを前記揮発性メモリに転送し、該揮発性メモリから読
み出して演算を行い、消去及び書き込みの終了後に再び
前記不揮発性メモリから読み出して演算を行うものであ
ることを特徴とするエンジン制御装置。 4. Data can be written data, and the non-volatile memory that can erase the data in且grain per lock, as well as incorporates a writable and readable volatile memory of the data, the non An engine control device including an operation unit that operates according to a program written in the memory, wherein the operation unit is electrically connected to an external device other than the engine control device, and the operation unit according to information from the external device. Means for enabling data to be written after erasing the contents of the non-volatile memory block by block, wherein the arithmetic means is stored in the non-volatile memory
When erasing and writing control data,
Data to the volatile memory and read from the volatile memory.
And perform the operation, and again after erasing and writing are completed.
The operation is performed by reading from the nonvolatile memory.
An engine control device characterized in that:
回数を記憶するとともに、前記消去及び書き込みの回数
が所定回数に達した場合は、消去及び書き込みを禁止す
る手段を備えたことを特徴とする請求項3又は4記載の
エンジン制御装置。5. The memory according to claim 1, further comprising means for storing the number of times of erasing and writing of said nonvolatile memory and prohibiting erasing and writing when said number of times of erasing and writing reaches a predetermined number. The engine control device according to claim 3 .
回数を記憶し且つ禁止する手段は、前記消去可能なブロ
ック毎に有していることを特徴とする請求項5記載のエ
ンジン制御装置。6. The engine control device according to claim 5 , wherein said means for storing and inhibiting the number of times of erasing and writing of said nonvolatile memory is provided for each of said erasable blocks.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6082993A JP2888720B2 (en) | 1993-03-22 | 1993-03-22 | Engine control device |
JP33277398A JP3477090B2 (en) | 1993-03-22 | 1998-11-24 | Engine control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6082993A JP2888720B2 (en) | 1993-03-22 | 1993-03-22 | Engine control device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP33277398A Division JP3477090B2 (en) | 1993-03-22 | 1998-11-24 | Engine control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06272611A JPH06272611A (en) | 1994-09-27 |
JP2888720B2 true JP2888720B2 (en) | 1999-05-10 |
Family
ID=13153643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6082993A Expired - Lifetime JP2888720B2 (en) | 1993-03-22 | 1993-03-22 | Engine control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2888720B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3109413B2 (en) * | 1995-07-31 | 2000-11-13 | 株式会社デンソー | Machine control device |
JP3491419B2 (en) * | 1995-12-04 | 2004-01-26 | 株式会社デンソー | Electronic control unit |
JP4061694B2 (en) | 1998-02-19 | 2008-03-19 | 株式会社デンソー | Electronic control device and control system |
JP2000257502A (en) * | 1999-03-05 | 2000-09-19 | Denso Corp | Electronic controller for automobile |
KR100667481B1 (en) * | 2000-03-02 | 2007-01-10 | 주식회사 현대오토넷 | Software versioning device of the vehicle engine control unit |
JP4668656B2 (en) | 2005-03-24 | 2011-04-13 | 日立オートモティブシステムズ株式会社 | Program rewriting system and program rewriting method |
JP4434217B2 (en) | 2007-02-14 | 2010-03-17 | 株式会社デンソー | Charge control device |
-
1993
- 1993-03-22 JP JP6082993A patent/JP2888720B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH06272611A (en) | 1994-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6275911B1 (en) | Memory writing device for an electronic device | |
KR100301409B1 (en) | Semiconductor memory device having data protection feature | |
KR100265266B1 (en) | Microcomputer comprsing flash eeprom and method of erasing flash eeprom | |
JP2888720B2 (en) | Engine control device | |
US7096351B2 (en) | Single-chip microcomputer and boot region switching method thereof | |
JPH09128229A (en) | Electronic controller | |
JP3477090B2 (en) | Engine control device | |
KR100310486B1 (en) | Microcumputer | |
US6490663B1 (en) | Electronic control apparatus having rewritable nonvolatile memory | |
KR19990013291A (en) | Vehicle Control | |
KR100341424B1 (en) | Microcomputer | |
JPS62164299A (en) | Microcomputer device | |
JPH11250675A (en) | Memory and method for controlling memory | |
JP2003271420A (en) | Electronic control device | |
JP3205146B2 (en) | Engine control device | |
JP3663043B2 (en) | Method for determining the end of writing in a microcomputer | |
US20030142570A1 (en) | Memory controller and serial memory | |
JPH022435A (en) | Semiconductor non-volatile memory device | |
JPH04276838A (en) | Cpu with built-in memory | |
JP3459553B2 (en) | Microcomputer evaluation device | |
JP4848126B2 (en) | Microcomputer, data protection method for nonvolatile memory in microcomputer | |
JP3281858B2 (en) | Microcomputer evaluation device | |
JP2000276347A (en) | Portable electronic apparatus | |
JP2000010867A (en) | Camera equipped with rewritable nonvolatile memory | |
JP3133710B2 (en) | Microcomputer evaluation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 9 Free format text: PAYMENT UNTIL: 20080219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 10 Free format text: PAYMENT UNTIL: 20090219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090219 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 11 Free format text: PAYMENT UNTIL: 20100219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100219 Year of fee payment: 11 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 11 Free format text: PAYMENT UNTIL: 20100219 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100219 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 12 Free format text: PAYMENT UNTIL: 20110219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 13 Free format text: PAYMENT UNTIL: 20120219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120219 Year of fee payment: 13 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130219 Year of fee payment: 14 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 14 Free format text: PAYMENT UNTIL: 20130219 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140219 Year of fee payment: 15 |