JPH1027100A - Program data rewriting device - Google Patents

Program data rewriting device

Info

Publication number
JPH1027100A
JPH1027100A JP18240696A JP18240696A JPH1027100A JP H1027100 A JPH1027100 A JP H1027100A JP 18240696 A JP18240696 A JP 18240696A JP 18240696 A JP18240696 A JP 18240696A JP H1027100 A JPH1027100 A JP H1027100A
Authority
JP
Japan
Prior art keywords
information
program data
control
data
control program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18240696A
Other languages
Japanese (ja)
Inventor
Kazuji Shirasawa
和司 白澤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP18240696A priority Critical patent/JPH1027100A/en
Publication of JPH1027100A publication Critical patent/JPH1027100A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To eliminate the need to erase old information at a time and rewrite information in a short time by performing write/read control over control information in a storage area of a nonvolatile storage part and processing read control information. SOLUTION: Program data of specifications corresponding to respective engine kinds of vehicles are previously stored in a flash EEPROM 10 as the nonvolatile storage part and 16 program data for rewriting control which are all logic 1 are stored in other storage areas. Then a rewrite signal generator 2 writes the program data for rewriting control of 16-data constitution having, for example, 1st data set to logic 0 and other data to 1 according to control program specifications in the flash EEPROM 10 through a microprocessor 8 as an information processing part to overwrite them to program data for control to be rewritten. The microprocessor 8 judges program data of corresponding specifications from the data for control to be rewritten, and reads and processes the program data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、車両制御装置
(ECU)や車両の出荷時に車両制御装置のプログラム
メモリに格納する制御プログラムデータの仕様、即ちプ
ログラムデータ内容を、車種或いはエンジン機種に応じ
て書き換えるプログラムデータ書換装置に関するもので
ある。
The present invention relates to the specification of control program data stored in a program memory of a vehicle control unit (ECU) or a vehicle control unit at the time of shipment of a vehicle, that is, the contents of the program data are changed according to the vehicle type or the engine model. The present invention relates to a program data rewriting device for rewriting.

【0002】[0002]

【従来の技術】図1は従来及び本発明の車両制御装置に
おけるプログラムデータ書換装置を示す構成図である。
図において、1は車両制御装置であり、この車両制御装
置1は予め記憶された車両の制御プログラムデータに従
ってマイクロプロセッサ応用で車両動作を制御する。2
は車両制御装置1に記憶された制御プログラムデータを
書き換えるために必要な信号を発する制御プログラムデ
ータ書換信号発生器(以下、書換信号発生器と記載す
る。)である。
2. Description of the Related Art FIG. 1 is a block diagram showing a program data rewriting device in a vehicle control device according to the prior art and the present invention.
In the figure, reference numeral 1 denotes a vehicle control device, which controls a vehicle operation by using a microprocessor in accordance with vehicle control program data stored in advance. 2
Denotes a control program data rewrite signal generator (hereinafter, referred to as a rewrite signal generator) that issues a signal necessary for rewriting the control program data stored in the vehicle control device 1.

【0003】車両制御装置1は、入力I/F6より入力
した車両制御に必要な情報及び内部メモリに記憶された
制御プログラムデータに従って制御演算を行い制御信号
を、出力I/F7を通して制御対象に出力するマイクロ
プロセッサ、9は入力I/F6を通じて入力した車両制
御に必要な情報を記憶するRAM、10は車両制御装置
1を搭載する車種に対応させるように制御プログラムデ
ータを更新自在に書き込むフラッシュEEPROMであ
る。フラッシュEEPROM10はデータを電気的に書
き込み可能で、かつ電源を切っても記憶内容を保持で
き、データ消去は所定範囲を電気的に一括して行う記憶
素子である。
The vehicle control device 1 performs a control operation in accordance with information necessary for vehicle control input from an input I / F 6 and control program data stored in an internal memory, and outputs a control signal to a control target through an output I / F 7. , A RAM 9 for storing information necessary for vehicle control input through the input I / F 6, and 10 a flash EEPROM for writing control program data in an updatable manner to correspond to the type of vehicle on which the vehicle control device 1 is mounted. is there. The flash EEPROM 10 is a storage element capable of electrically writing data, retaining its stored contents even when the power is turned off, and erasing data in a predetermined range electrically and collectively.

【0004】11はフラッシュEEPROM10内の制
御プログラムデータの書き換えをマイクロプロセッサ8
が行うために必要な書き換え制御用プログラムデータを
内蔵したROMである。書換信号発生器2と車両制御装
置1間に設けた信号ラインにおいて、3は制御プログラ
ムデータ転送用の通信ライン、4はフラッシュEEPR
OM10に書き換え用電圧を供給するための電圧供給ラ
イン、5はフラッシュEEPROM10に書き換えタイ
ミング用信号を供給するための信号ラインである。
[0004] Reference numeral 11 denotes a microprocessor 8 for rewriting control program data in the flash EEPROM 10.
Is a ROM in which rewrite control program data necessary for performing the program are stored. In a signal line provided between the rewrite signal generator 2 and the vehicle control device 1, 3 is a communication line for transferring control program data, and 4 is a flash EEPROM.
A voltage supply line 5 for supplying a rewrite voltage to the OM 10 is a signal line for supplying a rewrite timing signal to the flash EEPROM 10.

【0005】尚、マイクロプロセッサ8は、車両の制御
を行うのに必要な情報を入力I/F6を通じてRAM9
に取り込と共にフラッシュEEPROM10に書き込ま
れた制御プログラムデータを読み出し、その制御プログ
ラムデータに従ってRAM9の情報から制御量を算出
し、その制御量に応じた制御信号を出力I/F7を通じ
制御対象に出力して車両の運転制御を行う。
The microprocessor 8 inputs information necessary for controlling the vehicle to a RAM 9 through an input I / F 6.
At the same time, the control program data written in the flash EEPROM 10 is read out, a control amount is calculated from information in the RAM 9 according to the control program data, and a control signal corresponding to the control amount is output to the control target through the output I / F 7. To control the operation of the vehicle.

【0006】次に、図1に示した従来の車両制御装置の
制御プログラムデータの書き換え動作を図5及び図6を
参照しながら説明する。図5は制御プログラムデータ書
き換え時にマイクロプロセッサ8に転送される制御プロ
グラムデータのデータ構成図である。図6は制御プログ
ラムデータ書き換え時の動作を説明するフローチャート
である。このフローチャートの手順に従ってフラッシュ
EEPROM10に記憶された制御プログラムデータの
書き換え処理を説明する。
Next, the rewriting operation of control program data of the conventional vehicle control device shown in FIG. 1 will be described with reference to FIGS. FIG. 5 is a data configuration diagram of control program data transferred to the microprocessor 8 when the control program data is rewritten. FIG. 6 is a flowchart for explaining the operation at the time of rewriting the control program data. A process of rewriting the control program data stored in the flash EEPROM 10 according to the procedure of this flowchart will be described.

