JPS62284448A - Initial program loading system - Google Patents

Initial program loading system

Info

Publication number
JPS62284448A
JPS62284448A JP12715786A JP12715786A JPS62284448A JP S62284448 A JPS62284448 A JP S62284448A JP 12715786 A JP12715786 A JP 12715786A JP 12715786 A JP12715786 A JP 12715786A JP S62284448 A JPS62284448 A JP S62284448A
Authority
JP
Japan
Prior art keywords
program
station
ipl
memory
master station
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
JP12715786A
Other languages
Japanese (ja)
Inventor
Tetsuo Yano
矢野 哲雄
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 JP12715786A priority Critical patent/JPS62284448A/en
Publication of JPS62284448A publication Critical patent/JPS62284448A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up the rise of system operation by determining whether initial program loading (IPL) from a master station to a slave station is to be executed or not in accordance with the existence of damage of the contents of a main storage device. CONSTITUTION:At the time of turning on the power supply of a system, a CPU 1 reads out the existence of a voltage drop signal 1. When the signal 11 is significant, i.e. the voltage of a battery 10 is <= a set point, the contents of the main storage device 2 are regarded as damaged ones and an IPL request is outputted to a master station device 6 in the master station A to execute IPL from the master station A to the device 2. When the signal 11 is insignificant, i.e. the voltage of the battery 10 is >= the set point, there is no memory damage and the program of the slave station B is left as it is, so that the program is immediately started without outputting the IPL request to the master station A. Thereby, time required for IPL can be omitted and the system operation of a network system can be immediately attained.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明はネットワークシステム等のデータ回線を通じ
て主局から転送されるプログラムを従局の主記憶装置に
ロードするイニシアルプログラムロード方式に関するも
のである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] This invention relates to an initial program load method for loading a program transferred from a master station through a data line such as a network system into the main storage device of a slave station. It is related to the method.

〔従来の技術〕[Conventional technology]

第3図は、例えば特公昭57−22131号公・報に示
された従来のイ二シ、−アルプログラムロード゛方式の
概略を示すブロック接続図であり、図において、八は主
局、Bは従局であり、従局Bにおいて、1は中央処理装
置i1(以下、CPIJという)、2は主記憶装置、6
は通信制御装置、4はイニシアルプログラムロード(以
下、IPLという)のためのプログラムが格納された読
出専用メモリからなるイニシアルプログラムローダ、5
は主局Aと従局Bi接続しているデータ回線、6は主局
装置、7は主局Aにおける外部記憶装置、8は従局Bに
IPLされるプログラムである。
FIG. 3 is a block connection diagram showing an outline of the conventional initial program loading method disclosed in, for example, Japanese Patent Publication No. 57-22131. is a slave station, and in slave station B, 1 is a central processing unit i1 (hereinafter referred to as CPIJ), 2 is a main storage device, and 6 is a slave station.
4 is a communication control device; 4 is an initial program loader consisting of a read-only memory in which a program for initial program loading (hereinafter referred to as IPL) is stored; 5;
1 is a data line connecting master station A and slave station Bi, 6 is a master station device, 7 is an external storage device in master station A, and 8 is a program to be IPLed to slave station B.

また、第4図は、主局人および従局8間のIPLの手順
例を示す説明図である。
Further, FIG. 4 is an explanatory diagram showing an example of an IPL procedure between the master station person and the slave station 8. In FIG.

次に動作について説明する。Next, the operation will be explained.

