[go: up one dir, main page]

JPH03150651A - Program loading method - Google Patents

Program loading method

Info

Publication number
JPH03150651A
JPH03150651A JP1288900A JP28890089A JPH03150651A JP H03150651 A JPH03150651 A JP H03150651A JP 1288900 A JP1288900 A JP 1288900A JP 28890089 A JP28890089 A JP 28890089A JP H03150651 A JPH03150651 A JP H03150651A
Authority
JP
Japan
Prior art keywords
program
loaded
terminal device
revision
video data
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
JP1288900A
Other languages
Japanese (ja)
Inventor
Hiroyuki Sakamoto
浩之 坂本
Hiroya Sakuma
佐久間 博也
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.)
Hitachi Ltd
Original Assignee
Hitachi Techno Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Techno Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Techno Engineering Co Ltd
Priority to JP1288900A priority Critical patent/JPH03150651A/en
Publication of JPH03150651A publication Critical patent/JPH03150651A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、端末装置のプログラムロード方式、および、
ロードしたプログラムの格納方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a program loading method for a terminal device, and
Concerning the storage method of loaded programs.

〔従来の技術〕[Conventional technology]

従来の装置では、次の二つの方法が用いられていた。■
外部記憶媒体からロードした端末装置プログラムをRA
Mに格納するもの、■制御プログラムをROMに格納し
てロードを一切行なわないもの、また、公知例のように
ロードした端末装置のプログラムの格納媒体にII!E
FROMを利用したものがあるが、これは、キーボード
を介してロード要/不要を選択しなければならない。
In conventional devices, the following two methods have been used. ■
RA the terminal device program loaded from an external storage medium.
(2) The control program is stored in the ROM and is not loaded at all, and the program storage medium of the terminal device loaded as in the known example II! E
There is a version that uses FROM, but in this case, you have to select whether or not to load it using the keyboard.

〔発明が解決しようとする課題ゴ 上記従来技術で、■は、端末装置立上げ時、毎回ロード
を行なう必要があるため、ロードの間オペレータは、端
末装置の操作を行なうことができず、操作できるように
なるまで時間を要する欠点がある。■は、制御プログラ
ムがROMに格納されているためプログラムの変更が生
じたときプロダラムの書換えが困難である。また、前述
の公知例ではロードの要/不要の選択にキーボード操作
を必要とするため、誤操作が考えられて好ましくない。
[Problems to be Solved by the Invention] In the above prior art, (2) requires loading every time the terminal device is started up, so the operator cannot operate the terminal device during loading. The disadvantage is that it takes time to become able to do it. (2) Since the control program is stored in the ROM, it is difficult to rewrite the program when the program is changed. Further, in the above-mentioned known example, a keyboard operation is required to select whether or not loading is necessary, which is undesirable because of the possibility of erroneous operation.

C課題を解決するための手段〕 本発明は下記の手段によって上記三点の問題を解決した
。端末装置立上げ時、毎回ロードを行なう必要がないよ
うにするため、また、プログラムの書換えを容易にする
ために、−度ロードした端末装置のプログラムを格納す
る媒体として。
Means for Solving Problem C] The present invention has solved the above three problems by the following means. In order to avoid the need to load each time the terminal device is started up, and to facilitate rewriting the program, it is used as a medium for storing a terminal device program that has been loaded once.

EEPRO?Iを採用した。さらに、キーボード操作な
しでロードの要/不要を決定する手段として、外部記憶
媒体に格納されている端末装置のプログラムのレビジョ
ンを知るために、端末装置のプログラムのロードに先立
って、端末装置のプログラムのレビジョンを外部記憶媒
体からロードする方法を採用したものである。
EEPRO? I was adopted. Furthermore, in order to know the revision of the terminal device program stored in the external storage medium, as a means of determining whether loading is necessary or unnecessary without keyboard operations, the terminal device program is loaded before the terminal device program is loaded. This method employs a method of loading the revision of the file from an external storage medium.

〔作用〕[Effect]

EEPROMは、電気的に書換え可能であり、かつ。 EEPROM is electrically rewritable and.

不揮発性メモリであるため、一定ロードして格納した端
末装置のプログラムは消えることがない。
Since it is a non-volatile memory, the terminal device program that has been loaded and stored for a certain period of time will not disappear.

外部記憶媒体から端末装置のプログラムをロードする前
に、端末装置のプログラムのレビジョンを外部記憶媒体
からロードして、レビジョンが更新されたときだけ、端
末装置のプログラムをロードするので、毎回端末装置の
プログラムをロードする必要がない6以上のようにレビ
ジョンの更新を自動で検出するため、ロードにキーボー
ドの操作を必要としない。
Before loading the terminal device program from an external storage medium, the revision of the terminal device program is loaded from the external storage medium, and the terminal device program is loaded only when the revision has been updated. There is no need to load the program. Like versions 6 and above, revision updates are automatically detected, so no keyboard operations are required to load the program.