【0007】先ず、ステップS101で書き換え手順を
スタートさせる。ステップS102では書換信号発生器
2がフラッシュEEPROM10に記憶された制御プロ
グラムデータを書き換えるために、マイクロプロセッサ
8へ電圧供給ライン4を通じて書き換え用電圧を印加す
る。フラッシュEEPROM10の内容を書き換えるた
めには定電圧の印加を必要とする。
First, a rewriting procedure is started in step S101. In step S102, the rewrite signal generator 2 applies a rewrite voltage to the microprocessor 8 via the voltage supply line 4 to rewrite the control program data stored in the flash EEPROM 10. In order to rewrite the contents of the flash EEPROM 10, a constant voltage needs to be applied.

【0008】次にステップS103で、書換信号発生器
2は書き換え制御用プログラムを内蔵したROM11を
アクセスするための書換用タイミング信号を、信号供給
ライン5を通じてマイクロプロセッサ8に送信する。書
換用タイミング信号を検出すると、マイクロプロセッサ
8は通常の制御を停止し、書き換え制御用プログラムを
内蔵したROM11の内容を読み出し、書き換え制御手
順に従ってフラッシュEEPROM10の制御プログラ
ムデータの書き換えを開始する。
Next, in step S103, the rewrite signal generator 2 transmits a rewrite timing signal for accessing the ROM 11 containing the rewrite control program to the microprocessor 8 through the signal supply line 5. Upon detecting the rewrite timing signal, the microprocessor 8 stops the normal control, reads the contents of the ROM 11 containing the rewrite control program, and starts rewriting the control program data of the flash EEPROM 10 according to the rewrite control procedure.

【0009】書き換え制御用プログラムを起動させた後
はステップS104に進み、一連の初期化手続きを書換
信号発生器2とマイクロプロセッサ8との間で行う。こ
の一連の初期化手続きはマイクロプロセッサ8毎に固有
にすることで、不正書込に対する防止効果を目的として
いる。
After activating the rewrite control program, the process proceeds to step S104, in which a series of initialization procedures are performed between the rewrite signal generator 2 and the microprocessor 8. This series of initialization procedures is made unique for each microprocessor 8 so as to prevent illegal writing.

【0010】書換信号発生器2はステップS105で初
期化を正常に終了した事を検出するとプログラム書き換
えの準備が整ったと判断して、ステップS106へ進
み、制御プログラムデータの更新を行うためフラッシュ
EEPROM10に記憶されていたデータの一括消去を
行うようマイクロプロセッサ8に命令を送る。初期化が
正常に行われなかった場合はステップS114へ進み、
処理を終了して次の演算周期で再度初期化処理を開始す
る。
When the rewrite signal generator 2 detects that the initialization has been normally completed in step S105, it determines that the program is ready for rewriting, and proceeds to step S106, where the rewrite signal generator 2 writes the program to the flash EEPROM 10 to update the control program data. An instruction is sent to the microprocessor 8 to perform a batch erasure of the stored data. If the initialization has not been performed normally, the process proceeds to step S114,
The processing is terminated and the initialization processing is started again in the next operation cycle.

【0011】書換信号発生器2はステップS107でマ
イクロプロセッサ8から一括消去が終了したかどうかの
信号を待つ。一括消去処理が終了したことを確認できた
なら、ステップS108へ進み、書換信号発生器2内に
保持している書き換え用の制御プログラムデータを所定
の形式に従い、通信ライン3を通じてマイクロプロセッ
サ8に転送する。転送するデータの形式は図5に示す。
このデータ形式によれば1回の転送処理で16個の制御
プログラムデータを送ることができる。
In step S107, the rewrite signal generator 2 waits for a signal from the microprocessor 8 as to whether or not the batch erasure has been completed. If it is confirmed that the batch erasure process has been completed, the flow advances to step S108 to transfer the rewrite control program data held in the rewrite signal generator 2 to the microprocessor 8 through the communication line 3 according to a predetermined format. I do. The format of the data to be transferred is shown in FIG.
According to this data format, 16 control program data can be sent in one transfer process.

【0012】従って、書換信号発生器2は制御プログラ
ムデータを全て送るためには全部で8192回のデータ
転送を行う。マイクロプロセッサ8はステップS109
で制御プログラムデータを受け取り、転送データに合わ
せ、その制御プログラムデータが記述されている位置情
報に従ってフラッシュEEPROM10の所定の位置に
書き込む。
Therefore, the rewrite signal generator 2 performs a total of 8,192 data transfers to send all the control program data. The microprocessor 8 determines in step S109
The control program data is received in accordance with the transfer data, and written in a predetermined position of the flash EEPROM 10 according to the position information in which the control program data is described.

【0013】1回の書込が終了すると、マイクロプロセ
ッサ8はステップS110で書換信号発生器2に書き込
み終了の信号を通信ライン3を使って送る。書換信号発
生器2は書き込み終了の信号を受信するとステップS1
11に進み、全てのデータ転送が終わったか否かの確認
を行う。終わっていなければステップS108へ戻り次
のデータ転送を行う。
When one write operation is completed, the microprocessor 8 sends a write end signal to the rewrite signal generator 2 using the communication line 3 in step S110. When the rewrite signal generator 2 receives the write end signal, the process proceeds to step S1.
Then, the process proceeds to step 11 to check whether or not all data transfer is completed. If not, the process returns to step S108 to perform the next data transfer.

【0014】8192回のデータ転送がなされたなら
ば、書換信号発生器2は全ての制御プログラムデータの
転送が終了したと判断し、ステップS112へ進んで書
き換えたフラッシュEEPROM10の制御プログラム
データのチェックを行うようにマイクロプロセッサ8に
信号を送る。
If the data transfer has been performed 8192 times, the rewrite signal generator 2 determines that the transfer of all the control program data has been completed, and proceeds to step S112 to check the control program data of the rewritten flash EEPROM 10. A signal is sent to the microprocessor 8 to do so.

【0015】チェックを行う方法は多種あるが、一般に
はマイクロプロセッサ8が全データの加算を行った結果
を書換信号発生器2に送る。ステップS113で書換信
号発生器2は加算結果を予め計算していた値と比較し、
加算結果が計算値と一致していれば正しく制御プログラ
ムデータが書き込めたと判断してステップS114に進
んで処理を終了する。正しくなければステップS105
に戻りフラッシュEEROM10の書き換えを再度行
う。
There are various methods for performing the check. Generally, the microprocessor 8 sends the result of addition of all data to the rewrite signal generator 2. In step S113, the rewrite signal generator 2 compares the addition result with a value calculated in advance,
If the addition result matches the calculated value, it is determined that the control program data has been correctly written, and the process proceeds to step S114 to end the process. If not correct, step S105
And the flash EEPROM 10 is rewritten again.

【0016】[0016]

【発明が解決しようとする課題】従来の車両制御装置及
びプログラムデータの書換信号発生器は以上のように構
成されているので、以下のような問題点がある。1つの
制御プログラムデータの書き換えを行うためには819
2回のデータ転送を行う必要があるため、データ転送に
費やされる時間が約115秒要される。そして、このデ
ータ転送時間以外に、フラッシュEEROMの初期化手
続きやデータ一括消去の時間を考えると、1つのECU
の制御プログラムデータを書き換えるには生産性効率上
無視できない時間がかかるという問題点があった。
Since the conventional vehicle control device and the program data rewrite signal generator are configured as described above, there are the following problems. To rewrite one control program data, 819
Since it is necessary to perform two data transfers, about 115 seconds are required for the data transfer. Considering the initialization procedure of the flash EEPROM and the time of batch erasing of data in addition to the data transfer time, one ECU
There is a problem that it takes a considerable time to rewrite the control program data in terms of productivity efficiency.