CPU1は電源オンにより自動的にイニシアルプログラ
ムローダ4によるIPL動作を実行開始する。まず、C
PU1はこの実行開始プログラムにより通信制御装置3
に対してIPL要求の送出データを送る。通信制御装置
13はデータ回線5t−通して主局装置6にそのIPL
要求を伝え、主局装置6がこのIPL要求にもとづき、
外部記憶装r117に格納されている従局Bにロードす
べきプログラム8をさがし、このさがしたプログラムを
データ回路5を経由して、従局Bに伝える。従局Bでは
、通信制御装置6を通じて受けたIPLデータdl’に
イニシアルプログラムローダ4によって主記憶装置2に
格納する。こうして順欠、送られてくるIPLデータd
2・・・dnを同様にして主記憶装置2に格納し、すべ
てのIPLの動作全終了すると、これが主局Aから従局
Bに伝えられ、11’L終了の通知を受けた従局Bのイ
ニシアルプログラムローダ4は、ロードの実行を終了し
、これまで受信して格納した主記憶装置2内のプログラ
ムを起動する。以上によりIPL作業が完了する。
When the CPU 1 is powered on, the initial program loader 4 automatically starts executing the IPL operation. First, C
PU1 uses this execution start program to
Sends IPL request transmission data to. The communication control device 13 transmits its IPL to the main station device 6 through the data line 5t.
Based on this IPL request, the main station device 6 transmits the request.
A program 8 to be loaded into the slave station B stored in the external storage device r117 is searched for, and the searched program is transmitted to the slave station B via the data circuit 5. In the slave station B, the IPL data dl' received through the communication control device 6 is stored in the main storage device 2 by the initial program loader 4. In this way, the IPL data d is sent in order.
2... dn is stored in the main storage device 2 in the same manner, and when all IPL operations are completed, this is transmitted from master station A to slave station B, and the initial of slave station B, which received notification of the completion of 11'L. The program loader 4 finishes executing the load and starts the program in the main storage device 2 that has been received and stored so far. With the above, the IPL work is completed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のイ二シアルプログラムロード方式は以上のようで
あるので、主記憶装置2に対して既にプログラムが格納
されている場合でも、主局に対してIPL要求全するこ
とになり、このため電源オン後のネットワークなどのシ
ステム動作の立上がりが遅れ、例えば従局Bにロードす
べきプログラムが大量であったり、データ回線の伝送速
成が遅い場合には、そのシステム動作の立上がりが老る
しく遅れてしまう。−万、これを改善するため、イニシ
アルプログラムを従局B側において読出し専用メモリ(
ROM)に格納()LCJM化)しておくことも可能で
あるが、プログラム内容の変更ごとにそのメモV+書き
直す必要が生じ、−万、主局A 11IIからの上記プ
ログラムの変更は不可能であるなどの問題点があった。
Since the conventional initial program loading method is as described above, even if a program is already stored in the main storage device 2, an IPL request is made to the main station, and therefore, the power is turned on. The start-up of system operations such as the subsequent network is delayed; for example, if there is a large amount of programs to be loaded into slave station B or the transmission speed of the data line is slow, the start-up of the system operations will be delayed. - In order to improve this problem, the initial program is stored in the read-only memory (
It is also possible to store it in ROM (ROM) (in LCJM), but it will be necessary to rewrite the memo V+ each time the program contents are changed, and it is impossible to change the above program from the main station A 11II. There were some problems.

この発明は上記のような問題点を解消するためになされ
たもので、主局から従局へのイニシアルプログラムロー
ドを可能にするとともに、システムの電源オン時に、プ
ログラムが主記憶装置に保存されている際には、直ちに
このプログラムの起wJヲ行えるようにして、システム
動作の立上がりを高速化できるイニシアルプログラムロ
ード方式を得ること全目的とする。
This invention was made to solve the above-mentioned problems, and it enables initial program loading from the master station to the slave station, and also allows the program to be saved in the main memory when the system is powered on. In some cases, the overall purpose is to obtain an initial program loading method that can speed up system operation by allowing the program to be started immediately.

〔問題点を解決するための手段〕[Means for solving problems]

この発明にかかるイニシアルプログラムロード方式は、
プログラムを格納する従局の主記憶装置にメモリバック
アップ用のバッチIJ k設け、このバッテリの電圧低
下により格納内容が破壊されていると判断された場合に
は、上記主局から上記従局の主記憶装置に、上記プログ
ラムをロードするとともに、上記バッテリ電圧が低下し
ていない場合には、主局に対してIPL要求を出さずに
、上記主記憶装置内のプログラムを直ちに起動するよう
にしたものである。また、主記憶装置のプログラムのエ
ラーを検出した際には、この主記憶装置に対してプログ
ラムをロードさせるようにすることも、必要に応じて行
えるようにしたものである。
The initial program loading method according to this invention is as follows:
A batch IJk is provided for memory backup in the main memory of the slave station that stores the program, and if it is determined that the stored contents have been destroyed due to a voltage drop in this battery, the main station will transfer the program to the main memory of the slave station. When the above program is loaded, and the battery voltage has not decreased, the program in the main storage device is started immediately without issuing an IPL request to the main station. . Further, when an error in a program in the main memory is detected, the program can be loaded into the main memory as necessary.

〔作用〕[Effect]

この発明における主記憶装置は、電源の瞬断や停電等に
対してもメモリバックアップ用のバッテリによって保護
されるので、上記主記憶装置にプログラムが破壊されな
いで保存されているうちは、主局に対してIPL要求金
出すことなく、直ちにその保存されているプログラムの
起動を行って、システム動作の立上がりを迅速化するよ
うにする。
The main memory device of this invention is protected by a memory backup battery even in the event of a momentary power outage or power outage, so as long as the program is stored in the main memory device without being destroyed, the main station To quickly start up system operation by immediately starting the stored program without paying an IPL request fee.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図において、1は従局BのCPU、2は主記憶装置
であり、低消費鑞流のC:MOSメモリヲ使用した装置
、6は通信制御装置、4はIPLプログラムを有するイ
ニシアルプログラムローダ、10は主記憶装置12のメ
モリ内容を電源断に対しても保証するためのメモリバッ
クアップ用のバッテリ、11はバッテリ10の電圧低下
時に(メモリ内容を保証する電圧以下にバッテリ電圧が
低下した時に)出力されるバッテリ電圧低下信号、12
はCPU1がプログラム実行時に主記憶装置2の読出し
タイミングで続出しデータのパリティチェックを行なう
パリティチェック回路、16はパリティエラー検出信号
である。
In FIG. 1, 1 is the CPU of slave station B, 2 is the main storage device, and C is a low-consumption device using MOS memory, 6 is a communication control device, 4 is an initial program loader having an IPL program, 10 11 is a memory backup battery that guarantees the memory contents of the main storage device 12 even in the event of a power outage, and 11 is an output when the voltage of the battery 10 drops (when the battery voltage drops below the voltage that guarantees the memory contents). low battery voltage signal, 12
1 is a parity check circuit that performs a parity check on successive data at the read timing of the main storage device 2 when the CPU 1 executes a program, and 16 is a parity error detection signal.

なお、このほかの第4図に示したものと同一部分には同
一符号を付し、その重複する説明を省略する。
Note that other parts that are the same as those shown in FIG. 4 are designated by the same reference numerals, and redundant explanation thereof will be omitted.

また、従局Bの主記憶装置I2は、上記のように低消費
電流のCMOSメモリが一般に採用され、停電時にメモ
リ内容が破壊(消去)されるのを防ぐために、リチウム
電池等のバッテリ10によるメモリバックアップが行な
われる。しかし、停電時間が長くなると、バッテリ10
の電圧が次第に低下する。主記憶装置2の内容は、保証
電圧以上の電圧がメモリに供給されていることが必要で
ある。
In addition, the main memory device I2 of the slave station B is generally a CMOS memory with low current consumption as described above, and in order to prevent the memory contents from being destroyed (erased) in the event of a power outage, the memory is powered by a battery 10 such as a lithium battery. A backup is performed. However, if the power outage becomes long, the battery capacity will decrease
voltage gradually decreases. The contents of the main memory device 2 require that a voltage equal to or higher than the guaranteed voltage be supplied to the memory.

次に動作について説明する。まず、システムの電源オン
時に、バッテリ10の電圧低下信号11の有無1cPU
1が読取る。もし、電圧低下信号11が有意であれば、
つまりバッテリ10の電圧が設定値以下となると、主記
憶装置2内容が破壊されたものとして、主局Aの主局装
置6にIPL要求を出し、主局Aから主記憶装置2に対
する■PL′!!−実行する。−万、電圧低下信号11
が無意であれば、つまりバッテリ10の電圧が上記設定
値以上であるときは、メモリ破壊は無く、従局Bのプロ
グラムは主記憶装置2円に全て残っているので、主局A
に対してIPLi求を行なわず、直ちにそのプログラム
起動を行わせる。このため、IPLに要する時間が不要
となり、電源オン後、直ちにネットワークシステム等の
システム動作が可能となる。
Next, the operation will be explained. First, when the system is powered on, the presence or absence of the voltage drop signal 11 of the battery 10 is determined by 1 cPU.
1 reads. If the voltage drop signal 11 is significant, then
In other words, when the voltage of the battery 10 becomes lower than the set value, it is assumed that the contents of the main storage device 2 have been destroyed, and an IPL request is issued to the main station device 6 of the main station A, and the main station A issues a ! ! - Execute. - 10,000, voltage drop signal 11
If it is meaningless, that is, if the voltage of the battery 10 is higher than the above set value, there is no memory corruption and all the programs of slave station B remain in the main memory, so master station A
The program is immediately started without making an IPLi request to the program. Therefore, the time required for IPL is not required, and a system such as a network system can be operated immediately after the power is turned on.

次に、パリティチェック回路12は、CPU1がプログ
ラム実行中に、主記憶装置12からのプログラムを読み
出している際、メモリ内容たるプログラムが破壊されて
いないか全検出し、もし、メモリパリティエラーが検出
された場合には、メーモリバリテイエラー検出信号16
がCPU1に伝えられ、CPU1に対して強制割込みを
発生させる。
Next, while the CPU 1 is executing the program and reading the program from the main storage device 12, the parity check circuit 12 detects whether the program that is the memory contents has been destroyed, and if a memory parity error is detected. is detected, the memory integrity error detection signal 16
is transmitted to the CPU1, causing a forced interrupt to be generated to the CPU1.

このため、CPUは、第2図のフローチャートで示すよ
うに、パリティエラー検出に伴なうIPL要求の実行を
行ない、メモリ2内容の更新を行なう。この更新がすべ
てのIPLデータについて終了したとき、これらのプロ
グラムを起動することになる。
Therefore, as shown in the flowchart of FIG. 2, the CPU executes an IPL request in response to parity error detection and updates the contents of the memory 2. When this update is completed for all IPL data, these programs will be started.

なお、上記実施例では、従局Bが1つの場合のシステム
例で示したが、複数の従局Bが存在するネットワークシ
ステムなどであっても良い。また、上記実施例では主記
憶装置2のメモリ内容の破壊ヲハリテイチェック回路に
よるパリティエラー検出により行ったのであるが、プロ
グラムの暴走等によるメモリ破mt検出するためのウォ
ッチ・ドッグ・タイマエラー検出機能を持たせることに
より、ウォッチ・ドッグ・タイマエラー発生時にCPU
1に対して強制割込みを発生させるようにすることもで
きる。
In the above embodiment, a system example is shown in which there is one slave station B, but a network system in which a plurality of slave stations B exist may also be used. Furthermore, in the above embodiment, the damage to the memory contents of the main storage device 2 is detected by a parity error detection circuit using a integrity check circuit, but a watch dog timer error detection function is used to detect memory damage due to program runaway, etc. By having this, when a watch dog timer error occurs, the CPU
It is also possible to generate a forced interrupt for 1.

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

以上のように、この発明によれば、主局から従局へのI
PLt−行なうか否かを主記憶装置の内容の破壊の有無
により決定することとしたため、その破壊が生じていな
い場合における通常のシステム動作の立上がり時間を高
速化でき、−万、主記憶装置の内容の破壊時には、上記
IPLによってプログラムを更新できるようにしたので
、動作の信頼性が高く、かつシステムの停止時間を最短
にできるシステムが得られる効果がある。
As described above, according to the present invention, the I/O from the master station to the slave station is
Since whether or not to perform PLt is decided based on the presence or absence of destruction of the contents of the main memory, it is possible to speed up the start-up time of normal system operation even when such destruction has not occurred. When the contents are destroyed, the program can be updated by the IPL, which has the effect of providing a system that has high operational reliability and can minimize system downtime.

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

第1図はこの発明の一実施例によるイニシアルプログラ
ムロード方式金実施するシステムのブロック接続図、第
2図はこの発明のIPL動作を示すフローチャート、第
3図は従来の同様のシステムを示すブロック接続図、第
4図は同じく従来のイ二シアルプログラムロードの動作
全示す手順説明図である。 1はCPU、2は主記憶装置、6は通信制御装置、4は
イニシアルプログラムローダ、5はデ−夕回線、6は主
局装置、7は外部記憶装置、10はメモリバックアップ
用のバッテリ、12はパリティチェック回路、Aは主局
、Bは従局。 なお、図中、同一符号は同一、または相当部分を示す。 特許出願人   三菱電機株式会社 代理人 弁理士    1) 澤 博  昭’  ′り
7(外2名) −
FIG. 1 is a block connection diagram of a system that implements an initial program loading method according to an embodiment of the present invention, FIG. 2 is a flowchart showing the IPL operation of the present invention, and FIG. 3 is a block connection diagram of a conventional similar system. FIG. 4 is a procedure explanatory diagram showing the entire operation of conventional initial program loading. 1 is a CPU, 2 is a main storage device, 6 is a communication control device, 4 is an initial program loader, 5 is a data line, 6 is a main station device, 7 is an external storage device, 10 is a battery for memory backup, 12 is a parity check circuit, A is a master station, and B is a slave station. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant Mitsubishi Electric Co., Ltd. agent Patent attorney 1) Hiroshi Sawa' 7 (2 others) -