また、万一、EEFROMに格納されていた端末装置の
プログラムが破壊されていても、端末装置立上り時、 
EEFROMのテストで破壊を検出し、そのときは端末
装置のプログラムを外部記憶媒体からロードするのでE
EFROMのプログラムが破壊されたことによる端末装
置の誤動作は防止することができる。
In addition, even if the terminal device program stored in the EEFROM is destroyed, when the terminal device starts up,
The EEFROM test detects corruption, and in that case the terminal device's program is loaded from an external storage medium.
Malfunctions of the terminal device due to destruction of the EFROM program can be prevented.

〔実施例〕〔Example〕

以下1本発明の実施例についてビデオデータターミナル
を端末装置の例にとって説明する。
An embodiment of the present invention will be described below using a video data terminal as an example of a terminal device.

第1図は、・本発明を実施するためのシステム構成であ
る。ビデオデータターミナルはデイスプレィ装置i!1
.キーボード2.制御装置3から構成される装置 ROM4,ロードしたビデオデータターミナルのプログ
ラムを一時格納するためのRAM5,ロードしたビデオ
データターミナルのプログラムを半恒久的に格納するE
EFROM 6・が搭載されている.ビデオデータター
ミナルと外部記憶媒体8は、データ伝送路7で接続され
ており,外部記憶媒体にはビデオデータターミナルにロ
ードされるビデオデータターミナルのプログラムのレビ
ジョン9とビデオデータターミナルにロードされるプロ
グラム10が格納されている.ビデオデータターミナル
と外部記憶媒体8との間のデータの転送は,データ伝送
路7によってなされる。
FIG. 1 shows a system configuration for implementing the present invention. The video data terminal is the display device i! 1
.. Keyboard 2. A device ROM 4 consisting of the control device 3, a RAM 5 for temporarily storing the loaded video data terminal program, and an E for semi-permanently storing the loaded video data terminal program.
Equipped with EFROM 6. The video data terminal and the external storage medium 8 are connected by a data transmission path 7, and the external storage medium includes revision 9 of the video data terminal program loaded into the video data terminal and program 10 loaded into the video data terminal. is stored. Data is transferred between the video data terminal and the external storage medium 8 via a data transmission line 7.

第2図は、ビデオデータターミナルの制御装置3に搭載
されているROM4に格納されているローダの動作につ
いて、示した流れ図である.ビデオデータターミナルの
電源が入るとローダが動き出し、ステップS1でεEP
RO阿6のテストを行なう。
FIG. 2 is a flowchart showing the operation of the loader stored in the ROM 4 installed in the control device 3 of the video data terminal. When the power to the video data terminal is turned on, the loader starts moving, and in step S1
Test ROA6.

このテスト結果がOKであればステップS3でフラグに
0をセットし、NOであればステップS21でフラグに
1をセットする。次に,ローダは,ステップS4で外部
記憶媒体へレビジョンをロードする指示を出し,ステッ
プS5でロードしたレビジョンをRAM5に格納する,
ステップS6では。
If the test result is OK, the flag is set to 0 in step S3, and if NO, the flag is set to 1 in step S21. Next, the loader issues an instruction to load the revision to the external storage medium in step S4, and stores the loaded revision in the RAM 5 in step S5.
In step S6.

ステップS3または,ステップ521でセットしたフラ
グによってステップS7でロードしたレビジョンとEH
FROM 6のプログラムのレビジョンを比較するかど
うかの判定を行なう.もし、フラグが0でなければBE
PROH 6のプログラムが破壊されたと判断して無条
件にステップS8のプログラムロード指示の処理を進む
.フラグがOであれば、ステップS7でEEPROM 
6のプログラムのレビジョンとロードしたレビジョンを
比較する.ステップS7で, BEPROH6のプログ
ラムのレビジョンが、ロードしたレビジョンより旧であ
ったときステップS8のプログラムロード指示の処理へ
移り、EEFROM6のプログラムの方が、新またはロ
ードしたレビジョンと同じときはロードしない.ステッ
プS8で外部記憶媒体8ヘビデオデータターミナルのプ
ログラムロードを指示した後、ステップS9でロードし
たビデオデータターミナルのプログラムをRAM5へ格
納する。このとき、ステップS5でRAM5に格納した
レビジョンと異なる領域にプログラムを格納する。次に
、ステップS10で先にロードしたRAM5上のレビジ
ョン。
The revision and EH loaded in step S7 according to the flag set in step S3 or step 521
Determine whether to compare the revisions of the FROM 6 program. If the flag is not 0, BE
It is determined that the program of PROH 6 has been destroyed, and the program load instruction processing of step S8 is proceeded unconditionally. If the flag is O, the EEPROM is
Compare the revision of program 6 and the loaded revision. In step S7, if the revision of the program in BEPROH6 is older than the loaded revision, the process moves to step S8 to process the program load instruction, and if the program in EEFROM6 is newer or the same as the loaded revision, it is not loaded. After instructing to load the video data terminal program into the external storage medium 8 in step S8, the loaded video data terminal program is stored in the RAM 5 in step S9. At this time, the program is stored in an area different from the revision stored in the RAM 5 in step S5. Next, the revision on the RAM 5 loaded earlier in step S10.