【0017】また、書換信号発生器は各プログラム仕様
毎の制御プログラムデータを保持するため、制御プログ
ラムデータ保持用にプログラムデータの量を考慮したメ
モリ容量の記憶媒体を確保する必要がある。更に、書換
信号発生器は、通常車両を出荷する時点において複数の
車両制御プログラムデータを保持しておき、エンジン仕
様に応じて制御プログラムデータを選択して書き換える
ため、大容量の記憶媒体を必要とするという問題点があ
った。
Further, since the rewrite signal generator holds control program data for each program specification, it is necessary to secure a storage medium having a memory capacity in consideration of the amount of program data for holding the control program data. Further, the rewrite signal generator normally holds a plurality of vehicle control program data at the time of shipping the vehicle, and requires a large-capacity storage medium to select and rewrite the control program data according to the engine specification. There was a problem of doing.

【0018】更に、書換信号発生器には各車両に対応す
る制御プログラムデータが全て保持されているため、書
換信号発生器が出荷時のプログラムデータ書き換え場所
以外に持ち出された場合には、制御プログラムデータが
不正に読み出されて利用される可能性があり、管理に対
する気配という余分な負担が生じるという問題点があっ
た。
Further, since the rewriting signal generator holds all control program data corresponding to each vehicle, if the rewriting signal generator is taken out of a place where the program data is rewritten at the time of shipment, the control program data is stored. There is a problem that data may be read out illegally and used, and an extra burden of management is required.

【0019】この発明は上記のような問題点を解消する
ためになされたもので、フラッシュEEPROMのデー
タ書き換え時間を短縮するためにデータ書き換え時にメ
モリデータを一括消去せず、メモリデータの一部を書き
換え用データで上書きすることで制御プログラムデータ
仕様を対応する制御対象となる車種に応じて変更するこ
とができるプログラムデータ書換装置を得るものであ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem. To shorten the data rewriting time of a flash EEPROM, a part of the memory data is not erased at the time of data rewriting. An object of the present invention is to provide a program data rewriting device capable of changing a control program data specification according to a corresponding vehicle to be controlled by overwriting with rewriting data.

【0020】[0020]

【課題を解決するための手段】請求項1に係るプログラ
ムデータ書換装置は、車両の制御情報を記憶保持し、こ
の制御情報を通信ラインを通して外部に出力する制御情
報出力手段と、この制御情報出力手段より出力された制
御情報を読み取り、予め設定された記憶領域の初期情報
に直接上書きする電気的に書き込み/一括消去可能な不
揮発性記憶部、及びこの不揮発性記憶部の前記記憶領域
に前記制御情報の書き込み/読み出し制御を行い、読み
出した制御情報を処理する情報処理部を備えた車両制御
手段とを備えたものである。
According to a first aspect of the present invention, there is provided a program data rewriting device for storing and holding control information of a vehicle and outputting the control information to the outside through a communication line. An electrically writable / collectively erasable non-volatile storage unit for reading control information output from the means and directly overwriting initial information in a preset storage area, and controlling the storage area in the non-volatile storage unit And a vehicle control means including an information processing unit for performing information write / read control and processing the read control information.

【0021】請求項2の発明に係るプログラムデータ書
換装置は、不揮発性記憶部は所定記憶領域に各車両の仕
様に応じた複数の制御プログラムデータと、これら制御
プログラムデータから当該車両の仕様に応じた制御プロ
グラムデータを選択する選択情報を初期情報に上書きさ
せる記憶領域を設定し、制御情報出力手段は当該車両の
仕様に対応した選択情報を前記車両制御手段の情報処理
部に出力して前記記憶領域の初期情報を選択情報で上書
して置き換えさせると、前記情報処理部はこの置き換え
た選択情報より該当する制御プログラムデータを読み取
り処理するものである。
According to a second aspect of the present invention, in the program data rewriting device, the nonvolatile storage unit stores a plurality of control program data corresponding to the specifications of each vehicle in a predetermined storage area, and the control program data according to the specifications of the vehicle. A storage area for overwriting initial information with selection information for selecting the selected control program data, and the control information output means outputs selection information corresponding to the specification of the vehicle to an information processing unit of the vehicle control means and stores the selected information. When the initial information of the area is overwritten with the selection information and replaced, the information processing section reads and processes the corresponding control program data from the replaced selection information.

【0022】請求項3の発明に係るプログラムデータ書
換装置は、不揮発性記憶部は、選択情報を上書きさせる
初期情報書き込み領域における各データ位置の情報を1
とし、所定のデータ位置の情報を入力された前記選択情
報の内容に応じて0に上書きして置き換えるものであ
る。
According to a third aspect of the present invention, in the program data rewriting device, the nonvolatile storage unit stores information of each data position in the initial information write area in which the selection information is overwritten.
The information of the predetermined data position is overwritten by 0 according to the content of the input selection information and replaced.

【0023】請求項4の発明に係るプログラムデータ書
換装置は、不揮発性記憶部は、選択情報を上書きさせる
初期情報書き込み領域の各データ位置の情報を1とし、
この各データ位置の情報を入力された前記選択情報の内
容に応じて1と0の組み合わせで上書きして置き換える
ものである。
According to a fourth aspect of the present invention, in the program data rewriting device, the nonvolatile storage unit sets information of each data position of an initial information writing area for overwriting selection information to 1,
The information of each data position is overwritten and replaced with a combination of 1 and 0 according to the content of the input selection information.

【0024】請求項5の発明に係るプログラムデータ書
換装置は、不揮発性記憶部は、制御プログラムデータを
上書きさせる初期情報書き込み領域における各データ位
置の情報を1とし、この各データ位置の情報を制御情報
出力手段より出力された制御プログラムデータで上書き
して置き換えるものである。
According to a fifth aspect of the present invention, in the program data rewriting device, the nonvolatile storage unit sets information of each data position in the initial information writing area in which the control program data is overwritten to 1, and controls the information of each data position. The control program data output from the information output means is overwritten and replaced.

【0025】[0025]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の一実施の形態を図につ
いて説明する。本実施の形態における車両制御装置のプ
ログラムデータ書換装置の構成は、従来技術における車
両制御装置のプログラムデータ書換装置と同一の構成図
であるのでその詳細な説明は省く。
Embodiment 1 FIG. Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The configuration of the program data rewriting device of the vehicle control device according to the present embodiment is the same as the configuration data of the program data rewriting device of the vehicle control device according to the prior art, and therefore detailed description thereof is omitted.