Claims (2)

【特許請求の範囲】[Claims] (1)主局と従局がデータ回線を通じて接続され、上記
従局からのイニシアルプログラムロードの要求に応じて
上記主局がその従局の主記憶装置にプログラムロードを
実行するイニシアルプログラムロード方式において、上
記従局には上記主記憶装置を保護するメモリバックアッ
プ用バッテリを設け、このメモリバックアップ用バッテ
リの電圧が所定値以下に低下したときには、上記主局か
ら上記主記憶装置へのイニシアルプログラムロードを可
能にし、上記電圧が上記所定値を越えたときには、既に
格納されている上記主記憶装置内のプログラムを直ちに
起動させることを特徴とするイニシアルプログラムロー
ド方式。
(1) In an initial program load method in which a master station and a slave station are connected through a data line, and the master station loads a program into the main memory of the slave station in response to an initial program load request from the slave station, the slave station is provided with a memory backup battery that protects the main storage device, and when the voltage of the memory backup battery drops below a predetermined value, it enables the initial program load from the main station to the main storage device. An initial program loading method characterized in that when the voltage exceeds the predetermined value, a program already stored in the main memory is started immediately.
(2)主記憶装置の起動後にメモリパリティエラーが検
出された際には、従局から主局へのイニシアルプログラ
ムロードの要求に応じて、上記主局からのプログラムに
より、上記主記憶装置の内容を更新するようにしたこと
を特徴とする特許請求の範囲第1項記載のイニシアルプ
ログラムロード方式。
(2) When a memory parity error is detected after the main memory is started, the contents of the main memory are loaded by the program from the master station in response to a request from the slave station to load the initial program to the master station. 2. The initial program loading method according to claim 1, wherein the initial program is updated.
JP12715786A 1986-06-03 1986-06-03 Initial program loading system Pending JPS62284448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12715786A JPS62284448A (en) 1986-06-03 1986-06-03 Initial program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12715786A JPS62284448A (en) 1986-06-03 1986-06-03 Initial program loading system

