JPS6177940A - Rise control method for processor - Google Patents

Rise control method for processor

Info

Publication number
JPS6177940A
JPS6177940A JP59198517A JP19851784A JPS6177940A JP S6177940 A JPS6177940 A JP S6177940A JP 59198517 A JP59198517 A JP 59198517A JP 19851784 A JP19851784 A JP 19851784A JP S6177940 A JPS6177940 A JP S6177940A
Authority
JP
Japan
Prior art keywords
reset
debug
processor
signal
output
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
JP59198517A
Other languages
Japanese (ja)
Inventor
Yoshihiro Miyazaki
義弘 宮崎
Yoshiaki Takahashi
義明 高橋
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 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 Ltd filed Critical Hitachi Ltd
Priority to JP59198517A priority Critical patent/JPS6177940A/en
Publication of JPS6177940A publication Critical patent/JPS6177940A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve greatly the debug efficiency by applying the outputs of a reset switch and a debug switch to a pulse generator after inverting them by an inverter respectively to obtain a reset output and at the same time applying a debug signal to a gate circuit. CONSTITUTION:The output of a reset switch 6 is inverted by an inverter 24 and supplied to an OR gate 25. While the output of a debug-only reset switch 7 is inverted by an inverter 23 and supplied to gates 25 and 28. When either one of both switches 6 and 7 is turned on, an OR gate signal 30 is also turned on. Then the signal 30 is supplied to a pulse generator 26 for a fixed period of time and then delivered 27. While this pulse is kept ON, a processor 11 resets the connection with an internal bus and a bus 14 to put the input signal group of the gate 28 on a signal 29 and processes the contents of the signal group as the program address. Thus the reset and debug programs are executed.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、立上げ時に自動診断を行なう処理装置の立上
り制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a startup control method for a processing device that performs automatic diagnosis at startup.

〔発明の背景〕[Background of the invention]

従来、システムの信頼性保証のため、処理装置に自動診
断機能を付加することが多い、 HIDICV90 /
 5処理装置オペレーシヨンマニユアルでは、ハードウ
ェアリセットをかけると、主メモリのチェックを行なう
ことが述べられている。また。
Conventionally, automatic diagnostic functions were often added to processing equipment to ensure system reliability.
The 5 processing unit operation manual states that when a hardware reset is applied, the main memory is checked. Also.

5alf −diagnosing minicomp
utar (MINI−MICRO3YSTEMS/J
uly 1980)でも、ハードウェアリセットをかけ
ると、hard core部(含32にバイトのRAM
を持ったSingle −board co+*put
er )のチェックを行なうことが述べられている。
5alf-diagnosing minicomp
utar (MINI-MICRO3YSTEMS/J
Uly 1980), if you apply a hardware reset, the hard core section (including 32 bytes of RAM) will be reset.
Single -board co+*put with
It is stated that er) should be checked.

しかし、半導体技術の進歩によりメモリの大容量化が進
み、それに比べてプロセッサのスピードの延びが遅く、
立上げ時のチェック時間が畏くかかるという問題が発生
する1例えば、主メモリのチェックに関して、2 MI
PS程度のプロセッサが8Mバイト(アクセス巾8バイ
ト)のメモリをチェックする時間は数秒であるが、メモ
リが32Mバイトに拡張されると、20秒程度になる。
However, with advances in semiconductor technology, the capacity of memory has increased, and the speed of processors has slowed down in comparison.
There is a problem that the check time at startup is very long.1 For example, regarding checking the main memory,2 MI
It takes several seconds for a PS-sized processor to check a memory of 8 Mbytes (access width: 8 bytes), but when the memory is expanded to 32 Mbytes, it takes about 20 seconds.

システムの立上げ頻度が1回71日程度であ九ば20秒
程度でも問題ないが、システムのデバッグ時には何回も
立上げを行なう必要があり問題となる。
There is no problem if the system startup frequency is about 71 days and about 20 seconds each time, but when debugging the system, it is necessary to start up the system many times, which poses a problem.