【0026】図1に示した車両制御装置のプログラムの
書き換え動作を図2、図3及び図4を参照しながら説明
する。図2は制御プログラムデータ書き換え時の転送デ
ータの構成図、図3は制御プログラムデータ書き換え処
理を説明するフローチャート、図4は書換用制御プログ
ラムデータに基づき、仕様を更新した制御プログラムデ
ータを選択する処理を説明するフローチャートである。
The rewriting operation of the program of the vehicle control device shown in FIG. 1 will be described with reference to FIGS. 2, 3 and 4. FIG. 2 is a configuration diagram of transfer data at the time of rewriting control program data, FIG. 3 is a flowchart illustrating control program data rewriting processing, and FIG. 4 is a process of selecting control program data whose specifications have been updated based on rewriting control program data. It is a flowchart explaining.

【0027】先ず、本実施の形態の動作を説明する前
に、本実施の形態の概要について説明する。従来装置は
当該車両のエンジン機種に対応した仕様の制御プログラ
ムデータをフラッシュEEPROM10にロードする
際、フラッシュEEPROM10の内容を全消去した後
に、書換信号発生器2よりエンジン機種に対応した仕様
の各制御プログラムデータを8000回程マイクロプロ
セッサ8に転送してロードを完了させた。
First, before describing the operation of the present embodiment, an outline of the present embodiment will be described. When loading the control program data of the specification corresponding to the engine model of the vehicle into the flash EEPROM 10, the conventional device erases the entire contents of the flash EEPROM 10 and then sends the control program data of the specification corresponding to the engine model from the rewrite signal generator 2. The data was transferred 8000 times to the microprocessor 8 to complete the loading.

【0028】しかし、本実施の形態では、不揮発性記憶
部としてのフラッシュEEPROM10に車両の各エン
ジン機種に対応した仕様のプログラムデータを予め記憶
すると共に、他の記憶エリアに全て論理1の書換制御用
プログラムデータを16個記憶する。そして、制御情報
出力手段としての書換信号発生器2は制御プログラム仕
様に応じて例えば1番目のデータを論理0にし他のデー
タを1にした16個のデータ構成の書換制御用プログラ
ムデータを情報処理部としてのマイクロプロセッサ8を
通してフラッシュEEPROM10に書き込み、被書換
制御用プログラムデータに上書きする。マイクロプロセ
ッサ8は上書きされた被書換制御用プログラムデータよ
り該当する仕様のプログラムデータを判断し、そのプロ
グラムデータをフラッシュEEPROM10より読み出
して処理する。
However, in the present embodiment, the program data of the specification corresponding to each engine model of the vehicle is stored in advance in the flash EEPROM 10 as the nonvolatile storage unit, and the rewrite control for all the logic 1 is stored in the other storage area. 16 program data are stored. The rewrite signal generator 2 as control information output means processes rewrite control program data of 16 data configurations in which, for example, the first data is set to logic 0 and the other data is set to 1 according to the control program specification. The data is written into the flash EEPROM 10 through the microprocessor 8 as a unit, and overwrites the rewrite control program data. The microprocessor 8 determines the program data of the corresponding specification from the overwritten rewrite control program data, reads the program data from the flash EEPROM 10, and processes the read program data.

【0029】先ず、ステップS201で書き換え手順を
スタートさせる。ステップS202では、書換信号発生
器2がフラッシュEEPROM10を書き換えるために
マイクロプロセッサ8へ書き換え用電圧を印加してい
る。フラッシュEEPROM10はデータの書き換えを
行うためには定電圧の印加を必要とする。
First, a rewriting procedure is started in step S201. In step S202, the rewrite signal generator 2 applies a rewrite voltage to the microprocessor 8 to rewrite the flash EEPROM 10. The flash EEPROM 10 needs to apply a constant voltage to rewrite data.

【0030】書き換え用電圧は、書換信号発生器2が電
圧供給ライン4を通じて供給される。次に、ステップS
203で書換信号発生器2は、書き換え制御用のプログ
ラムを(図3のフローチャートを参照)内蔵したROM
11の内容を起動させるために書換用タイミング信号を
信号供給ライン5を通じてマイクロプロセッサ8に送信
する。
The rewriting voltage is supplied from the rewriting signal generator 2 through the voltage supply line 4. Next, step S
At 203, the rewrite signal generator 2 has a ROM for storing a program for rewrite control (see the flowchart of FIG. 3).
A rewriting timing signal is transmitted to the microprocessor 8 through the signal supply line 5 in order to activate the contents of 11.

【0031】書換用タイミング信号を検出すると、マイ
クロプロセッサ8は通常の制御を停止し、書き換え制御
用のプログラムを内蔵したROM11の内容を読み出
し、その制御手順に従ってフラッシュEEPROM10
の制御プログラムデータの書き換えを開始することにな
る。
Upon detecting the rewrite timing signal, the microprocessor 8 stops the normal control, reads out the contents of the ROM 11 containing the rewrite control program, and follows the flash EEPROM 10 according to the control procedure.
Rewriting of the control program data is started.

【0032】書き換え制御用のプログラムを起動させた
後はステップS204に進み、一連の初期化手続きを書
換信号発生器2とマイクロプロセッサ8の間で行う。こ
の手続きはマイクロプロセッサ8毎に固有にすること
で、不正書込に対する防止効果を目的としている。
After activating the rewrite control program, the process proceeds to step S204, in which a series of initialization procedures are performed between the rewrite signal generator 2 and the microprocessor 8. This procedure is intended to prevent illegal writing by making it unique for each microprocessor 8.

【0033】書換信号発生器2はステップS205で初
期化を正常に終了した事を検出するとプログラム書き換
えの準備ができたと判断して、ステップS206へ進
む。初期化が正常に行われなかった場合はステップS2
11へ進み、処理を終了する。
When the rewrite signal generator 2 detects that the initialization has been normally completed in step S205, it determines that the program is ready for rewriting, and proceeds to step S206. If the initialization was not performed normally, step S2
Proceed to 11 to end the processing.

【0034】ステップS206で、書換信号発生器2は
フラッシュEEPROM10の書換制御用プログラムデ
ータのチェックを行うようマイクロプロセッサ8に信号
を送る。これは、フラッシュEEPROM10に書き換
えに不適切なプログラムがロードされている可能性があ
るからである。チェックを行う方法は多種あるが、本実
施の形態ではマイクロプロセッサ8が全データの加算を
行った結果を書換信号発生器2に送る。
In step S206, the rewrite signal generator 2 sends a signal to the microprocessor 8 to check the rewrite control program data in the flash EEPROM 10. This is because a program inappropriate for rewriting may be loaded in the flash EEPROM 10. Although there are various methods for performing the check, in this embodiment, the result of the addition of all data by the microprocessor 8 is sent to the rewrite signal generator 2.

【0035】ステップS207で書換信号発生器2は、
チェックサムにより加算結果と予め計算しておいた値と
の比較を行い、加算値が一致していれば書き換えを行う
対象の制御プログラムデータと判断しステップS208
に進む。正しくなければステップS211に進み処理を
終了する。
In step S207, the rewrite signal generator 2
The addition result is compared with a value calculated in advance by the checksum. If the addition value matches, the control program data to be rewritten is determined as step S208.
Proceed to. If not correct, the process proceeds to step S211 and ends.

【0036】ステップS208で、書換信号発生器2は
保持している書換制御用プログラムデータを所定の形式
に従ってマイクロプロセッサ8に転送する。転送するデ
ータの構成を図2に示す。
In step S208, the rewrite signal generator 2 transfers the stored rewrite control program data to the microprocessor 8 according to a predetermined format. FIG. 2 shows the configuration of the data to be transferred.