ビデオデータターミナルのプログラムをEEFROM 
6へ格納して処理を終了する。
Program the video data terminal to EEFROM
6 and ends the process.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、−度ビデオデータターミナル上にプロ
グラムをロードした後、プログラムのレビジョンが更新
されるまでロードする必要がないため、ビデオデータタ
ーミナルの電源を入れてがらオペレータが操作できるま
での時間を短くすることができる。また、プログラムの
レビジョンが更新されたときでも、キーボードの操作な
しで自動でロードを行なうため、人手を煩わすことなく
スムーズに対応することができる。
According to the present invention, after a program is loaded onto the video data terminal, it is not necessary to load it until the revision of the program is updated, so it takes less time to operate the video data terminal while the power is turned on by the operator. can be shortened. Furthermore, even when the revision of a program is updated, it is automatically loaded without any keyboard operations, so it can be handled smoothly without any human intervention.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は1本発明の一実施例のブロック図、第2図は、
ローダのフローチャートを示す。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
A flowchart of the loader is shown.

Claims (1)

【特許請求の範囲】 1、揮発性メモリ、または、不揮発性メモリに格納され
た制御プログラムによつて動作可能な端末装置において
、 ローダを格納したROM、ロードしたプログラムを一時
的に格納するためのRAMおよび、ロードしたプログラ
ムを半恒久的に格納する電気的に書換え可能な不揮発性
メモリを搭載し、外部記憶媒体上の端末装置のプログラ
ムのレビジヨンを記憶する手段を設けたプログラムロー
ド方式。 2、請求項1においてレビジヨンが更新されたときだけ
端末装置のプログラムロードし、レビジヨンが更新され
ていないときは、端末装置のプログラムロードしないこ
とを特徴とする不揮発性メモリを利用したプログラムロ
ード方式。
[Claims] 1. In a terminal device operable by a control program stored in a volatile memory or a non-volatile memory, a ROM storing a loader and a ROM for temporarily storing the loaded program are provided. A program loading method that is equipped with a RAM and an electrically rewritable nonvolatile memory that semi-permanently stores the loaded program, and is provided with means for storing the revision of the terminal device's program on an external storage medium. 2. A program loading method using non-volatile memory according to claim 1, characterized in that the program of the terminal device is loaded only when the revision has been updated, and the program of the terminal device is not loaded when the revision has not been updated.
JP1288900A 1989-11-08 1989-11-08 Program loading method Pending JPH03150651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1288900A JPH03150651A (en) 1989-11-08 1989-11-08 Program loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1288900A JPH03150651A (en) 1989-11-08 1989-11-08 Program loading method

Publications (1)

Publication Number Publication Date
JPH03150651A true JPH03150651A (en) 1991-06-27

Family

ID=17736239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1288900A Pending JPH03150651A (en) 1989-11-08 1989-11-08 Program loading method

Country Status (1)

Country Link
JP (1) JPH03150651A (en)

Similar Documents

Publication Publication Date Title
US20050251673A1 (en) Updatable firmware having boot and/or communication redundancy
US20040168167A1 (en) Data processor, program updating method and storage medium
KR20010070416A (en) Computer
KR20040017081A (en) Method for recording firmware in computer system
US7478207B2 (en) Control system with a write filter for protection of data
CN110764486B (en) Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium
JPH03150651A (en) Program loading method
EP0918287B1 (en) ROM image processing when supply of electric power is interrupted
US6377493B1 (en) Semiconductor apparatus
US20060206674A1 (en) Optical disc drive and program code updating method thereof
JP2005128613A (en) Image forming device
JPS59148954A (en) Control memory patrol method
CN112685053A (en) Remote upgrading control method for single chip microcomputer program
JP3019346B2 (en) Data processing device
WO2001050261A2 (en) Updating non volatile memory in a data processing system
US6438644B1 (en) Method to prevent a flash memory from being miswritten
JP2978658B2 (en) Program development support device
JPH01124041A (en) Information processor
JPH11338690A (en) Flash memory, firmware use system device and firmware rewriting method
JP2000057000A (en) Micro computer with built-in flash memory
JPH02181232A (en) Loading system
JPS62162140A (en) Computer system
JPH03266027A (en) Electronics
JPS63310043A (en) Incorrect address access detection system for program
JPH0367349A (en) Program loading system