Publications (1)

Publication Number Publication Date
JPS62284448A true JPS62284448A (en) 1987-12-10

Family

ID=14953046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12715786A Pending JPS62284448A (en) 1986-06-03 1986-06-03 Initial program loading system

Country Status (1)

Country Link
JP (1) JPS62284448A (en)

Similar Documents

Publication Publication Date Title
EP0444544A2 (en) Updating or restoring method for stored data groups and system executing same
JPS62284448A (en) Initial program loading system
JP3231561B2 (en) Backup memory control method
CN113821240A (en) Firmware upgrading method, electronic equipment, storage medium and signal latch circuit
JPS5991525A (en) Controlling method of backup power supply of volatile memory
JP3094924B2 (en) Communication device control circuit
JPH03163617A (en) Warm-boot method of program in computer system
JP3234029B2 (en) Semiconductor storage device
JP2734510B2 (en) Online terminal device program failure repair method
JPS62284440A (en) Software resource maintenance system for terminal equipment
JP2699291B2 (en) Power failure processing device
JPS63159959A (en) Program loading system for terminal equipment
JPS62284449A (en) Initial program loading system
JPH05257827A (en) Computer system with semiconductor disk device
JP2624707B2 (en) Program loading method
JP2000172575A (en) Memory backup system
JPH02100743A (en) Electronic equipment
JPH0247723A (en) Microprogram controller
CN115617409A (en) Method, system, device, equipment and medium for starting kernel of intelligent operating system
JPH0394352A (en) Data destruction area detecting processing system
JPS6398009A (en) Processing control system at power failure
JPS61285559A (en) Battery back-up device
JP2664693B2 (en) Electronic exchange system program loading method
JPH03276246A (en) Network terminal equipment
JPH0519897A (en) Resetting control circuit of information processor