【0037】転送するデータの構成において、仕様Aの
制御プログラムデータを選択する場合に使用する書換制
御用プログラムデータは、16個構成のプログラムデー
タの内、位置情報0000(第1番目のプログラムデー
タ)のプログラムデータ値は00、他の全ての位置情報
のプログラムデータ値はFFである。
In the structure of the data to be transferred, the rewriting control program data used when selecting the control program data of the specification A is position information 0000 (first program data) of the 16 program data. Is 00, and the program data values of all other position information are FF.

【0038】仕様Bの制御プログラムデータを選択する
場合に使用する書換制御用プログラムデータは、16個
構成のプログラムデータの内、位置情報0001(第2
番目のプログラムデータ)のプログラムデータ値は0
0、他の全ての位置情報のプログラムデータ値はFFで
ある。
The rewrite control program data used when selecting the control program data of the specification B includes position information 0001 (second
The program data value of the (third program data) is 0
0, the program data value of all other position information is FF.

【0039】仕様Cの制御プログラムを選択する場合に
使用する書換制御用プログラムデータは、16個構成の
プログラムデータの内、位置情報0002(第3番目の
プログラムデータ)のプログラムデータ値は00、他の
全ての位置情報のプログラムデータ値はFFである。こ
のプログラムデータ構成であると1回のデータ転送で1
6個の制御プログラムデータを送ることができる。
The rewrite control program data used when selecting the control program of the specification C is program data of position information 0002 (third program data) of 00 out of 16 pieces of program data. The program data values of all the position information are FF. With this program data configuration, one data transfer
Six control program data can be sent.

【0040】ステップS209で、マイクロプロセッサ
8が例えば図2に示した制御プログラム仕様を選択する
書換制御用プログラムデータを受け取ると、書換制御用
プログラムデータをデータ転送周期に合わせ、記述され
ている位置情報に基づいてフラッシュEEPROM10
の所定の位置に書き込む。
In step S209, when the microprocessor 8 receives the rewrite control program data for selecting, for example, the control program specifications shown in FIG. 2, the rewrite control program data is adjusted to the data transfer cycle, and the described position information is written. Flash EEPROM10 based on
Is written in a predetermined position.

【0041】フラッシュEEPROM10の書換制御用
プログラムデータの書き込み位置には、位置情報000
0〜0015におけるプログラムデータ値が全てFF
(=1)の被書換制御用プログラムデータが書き込まれ
ている。書込が終了するとマイクロプロセッサ8はステ
ップS210で書換信号発生器2に書き込み終了の信号
を図1で示す通信ライン3を使って送る。書換信号発生
器2は書き込み終了の信号を受信するとステップS21
1に進み処理を終了する。
The write position of the rewrite control program data in the flash EEPROM 10 has position information 000.
All program data values in 0 to 0015 are FF
The rewrite control program data of (= 1) has been written. When the writing is completed, the microprocessor 8 sends a write end signal to the rewriting signal generator 2 through the communication line 3 shown in FIG. When the rewrite signal generator 2 receives the write end signal, the process proceeds to step S21.
The process proceeds to 1 and ends.

【0042】以上のように本実施の形態では、書き込む
時の書換制御用プログラムデータの位置情報0000、
0001、0002におけるプログラムデータの値を全
て00と異なる値FFを予めを設定しておく。この状態
ではフラッシュEEPROM10上の被書換制御用プロ
グラムデータの位置情報0000、0001、0002
におけるプログラムデータの値は、FFとなり被書換制
御用プログラムデータは上書きされても書き換えられる
ことはない。
As described above, in the present embodiment, the position information 0000,
A value FF different from 00 for all program data values in 0001 and 0002 is set in advance. In this state, the position information 0000, 0001, 0002 of the rewrite control program data on the flash EEPROM 10 is stored.
Becomes FF, and the rewrite control program data is not rewritten even if it is overwritten.

【0043】従って、マイクロプロセッサ8は位置情報
0000、0001、0002におけるプログラムデー
タの未書き換えを認識することで、仕様A,B,Cのい
ずれの制御プログラムデータを選択せずに次の処理に進
む。フラッシュEEPROM10上のデータの値は0又
はFF(1)のいづれかで表される。フラッシュEEP
ROM10は0のデータを1に上書されないが、1のデ
ータを0に上書きすることはできる。
Accordingly, the microprocessor 8 recognizes that the program data in the position information 0000, 0001, 0002 has not been rewritten, and proceeds to the next processing without selecting any of the control program data of the specifications A, B and C. . The value of the data on the flash EEPROM 10 is represented by either 0 or FF (1). Flash EEP
The ROM 10 does not overwrite the data of 0 with 1 but can overwrite the data of 1 with 0.

【0044】この性質を利用して、選択する仕様のフラ
ッシュEEPROM10は位置情報0000、000
1、0002部分と位置情報15に至る位置情報部分を
0と異なるデータ、即ち1にしておくと、位置情報00
00、0001、0002・・・000F部分を後から
書換信号発生器2より送られてきた書換制御用プログラ
ムデータで0に上書きすることは可能である。
Utilizing this property, the flash EEPROM 10 of the specification to be selected can store the position information 0000, 000.
If the position information part reaching the 1,0002 part and the position information 15 is set to data different from 0, that is, 1, the position information 00
000F can be overwritten with 0 by the rewrite control program data sent from the rewrite signal generator 2 later.

【0045】従って、プログラムデータ仕様Aを選択す
る必要が生じた場合は位置情報0000の被書換制御用
プログラムデータを00に変更すればよいため、書換信
号発生器3は図2の(1)の仕様Aを選択する書換制御
用プログラムデータをマイクロプロセッサ8に送り、フ
ラッシュEEPROM10上の被書換制御用プログラム
データに上書きする。同様に仕様Bデータを選択する場
合は図2の(2)の書換制御用プログラムデータをフラ
ッシュEEPROM10上の被書換制御用プログラムデ
ータに上書きする。同様に仕様Cデータを選択する場合
は図2の(3)の書換制御用プログラムデータをフラッ
シュEEPROM10上の被書換制御用プログラムデー
タに上書きする。
Therefore, when it becomes necessary to select the program data specification A, the rewrite control program data in the position information 0000 may be changed to 00, and the rewrite signal generator 3 is provided as shown in FIG. The rewrite control program data for selecting the specification A is sent to the microprocessor 8 to overwrite the rewrite control program data on the flash EEPROM 10. Similarly, when the specification B data is selected, the rewrite control program data in (2) of FIG. 2 is overwritten on the rewrite control program data on the flash EEPROM 10. Similarly, when the specification C data is selected, the rewrite control program data in (3) of FIG. 2 is overwritten on the rewrite control program data on the flash EEPROM 10.

【0046】書換制御用プログラムデータをフラッシュ
EEPROM10に上書し終えたならば、マイクロプロ
セッサ8は図4のフローチャートに示すように書換制御
用プログラムデータに従って仕様A〜Cの制御プログラ
ムをフラッシュEEPROM10より選択し、その処理
を実行する。
When the rewriting control program data has been overwritten in the flash EEPROM 10, the microprocessor 8 selects control programs of specifications A to C from the flash EEPROM 10 according to the rewriting control program data as shown in the flowchart of FIG. And execute the processing.

【0047】相異なる3つの仕様A,B,Cの制御プロ
グラムデータは、フラッシュEEPROM10に上書さ
れた書換制御用プログラムデータの位置情報0000、
0001或いは0002のデータの値によって任意に選
択できるようにフラッシュEEPROM10に記憶され
ている。
The control program data of three different specifications A, B, and C are the position information 0000 of the rewrite control program data overwritten in the flash EEPROM 10,
It is stored in the flash EEPROM 10 so that it can be arbitrarily selected according to the value of the data 0001 or 0002.

【0048】ステップS301よりスタートする。ステ
ップS302で、マイクロプロセッサ8は被書換制御用
プログラムデータの位置情報0000のデータを読み出
し、そのデータ値が00か否かの判定を行う。データ値
が00であればステップS303へ進み、仕様Aの制御
プログラムデータを選択し、その処理を実行する。処理
が終了すればステップS308に進み次の処理を行う。
ステップS302でデータ値が00でなければステップ
S304へ進む。
The operation starts from step S301. In step S302, the microprocessor 8 reads the data of the position information 0000 of the rewrite control program data, and determines whether or not the data value is 00. If the data value is 00, the process advances to step S303 to select control program data of specification A and execute the processing. When the processing is completed, the process proceeds to step S308 to perform the next processing.
If the data value is not 00 in step S302, the process proceeds to step S304.

【0049】ステップS304で、マイクロプロセッサ
8は、同じく位置情報0001のデータを読み出し、そ
のデータ値が00か否かの判定を行う。データ値が00
であればステップS305へ進み、仕様Bの制御プログ
ラムデータを選択し、その処理を実行する。処理が終了
すればステップS308に進み次の処理を行う。
In step S304, the microprocessor 8 similarly reads the data of the position information 0001, and determines whether or not the data value is 00. Data value is 00
If so, the process advances to step S305 to select the control program data of the specification B and execute the process. When the processing is completed, the process proceeds to step S308 to perform the next processing.

【0050】ステップS304でデータ値が00でなけ
ればステップS306へ進む。ステップS306で、マ
イクロプロセッサ8は、同じく位置情報0002のデー
タを読み出し、そのデータ値が00か否かの判定を行
う。データ値が00であればステップS307へ進み、
仕様Cの制御プログラムデータを選択し、その処理を実
行する。処理が終了すればステップS308に進み次の
処理を行う。ステップS306でデータ値が00でなけ
ればステップS308に進み次の処理を行う。
If the data value is not 00 in step S304, the process proceeds to step S306. In step S306, the microprocessor 8 similarly reads the data of the position information 0002 and determines whether or not the data value is 00. If the data value is 00, the process proceeds to step S307,
The control program data of the specification C is selected and the processing is executed. When the processing is completed, the process proceeds to step S308 to perform the next processing. If the data value is not 00 in step S306, the process proceeds to step S308 to perform the next process.

【0051】書換制御用プログラムデータを以上のよう
に構造することで、書換信号発生器2は複数種の仕様の
制御プログラムデータであっても1種類の形態の制御プ
ログラムデータとして盛り込み、制御プログラムデータ
中の小数のデータの切換のみで全く違う仕様の異なる制
御プログラムデータの選択データに切り換えることがで
きる。
By constructing the rewrite control program data as described above, the rewrite signal generator 2 incorporates control program data of a plurality of types of specifications as one type of control program data. It is possible to switch to the selected data of the control program data having completely different specifications only by switching the small number of data in the middle.

【0052】本実施の形態では図4に示すような構造の
被書換制御用プログラムデータが予めフラッシュEEP
ROM10に書き込まれているため、1回の書換制御用
プログラムデータの転送を行うだけで所望の仕様の制御
プログラムデータを得ることができる。
In this embodiment, the rewritable control program data having the structure shown in FIG.
Since the data is written in the ROM 10, it is possible to obtain control program data having desired specifications only by transferring the rewrite control program data once.

【0053】本実施の形態では3つの仕様の車両制御用
プログラムデータを選択できるようにしたが、位置情報
の数を0002以上に増加することで選択個数は任意に
設定できることは勿論である。
In this embodiment, the vehicle control program data of three specifications can be selected. However, it is needless to say that the number of selections can be arbitrarily set by increasing the number of position information to 0002 or more.

【0054】実施の形態2.上記実施の形態1では制御
用プログラムデータの仕様の切換をそれぞれ固有の位置
情報に書き込まれたデータ値によって判定しているが、
複数の位置情報に書き込まれたデータ値を判定に共有す
る事もできる。即ち、予め設定したn個の位置情報に書
き込まれた1と0のとデータ値を組み合わせ2n個の選
択情報を生成することで、2nの仕様の制御用プログラ
ムデータを選択することができる。
Embodiment 2 In the first embodiment, the switching of the specification of the control program data is determined by the data value written in the unique position information.
Data values written in a plurality of pieces of position information can be shared for determination. In other words, by combining 1 and 0 and data values written in the preset n pieces of position information and generating 2 n pieces of selection information, control program data of 2 n specifications can be selected. .

【0055】実施の形態3.上記実施の形態1では、書
換制御用プログラムデータにより各仕様の制御プログラ
ムデータ選択用のパラメータを、フラッシュEEPRO
M10上に書き込んで任意の仕様の制御プログラムデー
タを選択できるようにした。だが、フラッシュEEPR
OM10の所定記憶エリアを全て1のデータにしておく
ことで、これらデータを書込信号発生器2より伝送され
て来た制御プログラムデータで上書きをする事ができ
る。この結果、所望する仕様の制御プログラムデータを
短時間でフラッシュEEPROM10にロードすること
ができる。
Embodiment 3 In the first embodiment, the parameters for selecting the control program data of each specification are written in the flash EEPROM according to the rewrite control program data.
The control program data of any specification can be selected by writing on M10. But Flash EEPR
By setting all the predetermined storage areas of the OM 10 to 1 data, these data can be overwritten by the control program data transmitted from the write signal generator 2. As a result, control program data having desired specifications can be loaded into the flash EEPROM 10 in a short time.

【0056】実施の形態4.尚、上記実施の形態1〜3
ではエンジンの機種に対応した仕様の制御プログラムデ
ータをフラッシュEEPROM10に上書きしてロード
する場合について説明したが、上書きするのは制御プロ
グラムデータに限らないのは勿論である。
Embodiment 4 In addition, the first to third embodiments are described.
In the above, the case where the control program data of the specification corresponding to the model of the engine is overwritten and loaded into the flash EEPROM 10 has been described. However, the overwriting is not limited to the control program data.

【0057】予め登録された固有のコードを有するエン
ジンキーの真偽を判定して車両の始動許可を行う盗難防
止装置にあっては、エンジンキーが決定した時点で固有
のコードを書換信号発生器2より車両制御装置1に送信
し、マイクロプロセッサ8の処理によりフラッシュEE
PROM10の特定領域に上書して登録操作する。
In an anti-theft device that determines the authenticity of an engine key having a unique code registered in advance and permits starting of a vehicle, the unique code is rewritten when the engine key is determined. 2 to the vehicle control device 1 and the flash EE
A registration operation is performed by overwriting a specific area of the PROM 10.

【0058】固有のコードが登録されたならば、エンジ
ンの始動毎にエンジンキーより所定のコード読み取り手
段で読み取られたコードは車両制御装置1に送信され、
そこでフラッシュEEPROM10に登録されたコード
と一致を照合しエンジン始動の可否を判定する。
When the unique code is registered, the code read from the engine key by a predetermined code reading means is transmitted to the vehicle control device 1 every time the engine is started.
Therefore, the code is checked for coincidence with the code registered in the flash EEPROM 10 to determine whether the engine can be started.

【0059】[0059]

【発明の効果】請求項1の発明によれば、車両の制御情
報を記憶保持し、この制御情報を通信ラインを通して外
部に出力する制御情報出力手段と、この制御情報出力手
段より出力された制御情報を読み取り、予め設定された
記憶領域の初期情報に直接上書きする電気的に書き込み
/一括消去可能な不揮発性記憶部、及びこの不揮発性記
憶部の前記記憶領域に前記制御情報の書き込み/読み出
し制御を行い、読み出した制御情報を処理する情報処理
部を備えた車両制御手段とを備えたので、情報の書き換
えを旧情報の一括消去を不要として短時間で行えるとい
う効果がある。
According to the first aspect of the present invention, control information output means for storing and holding vehicle control information and outputting the control information to the outside through a communication line, and control output from the control information output means. An electrically writable / collectively erasable nonvolatile storage unit for reading information and directly overwriting initial information in a preset storage area, and controlling writing / reading of the control information to / from the storage area of the nonvolatile storage unit And the vehicle control means provided with an information processing section for processing the read control information, there is an effect that information can be rewritten in a short time without the necessity of batch erasing of old information.

【0060】請求項2の発明によれば、不揮発性記憶部
は所定記憶領域に各車両の仕様に応じた複数の制御プロ
グラムデータと、これら制御プログラムデータから当該
車両の仕様に応じた制御プログラムデータを選択する選
択情報を初期情報に上書きさせる記憶領域を設定し、制
御情報出力手段は当該車両の仕様に対応した選択情報を
前記車両制御手段の情報処理部に出力して前記記憶領域
の初期情報を選択情報で上書して置き換えさせると、前
記情報処理部はこの置き換えた選択情報より該当する制
御プログラムデータを読み取り処理することで、不揮発
性記憶部おける選択情報の上書きのみで制御プログラム
データのロードを短時間で行えるという効果がある。
According to the second aspect of the present invention, the nonvolatile storage unit stores a plurality of control program data corresponding to the specifications of each vehicle in the predetermined storage area, and the control program data corresponding to the specifications of the vehicle from the control program data. The control information output means outputs selection information corresponding to the specification of the vehicle to the information processing section of the vehicle control means, and sets a storage area for overwriting the selection information for selecting the initial information with the initial information. Is overwritten with the selection information and replaced, the information processing unit reads and processes the corresponding control program data from the replaced selection information, so that the control program data is overwritten only by overwriting the selection information in the nonvolatile storage unit. There is an effect that loading can be performed in a short time.

【0061】請求項3の発明によれば、不揮発性記憶部
は、選択情報を上書きさせる初期情報書き込み領域にお
ける各データ位置の情報を1とし、所定のデータ位置の
情報を入力された前記選択情報の内容に応じて0に上書
きして置き換えることで、選択情報の設定を容易に行え
るという効果がある。
According to the third aspect of the present invention, the nonvolatile storage unit sets the information of each data position in the initial information writing area in which the selection information is overwritten to 1, and receives the information of the predetermined data position in the selection information. By overwriting and replacing with 0 according to the contents of the above, there is an effect that setting of selection information can be easily performed.

【0062】請求項4の発明によれば、不揮発性記憶部
は、選択情報を上書きさせる初期情報書き込み領域の各
データ位置の情報を1とし、この各データ位置の情報を
入力された前記選択情報の内容に応じて1と0の組み合
わせで上書きして置き換えることで、少ないデータの選
択情報で数多くの制御プログラムデータを選択するパラ
メータを生成することができるという効果がある。
According to the fourth aspect of the present invention, the nonvolatile storage unit sets the information of each data position of the initial information writing area in which the selection information is overwritten to 1 and the information of each data position is inputted to the selection information. By overwriting and replacing with a combination of 1 and 0 according to the contents of the above, there is an effect that a parameter for selecting a large number of control program data can be generated with a small selection information of data.

【0063】請求項5の発明によれば、不揮発性記憶部
は、制御プログラムデータを上書きさせる初期情報書き
込み領域における各データ位置の情報を1とし、この各
データ位置の情報を制御情報出力手段より出力された制
御プログラムデータで上書きして置き換えることで、選
択情報を不要にして短時間でしかも容易に制御プログラ
ムデータを書き込むことができるという効果がある。
According to the fifth aspect of the present invention, the nonvolatile storage unit sets the information of each data position in the initial information writing area in which the control program data is overwritten to 1, and outputs the information of each data position from the control information output means. By overwriting and replacing with the output control program data, there is an effect that the control program data can be easily written in a short time and easily without selection information.

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

【図1】 従来及び本発明の車両制御装置を示す構成図
である。
FIG. 1 is a configuration diagram showing a vehicle control device of the related art and the present invention.

【図2】 本発明の実施の形態の車両制御装置の制御プ
ログラムデータの書き換えのための転送データを説明す
るデータ構成図である。
FIG. 2 is a data configuration diagram illustrating transfer data for rewriting control program data of the vehicle control device according to the embodiment of the present invention.

【図3】 本発明の実施の形態の車両制御装置の制御プ
ログラムデータの書き換え動作説明に供するためのフロ
ーチャートである。
FIG. 3 is a flowchart for explaining a rewriting operation of control program data of the vehicle control device according to the embodiment of the present invention.

【図4】 本発明の実施の形態の車両制御装置の制御プ
ログラムデータ構造を説明したフローチャートである。
FIG. 4 is a flowchart illustrating a control program data structure of the vehicle control device according to the embodiment of the present invention.

【図5】 従来の車両制御装置の制御プログラムデータ
の書き換えのための転送データを説明するデータ構成図
である。
FIG. 5 is a data configuration diagram illustrating transfer data for rewriting control program data of a conventional vehicle control device.

【図6】 従来の車両制御装置の制御プログラムデータ
の書き換え動作説明に供するためのフローチャートであ
る。
FIG. 6 is a flowchart for explaining a rewriting operation of control program data of a conventional vehicle control device.

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

1 車両制御装置、2 制御プログラムデータの書換信
号発生器、3 制御プログラムデータの転送通信ライ
ン、4 書換用電源の供給ライン、5 書換用タイミン
グ信号の供給ライン、8 マイクロプロセッサ、10
フラッシュEEPROM。
REFERENCE SIGNS LIST 1 vehicle control device, 2 control program data rewrite signal generator, 3 control program data transfer communication line, 4 rewrite power supply line, 5 rewrite timing signal supply line, 8 microprocessor, 10
Flash EEPROM.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 車両の制御情報を記憶保持し、この制御
情報を通信ラインを通して外部に出力する制御情報出力
手段と、この制御情報出力手段より出力された制御情報
を読み取り、予め設定された記憶領域の初期情報に直接
上書きする書き込み/一括消去可能な不揮発性記憶部、
及びこの不揮発性記憶部の前記記憶領域に前記制御情報
の書き込み/読み出し制御を行い、読み出した制御情報
を処理する情報処理部とを含む車両制御手段とを備えた
ことを特徴とするプログラムデータ書換装置。
1. Control information output means for storing and holding control information of a vehicle and outputting the control information to the outside through a communication line, reading control information output from the control information output means, and storing the control information in advance. Writable / batch-erasable non-volatile storage unit that directly overwrites the initial information in the area
And a vehicle control unit including: an information processing unit that performs write / read control of the control information in the storage area of the nonvolatile storage unit and processes the read control information. apparatus.
【請求項2】 不揮発性記憶部は所定記憶領域に各車両
の仕様に応じた複数の制御プログラムデータと、これら
制御プログラムデータから当該車両の仕様に応じた制御
プログラムデータを選択する選択情報を初期情報に上書
きさせる記憶領域を設定し、制御情報出力手段が当該車
両の仕様に対応した選択情報を前記車両制御手段の情報
処理部に出力して前記記憶領域の初期情報を前記選択情
報で上書して置き換えさせると、前記情報処理部はこの
置き換えた選択情報より該当する制御プログラムデータ
を読み取り処理することを特徴とする請求項1に記載の
プログラムデータ書換装置。
2. A non-volatile storage unit stores, in a predetermined storage area, a plurality of control program data corresponding to the specifications of each vehicle and selection information for selecting control program data corresponding to the specifications of the vehicle from the control program data. A storage area to be overwritten with information is set, and control information output means outputs selection information corresponding to the specification of the vehicle to an information processing section of the vehicle control means, and overwrites initial information of the storage area with the selection information. 2. The program data rewriting apparatus according to claim 1, wherein the information processing section reads and processes the corresponding control program data from the replaced selection information.
【請求項3】 不揮発性記憶部は、選択情報を上書きさ
せる初期情報書き込み領域における各データ位置の情報
を1とし、所定のデータ位置の情報を、入力された前記
選択情報の内容に応じて0に上書きして置き換えること
を特徴とする請求項2に記載のプログラムデータ書換装
置。
3. The non-volatile storage unit sets information of each data position in an initial information write area in which selection information is overwritten to 1, and sets information of a predetermined data position to 0 according to the content of the input selection information. 3. The program data rewriting device according to claim 2, wherein the program data is rewritten by overwriting.
【請求項4】 不揮発性記憶部は、選択情報を上書きさ
せる初期情報書き込み領域の各データ位置の情報を1と
し、この各データ位置の情報を入力された前記選択情報
の内容に応じて1と0の組み合わせで上書きして置き換
えることを特徴とする請求項2に記載のプログラムデー
タ書換装置。
4. The non-volatile storage unit sets information of each data position of an initial information writing area in which selection information is overwritten to 1, and sets information of each data position to 1 according to the content of the input selection information. 3. The program data rewriting device according to claim 2, wherein the replacement is performed by overwriting with a combination of zero.
【請求項5】 不揮発性記憶部は、制御プログラムデー
タを上書きさせる初期情報書き込み領域における各デー
タ位置の情報を1とし、この各データ位置の情報を制御
情報出力手段より出力された制御プログラムデータで上
書きして置き換えることを特徴とする請求項1に記載の
プログラムデータ書換装置。
5. The nonvolatile storage unit sets information of each data position in an initial information writing area in which control program data is overwritten to 1, and stores the information of each data position with control program data output from control information output means. 2. The program data rewriting device according to claim 1, wherein the program data is replaced by overwriting.
JP18240696A 1996-07-11 1996-07-11 Program data rewriting device Pending JPH1027100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18240696A JPH1027100A (en) 1996-07-11 1996-07-11 Program data rewriting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18240696A JPH1027100A (en) 1996-07-11 1996-07-11 Program data rewriting device

Publications (1)

Publication Number Publication Date
JPH1027100A true JPH1027100A (en) 1998-01-27

Family

ID=16117752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18240696A Pending JPH1027100A (en) 1996-07-11 1996-07-11 Program data rewriting device

Country Status (1)

Country Link
JP (1) JPH1027100A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991206A (en) * 1997-12-10 1999-11-23 Hyundai Electronics Industries Co., Ltd. Method of erasing a flash memory
JP2001191877A (en) * 1999-10-27 2001-07-17 Fujitsu Ten Ltd Vehicle driving support device and steering angle detecting device
JP2003228513A (en) * 2001-11-28 2003-08-15 Access:Kk Memory control method and device
JP2011025781A (en) * 2009-07-23 2011-02-10 Hitachi Automotive Systems Ltd Controller for vehicle

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991206A (en) * 1997-12-10 1999-11-23 Hyundai Electronics Industries Co., Ltd. Method of erasing a flash memory
JP2001191877A (en) * 1999-10-27 2001-07-17 Fujitsu Ten Ltd Vehicle driving support device and steering angle detecting device
JP4536889B2 (en) * 1999-10-27 2010-09-01 富士通テン株式会社 Vehicle driving support device
JP2003228513A (en) * 2001-11-28 2003-08-15 Access:Kk Memory control method and device
JP2011025781A (en) * 2009-07-23 2011-02-10 Hitachi Automotive Systems Ltd Controller for vehicle

Similar Documents

Publication Publication Date Title
RU2142168C1 (en) Method for complete rewriting of cleared non- volatile memory
US6047128A (en) System for downloading software
JPH05216780A (en) Method for reloading flash eeprom memory card
JP2002082841A (en) Control data storage device of electronic controller
JP4302113B2 (en) In-vehicle control device
KR100265266B1 (en) Microcomputer comprsing flash eeprom and method of erasing flash eeprom
KR100425229B1 (en) Microcomputer and method for rewriting data on flash memory
JPH1027100A (en) Program data rewriting device
US20050246513A1 (en) Electronic control device and data adjustment method
JP2009042850A (en) Control device for vehicle, and device for updating vehicle control program
JP2004005296A (en) Electronic control device
JP2005338955A (en) Electronic control device
JP2002149412A (en) Electronic controller
JPH07287603A (en) Engine controller
JP4910402B2 (en) Nonvolatile memory rewriting device and rewriting method
JPH07287604A (en) Engine controller
JP2000257502A (en) Electronic controller for automobile
JP2001229014A (en) Non-volatile memory rewriting device
US20050251305A1 (en) Electronic control apparatus
JPH06332691A (en) System incorporating one chip microcomputer
JPH06259982A (en) Method and device for rewriting flash rom
JP2738611B2 (en) Electronic equipment
JP3133710B2 (en) Microcomputer evaluation device
JPH05150993A (en) Program loading method for disk device
JPH10333913A (en) Software boot control system