また、PC−4001USER’S MANUALでは
オペレータの起動によりメモリテストを行なうことが述
べられている。しかし、この方式では、デバッグ時には
メモリテストを起動しなければよいがシステムの信頼性
保証のためには1日常の立上げ時にオペレータがメモリ
テストを起動せねばならず面倒である。
Furthermore, the PC-4001 USER'S MANUAL states that a memory test is performed upon activation by the operator. However, in this method, although it is not necessary to start the memory test during debugging, in order to guarantee the reliability of the system, the operator must start the memory test at the time of daily startup, which is cumbersome.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、メモリの大容量化に伴うチェック時間
の増加に対して最適な、立上げ時自動診断機能付処理装
置の立上げtII御方漬方法供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a tII startup method for a processing device with an automatic diagnosis function at startup, which is optimal for dealing with the increase in check time due to an increase in memory capacity.

〔発明の実施例〕[Embodiments of the invention]

以下1本発明の詳細な説明する6 第2図は、本発明の背景となる処理装置システムの全体
構成例を示す、処理装Wt1にはキャラクタディスプレ
イ等のオペレータへの表示装置t!2と、キーボード等
のオペレータからの入力装置3とが接続される。また、
処理装置1は補助記憶袋[4及びオペレータパネル5を
もつ、オペレータバネネル5にはリセットスイッチ6(
押ボタン方式)とデバッグ専用リセットスイッチ7(同
じく押ボタン方式)とが設けられている。
1 The present invention will be described in detail below.6 FIG. 2 shows an example of the overall configuration of a processing device system which is the background of the present invention.The processing device Wt1 includes a display device such as a character display for the operator. 2 and an input device 3 from an operator such as a keyboard are connected. Also,
The processing device 1 has an auxiliary storage bag [4] and an operator panel 5, and the operator panel 5 has a reset switch 6 (
A debug-only reset switch 7 (also a push button type) is provided.

第3図は、処理装置1の内部構成を示す、プロセッサ1
1はシステムバス14を介して、ROM12、あるいは
、主メモリ13内のプログラムを読出し実行する。また
、プロセッサ11は同パス14及びゲート15を介して
パワーオンフラグ18の内容を読むことができる。また
、プロセッサ11は同パス14及びコンソール入出力装
置接続a構16、インターフェイスケーブル8を介して
オペレータへの表示袋に2及びオペレータからの入力装
置3との通信を行なう、また、プロセッサ11は同パス
14を介して補助記憶接続機構17に起動をかけること
ができ、起動を受けた同機構17は補助記憶装置4と主
メモリ13との間のデータ転送を行なう、リセットスイ
ッチ6の出力はプロセッサ11に入力されており、同ス
イッチがオンのときプロセッサ11は内部及びシステム
バス14に接続された各接続機構をリセットし、一定時
間後、特定の番地A(例えば0番地)よりスタートする
。その番地はROM12内のアドレスに対応しており、
プロセッサ11はROM12より順次プログラムを読出
して実行する。このリセットにより起動されるプログラ
ムをリセットプログラムと以後称する。また、リセット
スイッチ6の出力はパワーオンフラグ18にも入力され
ており、リセットスイッチ6のオンにより同フラグは0
になる。デバッグ専用リセットスイッチ7の出力はプロ
セッサ11に入力されており、同スイッチがオンのとき
プロセッサ11は内部及びシステムバス14に接続され
た各接続機構をリセットし、一定時間後、特定の番地、
しかも、リセットスイッチ6のときとは異なる番地B(
例えば100番地)よりスタートする。その番地はRO
M12内のアドレスに対応しており、プロセッサ11は
ROM12より順次プログラムを読出して実行する。こ
のデバッグ専用リセットにより起動されるプログラムを
デバッグ専用リセットプログラムと以後称する。復電制
御部19は処理装置の復電時に一定時間のパルスを出力
する。この出力は、プロセッサ11に入力されリセット
スイッチ6をオンしたときと同様に、ハードウェアリセ
ットを行ない、リセットプログラムの起動を行なう、ま
た同出力はパワーオンフラグ18にも出力されており、
復電時にパワーオンフラグ18を1にする。
FIG. 3 shows the internal configuration of the processor 1.
1 reads and executes a program in the ROM 12 or main memory 13 via the system bus 14. Further, the processor 11 can read the contents of the power-on flag 18 via the same path 14 and the gate 15. Further, the processor 11 communicates with the display panel 2 for the operator and the input device 3 from the operator via the same path 14, the console input/output device connection structure 16, and the interface cable 8. The auxiliary storage connection mechanism 17 can be activated via the path 14, and the activated mechanism 17 transfers data between the auxiliary storage device 4 and the main memory 13.The output of the reset switch 6 is output to the processor. 11, and when the switch is on, the processor 11 resets each connection mechanism connected internally and to the system bus 14, and starts from a specific address A (for example, address 0) after a certain period of time. The address corresponds to the address in ROM12,
The processor 11 sequentially reads programs from the ROM 12 and executes them. The program started by this reset is hereinafter referred to as a reset program. The output of the reset switch 6 is also input to the power-on flag 18, and when the reset switch 6 is turned on, the flag is set to 0.
become. The output of the debug-only reset switch 7 is input to the processor 11, and when the switch is on, the processor 11 resets each connection mechanism connected to the internal and system bus 14, and after a certain period of time,
Furthermore, the address B (
For example, start from address 100). The address is RO
The processor 11 sequentially reads programs from the ROM 12 and executes them. The program started by this debug-only reset is hereinafter referred to as a debug-only reset program. The power restoration control unit 19 outputs a pulse for a certain period of time when power is restored to the processing device. This output is input to the processor 11 and performs a hardware reset and starts the reset program in the same way as when the reset switch 6 is turned on.The same output is also output to the power-on flag 18.
The power-on flag 18 is set to 1 when the power is restored.

第4図にパワーオンフラグ18.復電制御部19の詳細
構成を示す、復電時、コンデンサ21に抵抗22を通し
て充電する間、復電制御部19の出力は1となり、パワ
ーオンフラグ18はオン状態となる。これに対し、リセ
ットスイッチ6がオンするとパワーオンフラグ18はオ
フ状態となる。
Figure 4 shows the power-on flag 18. The detailed configuration of the power recovery control unit 19 is shown. At the time of power recovery, while charging the capacitor 21 through the resistor 22, the output of the power recovery control unit 19 becomes 1, and the power-on flag 18 is turned on. On the other hand, when the reset switch 6 is turned on, the power-on flag 18 is turned off.

第5図にプロセッサ11のリセット入力受付部の詳細構
成を示す、リセットスイッチ6の出力はインバータ24
により反転され、オアゲート25に入力される。デバッ
グ専用リセットスイッチ7の出力はインバータ23によ
り反転され、オアゲート25及びゲート28に入力され
る。リセットスイッチ6、または、デバッグ専用リセッ
トスイッチ7のいずれかがオンしたときオアゲート出力
信号30はオンする。この信号は一定時間のパルスを生
成するパルスジェネレータ26に入力されており、信号
30がオンになったとき、同ジェネレータの出力27に
パルスが出力される。このパルスがオンしている間プロ
セッサ11は内部及びシステムバス14に接続された各
接続機構をリセットし、オフすると、プロセッサ11は
ゲート28をオン状態としてゲート28の入力信号群を
信号29にのせ、信号29の内容をプログラムアドレス
として処理する。パルス27の巾は、オペレータがスイ
ッチを押し続ける時間に比べ、充分短いため、オペレー
タがリセットスイッチ6を押したとき、プロセッサ11
が取り込むプログラムアドレスは信号31がOのアドレ
スであり、デバッグ専用リセットスイッチ7を押したと
き、プロセッサ11が取り込むプログラムアドレスは信
号31が1のアドレスである。このようにして、リセッ
トスイッチ6による起動時はアドレスA、デバッグ専用
リセットスイッチ7による起動時はアドレスBにより、
それぞれプログラムが実行される。
FIG. 5 shows the detailed configuration of the reset input receiving section of the processor 11. The output of the reset switch 6 is connected to the inverter 24.
is inverted and input to the OR gate 25. The output of the debug-only reset switch 7 is inverted by an inverter 23 and input to an OR gate 25 and a gate 28. When either the reset switch 6 or the debug-only reset switch 7 is turned on, the OR gate output signal 30 is turned on. This signal is input to a pulse generator 26 that generates a pulse of a fixed duration, and when the signal 30 is turned on, a pulse is output to the output 27 of the generator. While this pulse is on, the processor 11 resets each connection mechanism connected to the internal and system bus 14, and when it is off, the processor 11 turns on the gate 28 and superimposes the input signal group of the gate 28 on the signal 29. , the contents of signal 29 are processed as a program address. The width of the pulse 27 is sufficiently short compared to the time the operator continues to press the switch, so when the operator presses the reset switch 6, the processor 11
The program address taken in by the processor 11 is the address where the signal 31 is 0, and when the debug-only reset switch 7 is pressed, the program address taken in by the processor 11 is the address where the signal 31 is 1. In this way, when starting with the reset switch 6, address A is used, and when starting with the debug-only reset switch 7, address B is used.
Each program is executed.

第1図(a)は、リセットプログラムのフローチャート
を示す0本プログラムはアドレスAを先頭としてROM
12内に格納されている。処理装置のリセットスイッチ
6が押されると処理装置ノ蔦−ドウェアのリセットが行
なわれた後、リセットプログラムにリンクする。このプ
ログラムは、まず、パワーオンフラグ18(パワーオン
によりリセットプログラムが起動されたことを示すフラ
グ)を判定し、同フラグが1のときは、主メモリの全エ
リアをゼロクリアし、パリティ状態を解除する。
FIG. 1(a) shows a flowchart of a reset program. This program starts from address A and is stored in the ROM.
It is stored in 12. When the reset switch 6 of the processing device is pressed, the hardware of the processing device is reset and then linked to the reset program. This program first determines power-on flag 18 (a flag indicating that the reset program has been activated by power-on), and if the flag is 1, it clears all areas of main memory to zero and releases the parity state. do.

次に、パワーオンフラグ18の内容にはかかわらず、プ
ロセッサ周辺自己診断及び主メモリのチェックを行なう
1次に、再び、パワーオンフラグ18を判定し、同フラ
グが1のときはIPL (プログラムを補助記憶装置よ
りローディング)を行ないスタートする。一方、同フラ
グが0のときはIPLは行なわず、即、スタートする。
Next, regardless of the contents of the power-on flag 18, the power-on flag 18 is determined again in the primary stage where the processor peripheral self-diagnosis and main memory check are performed, and if the flag is 1, the IPL (program (loading from auxiliary storage) and start. On the other hand, when the flag is 0, IPL is not performed and starts immediately.

第1図(b)はデバッグ専用リセットプログラムのフロ
ーチャートを示す6本プログラムはアドレスBを先頭と
してROM12内に格納されている。処理装置のデバッ
グ専用リセットスイッチ7が押されると処理装置ハード
ウェアのリセットが行なわれた後、デバッグ専用リセッ
トプログラムにリンクする。このプログラムはプロセッ
サ周辺自己チェックのみを行ない主メモリのチェックは
行なわずに即スタートする。
FIG. 1(b) shows a flowchart of a debug-only reset program. Six programs are stored in the ROM 12 with address B as the beginning. When the debug-only reset switch 7 of the processing device is pressed, the processing device hardware is reset and then linked to the debug-only reset program. This program only performs a self-check around the processor and starts immediately without checking the main memory.

〔発明の効果〕 本発明によれば、立上げ時自動自己診断機能付処理装置
のデバッグ時再立上げ時間を、例えば、20秒程度から
2〜3秒に短縮でき、デバッグ効率を大幅に向上できる
[Effects of the Invention] According to the present invention, the restart time during debugging of a processing device with an automatic self-diagnosis function at startup can be shortened from about 20 seconds to 2 to 3 seconds, and debugging efficiency is significantly improved. can.

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

第1図(a)、第1図(b)は本発明の一実施例のフロ
ーチャート、第2図は本発明の背景となる処理装置シス
テムの全体構成図、第3図は処理装置の内部構成図、第
4図はパワーオンフラグ、復電制御部の構成図、第5図
はプロセッサのリセット入力受付部の構成図である。 1・・・処理装置、2・・・表示装置、3・・・入力装
置、4・・・補助記憶装置、5−オペレータパネル。 代運人 弁理士 高橋明夫 第1図 (久) F、UN 第10 (b) LJN 第2図 (d) (b) 第30 第 5の
1(a) and 1(b) are flowcharts of an embodiment of the present invention, FIG. 2 is an overall configuration diagram of a processing device system that is the background of the present invention, and FIG. 3 is an internal configuration of the processing device. 4 is a configuration diagram of a power-on flag and a power recovery control section, and FIG. 5 is a configuration diagram of a reset input reception section of a processor. DESCRIPTION OF SYMBOLS 1... Processing device, 2... Display device, 3... Input device, 4... Auxiliary storage device, 5- Operator panel. Agent Patent Attorney Akio Takahashi Fig. 1 (Kyu) F, UN No. 10 (b) LJN Fig. 2 (d) (b) No. 30 No. 5

Claims (1)

【特許請求の範囲】 1、外部からのリセット起動手段と、リセット起動によ
り内部の診断を行ない正常ならば立上がる手段と、異常
時はそれを外部に報告する手段とからなる処理装置にお
いて、 外部から任意に選択し得る複数のリセット起動手段を設
け、第一のリセット起動手段によるリセット起動を受け
ると前記内部の診断のすべて、または、一部を行なわず
、第二のリセット起動手段によるリセット起動を受ける
と前記内部の診断の全てを行なうことを特徴とする処理
装置立上げ制御方法。
[Scope of Claims] 1. In a processing device comprising means for activating a reset from the outside, means for diagnosing the internal state by activating the reset and starting up if it is normal, and means for reporting it to the outside in the event of an abnormality, A plurality of reset activation means can be arbitrarily selected from among the above, and when the reset activation by the first reset activation means is received, all or part of the internal diagnosis is not performed, and the reset activation by the second reset activation means is performed. 1. A method for controlling start-up of a processing device, characterized in that all of the internal diagnoses are performed when receiving a process.
JP59198517A 1984-09-25 1984-09-25 Rise control method for processor Pending JPS6177940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59198517A JPS6177940A (en) 1984-09-25 1984-09-25 Rise control method for processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59198517A JPS6177940A (en) 1984-09-25 1984-09-25 Rise control method for processor

Publications (1)

Publication Number Publication Date
JPS6177940A true JPS6177940A (en) 1986-04-21

Family

ID=16392451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59198517A Pending JPS6177940A (en) 1984-09-25 1984-09-25 Rise control method for processor

Country Status (1)

Country Link
JP (1) JPS6177940A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269261A (en) * 1986-05-16 1987-11-21 Nec Corp Multiprocessor connection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269261A (en) * 1986-05-16 1987-11-21 Nec Corp Multiprocessor connection system

Similar Documents

Publication Publication Date Title
JPS6177940A (en) Rise control method for processor
JPH0410654B2 (en)
JP2924392B2 (en) Microcomputer system
JPS62139050A (en) Instruction test system by control of maintenance and diagnosis processor
JPS62189545A (en) Start processor for calculator system
JPH0244436A (en) Information processing monitoring system
JPH0344730A (en) Trouble diagnostic controller for printer
SU881753A1 (en) Processor testing device
JPH03100836A (en) Fault diagnostic processing system
JP2818437B2 (en) Fault detection circuit
JPS59153245A (en) Debugging device
JPH03100737A (en) Fault diagnostic system
JPH02244232A (en) Information processor
JPS62177639A (en) Debugging device
JPH01166140A (en) Information processor diagnosing system
JPH03184133A (en) Pseudo fault generating mechanism for data processor
JPS6364139A (en) Memory dumping control system
JPS6148044A (en) Diagnosis system of processor
JPS63282535A (en) Signal processor
JPH03276304A (en) Programmable controller and external trouble diagnostic method using the controller
JPH01142834A (en) Test result output control system for test program
JPH01211039A (en) Information processor
JPS6238955A (en) Automatic save/automatic restart for main storage device in computer system
JPH07230392A (en) Self-diagnostic system for processor
JPS63142753A (en) Diagnostic system for digital exchange