JPS61131129A - Initial diagnostic system - Google Patents

Initial diagnostic system

Info

Publication number
JPS61131129A
JPS61131129A JP59253040A JP25304084A JPS61131129A JP S61131129 A JPS61131129 A JP S61131129A JP 59253040 A JP59253040 A JP 59253040A JP 25304084 A JP25304084 A JP 25304084A JP S61131129 A JPS61131129 A JP S61131129A
Authority
JP
Japan
Prior art keywords
switch
status
diagnosis
routine
initial
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
JP59253040A
Other languages
Japanese (ja)
Inventor
Isao Fukushima
福島 功
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59253040A priority Critical patent/JPS61131129A/en
Publication of JPS61131129A publication Critical patent/JPS61131129A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Abstract

PURPOSE:To attain efficient operation of the system by fetching diagnostic mode information designated by a designation means as a status and executing the initial diagnostic processing so as to execute quickly after application of power the user program processing. CONSTITUTION:A microprocessor muP 2 has a means fetching the state of a switch 1 as a status. A ROM 3 has a test routine (TPS) having a short execution time for operating initial program load (IPL) and a high density test routine (TPH) for writing/reading a signal to/from a memory address. The muP 2 checks the status of the switch 1 just after application of power, and since the switch is turned off normally, the TPS routine applies a required minimum initial diagnosis and the step moves to the IPL> If the system is successful to the check just after the manufacture and the required minimum diagnosis but the system will not operate normally afterward, the step is moved to the routine TPH for detailed diagnosis to detect the fault by applying power while depressing the switch 1.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はマイクロプロセ、すを有し、複数種の診断プロ
グラムをROM上にもつ装置釦用いられる初期診断方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an initial diagnosis method used in a device having a microprocessor and having a plurality of types of diagnostic programs on a ROM.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般に、マイクロプロセ、すを有する装置に於いては、
電源投入時に装置の障害検出のために初期診断を行なう
。近年では、メモリの大容量化が進み、又、周辺装置も
多種多様化されていることからすべての診断を行なうに
は多くの時間を費やす。従って既存の初期診断処理機能
をもつ従来の装置に於いては、装置の立ち上げ時におい
て、エーデは自分のプログラムが起動されるまで長い間
待たされるという欠点があった。
Generally, in devices having a microprocessor,
Performs initial diagnosis to detect device failure when power is turned on. In recent years, the capacity of memory has increased, and peripheral devices have become more diverse, so it takes a lot of time to diagnose everything. Therefore, in conventional devices having an existing initial diagnosis processing function, when the device is started up, Ede has to wait for a long time until his program is started.

この際のマイクロプロセッサを有する装置に於ける電源
投入からユーザプログラム起動迄の従来の具体的な動作
例を第3図に示すフローチャートを参照して説明する。
A specific example of the conventional operation of a device having a microprocessor from power-on to starting of a user program will be described with reference to the flowchart shown in FIG.

まず電源を投入すると、マイクロプロセッサはROM上
のプログラムで動き始め、回路の初期診断を行なう。エ
ラーを検出すると、ランプやモニタに故障表示をする。
When the power is turned on, the microprocessor starts running with the program on the ROM and performs an initial diagnosis of the circuit. When an error is detected, a failure message is displayed on the lamp or monitor.

この際は然るべき修理又は特定のエラー処理が行なわれ
る。又、エラー無しの場合は、IPL (イニシャルプ
ログラムロード)によってFD (フロッピディスク)
、DISK(磁気ディスク\ライン等からユーデプログ
ラムがRAM上にロードされ、ユーザプログラムが起動
される。最近では、マイクロプロセッサが直接アドレッ
シング出来るメモリ容量も増加し、又周辺に付加される
入出力装置も増え、これらを細部に渡って診断するとか
なり多くの時間を要し、それだけユーザは使用を待たさ
れることになる。
Appropriate repairs or specific error handling are then carried out. In addition, if there is no error, the FD (floppy disk) is loaded by IPL (initial program load).
, DISK (magnetic disk\line, etc.) loads the user program onto the RAM, and the user program is started.Recently, the memory capacity that can be directly addressed by microprocessors has increased, and the amount of input/output devices added to the periphery has increased. The number of devices increases, and diagnosing them in detail requires a considerable amount of time, which forces users to wait longer before using them.

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

本発明は上記実情に鑑みなされたもので、装置の初期診
断ルーチンにおいて、通常は、必要最小限の短時間なテ
ストにとどめて速やかにユーザプログラムに移行させ、
必要忙応じて任意選択的に高密度なテストを行なえるよ
うにした初期診断方式を提供することを目的とする。
The present invention has been made in view of the above circumstances, and in the initial diagnosis routine of the device, normally, the test is limited to the minimum necessary and short time, and the test is quickly transferred to the user program.
The purpose of the present invention is to provide an initial diagnosis method that allows high-density testing to be performed selectively as needed.

〔発明の概要〕[Summary of the invention]

本発明は診断モードの指定手段をもち、初期診断処理実
行時に前記指定手段で指定された診断モーr情報をステ
ータスとして取込み、その診断モード情報に従う診断プ
ログラム又は診断プログラムフローの初期診断処理を実
行する構成としたもので、これにより通常時の初期診断
に資される時間を大幅に削減して、ユーザプログラム処
理を電源投入直後やかに実行でき、システムの効率的運
用が計れる。
The present invention has a diagnostic mode designation means, takes in diagnostic mode information designated by the designation means as a status when executing initial diagnostic processing, and executes initial diagnostic processing of a diagnostic program or diagnostic program flow according to the diagnostic mode information. With this configuration, the time required for initial diagnosis during normal operation can be significantly reduced, user program processing can be executed immediately after power is turned on, and the system can be operated efficiently.

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

以下第1図及び第2図を参照して本発明の一実施例を説
明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.

第1図は本発明の一実施例に於ける電源投入からユーザ
プログラム実行までの処理フローを示すフローチャート
であり、第2図は上記実施例に於いて設けられる診断モ
ード切換用のマニュアル操作スイッチ1及びその出力回
路を示す図である。第2図に於いて、スイッチ1は、オ
イレータ操作(例えば押圧操作)時のみスイッチオン(
ON)状態となって、詳細な初期診断処   1理を指
定するロウレベルのステータス情報を出カレ、常時(非
操作時)はスイッチオフ(OFF )状態となって、必
要最小限の初期診断処理を示す状態となっている@ ここで第1図及び第2図を参照して一実施例の動作を説
明する。本発明に係る装置にあっては、第2図に示すス
イッチ謂の状態をマイクロプロセッサ2がステータスと
して取り込む手段をもつとともに、二つの診断ルーチン
がROM j上にあってその一つはIPL動作のための
必要最小限の実行時間の短いテストルーチン(TPS 
)、他の一つは、メモリの全アドレスに対してライトし
、リードを行なうなどの密度の高いテストルーチン(T
PH)を持つ。以上の点を要素としてfa1図において
、電源投入直後に、マイクロプロセッサ2はスイッチ1
のステータスを調べる。
FIG. 1 is a flowchart showing the processing flow from power-on to user program execution in one embodiment of the present invention, and FIG. 2 is a manual operation switch 1 for switching the diagnostic mode provided in the above embodiment. FIG. 2 is a diagram showing an output circuit thereof. In Fig. 2, switch 1 is turned on (
The switch is turned on (ON) and outputs low-level status information that specifies detailed initial diagnosis processing, and is normally switched off (OFF) when not in operation to perform the minimum necessary initial diagnosis processing. The operation of one embodiment will now be described with reference to FIGS. 1 and 2. In the device according to the present invention, the microprocessor 2 has a means for importing the so-called switch state shown in FIG. Minimum required short running test routines (TPS)
), and the other is a high-density test routine (T
PH). Based on the above points, in the fa1 diagram, immediately after the power is turned on, the microprocessor 2 switches to the switch 1.
Check the status of.

通常はスイッチオフ(OFF )のため、必要最小限の
初期診断を行なってIPLへ移る。又、製造直後の検査
や、使用していて必要最小限の診断は通るがそれ以降正
常動作をしないなどの場合は、第2図のスイッチ1を押
しながら電源を投入することによりて詳細な診断を行な
うルーチンへ飛ばして障害を検出する。
Normally, the switch is turned off, so the minimum necessary initial diagnosis is performed and the process moves to IPL. In addition, if you perform an inspection immediately after manufacturing, or if you are using the machine and it passes the minimum necessary diagnosis but does not operate normally after that, you can conduct a detailed diagnosis by turning on the power while pressing switch 1 in Figure 2. The fault is detected by skipping to the routine that performs the following.

このようなスイッチ1の選択操作による初期診断モード
のセレクト機構を設けることによって、電源投入から初
期診断を行ないユーザプログラムへ移行する迄の時間が
短縮でき、又必要に応じてスイッチ1の操作により詳細
な診断ルーチンを実行後、ユーザプログラムに移行する
ことができる。
By providing such a mechanism for selecting the initial diagnosis mode by selecting the switch 1, the time from turning on the power to performing the initial diagnosis and transitioning to the user program can be shortened. After running the diagnostic routine, you can move on to the user program.

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

以上詳記したように本発明の初期診断方式によれば、診
断モードの指定手段をもち、初期診断処理実行時に前記
指定手段で指定された診断モード情報をステータスとし
て取込み、その診断モード情報に従う診断プログラム又
は診断プログラムフローの初期診断処理を実行する構成
としたことにより、通常時の初期診断に費される時間を
大幅に削減してユーザプログラム処理を電源投入後、速
やかに実行でき、これによりシステムの効率的運用が計
れる。
As described in detail above, the initial diagnosis method of the present invention has a diagnostic mode specifying means, takes in the diagnostic mode information specified by the specifying means as a status when executing the initial diagnosis process, and performs diagnosis according to the diagnostic mode information. By adopting a configuration that executes initial diagnosis processing for a program or diagnostic program flow, the time spent on initial diagnosis during normal operation can be significantly reduced, and user program processing can be executed immediately after power is turned on. The efficient operation of the system can be measured.

【図面の簡単な説明】 第1図は本発明の一実施例に於ける要部の処理フローを
示すフローチャート、第2図は上記実施例に於ける要部
の回路構成を示す図、第3図は従来の処理フローを示す
フローチャートである。 1・・・スイッチ、2・・・マイクロプロセッサ、3・
・・ ROM。 出願人代理人 弁理士 鈴 江 武 彦第1図 ユーデプロ2“ラム 第2図 ・5v 第3ご 囲続 イリドY ニー1°アロ2°クム
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a flowchart showing the processing flow of the main parts in an embodiment of the present invention, FIG. 2 is a diagram showing the circuit configuration of the main parts in the above embodiment, and FIG. The figure is a flowchart showing a conventional processing flow. 1...Switch, 2...Microprocessor, 3.
... ROM. Applicant's Representative Patent Attorney Takehiko Suzue Figure 1 Udepro 2 "Ram Figure 2/5v 3rd Enclosure Irido Y Knee 1° Aro 2° Kum

Claims (1)

【特許請求の範囲】[Claims] 複数種の診断プログラムをROM上に持つマイクロプロ
セッサを用いた装置に於いて、診断モードの指定手段を
もち、初期診断処理実行時に前記指定手段で指定された
診断モード情報をステータスとして取込み、その診断モ
ード情報に従う診断プログラム又は診断プログラムフロ
ーの初期診断処理を実行することを特徴とした初期診断
方式。
In an apparatus using a microprocessor having multiple types of diagnostic programs on a ROM, the device has a diagnostic mode specifying means, and when executing initial diagnosis processing, the diagnostic mode information specified by the specifying means is taken in as a status, and the diagnostic An initial diagnosis method characterized by executing initial diagnosis processing of a diagnosis program or a diagnosis program flow according to mode information.
JP59253040A 1984-11-30 1984-11-30 Initial diagnostic system Pending JPS61131129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59253040A JPS61131129A (en) 1984-11-30 1984-11-30 Initial diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59253040A JPS61131129A (en) 1984-11-30 1984-11-30 Initial diagnostic system

Publications (1)

Publication Number Publication Date
JPS61131129A true JPS61131129A (en) 1986-06-18

Family

ID=17245638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59253040A Pending JPS61131129A (en) 1984-11-30 1984-11-30 Initial diagnostic system

Country Status (1)

Country Link
JP (1) JPS61131129A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63116244A (en) * 1986-11-04 1988-05-20 Nec Corp Self-diagnosing system
JPS63116243A (en) * 1986-11-04 1988-05-20 Nec Corp Self-diagnosing system
JPH0863252A (en) * 1994-08-26 1996-03-08 Nec Shizuoka Ltd Starting system for information processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63116244A (en) * 1986-11-04 1988-05-20 Nec Corp Self-diagnosing system
JPS63116243A (en) * 1986-11-04 1988-05-20 Nec Corp Self-diagnosing system
JPH0863252A (en) * 1994-08-26 1996-03-08 Nec Shizuoka Ltd Starting system for information processor

Similar Documents

Publication Publication Date Title
JPS61131129A (en) Initial diagnostic system
US6141635A (en) Method of diagnosing faults in an emulated computer system via a heterogeneous diagnostic program
JPS60254250A (en) Control sequencer for microdiagnosis having dual microprogram counter
JP2708471B2 (en) Processing device control method
JPH0652012A (en) Information processor having diagnostic function for peripheral part of device
JPS61221837A (en) Computer checking method
JPS58121459A (en) Service processor of electronic computer
JPH01315841A (en) Information processor
KR960011685A (en) Data processing device and method for handling interrupt request
JP2570119B2 (en) Software simulator
JPH07334389A (en) Daughter board for s/w debugging
JPH04330533A (en) Central processing unit
JPS62187942A (en) Debugging control processing system
JPH02244232A (en) Information processor
JPH08185326A (en) Interpreter language processor
JPS62107354A (en) Microprogram control device
JPH02252049A (en) Initializing control system for electronic computer constituted of multiprocessor
JPH03100836A (en) Fault diagnostic processing system
JPS62257542A (en) Diagnostic method for computer system
JP2000184064A (en) Fault data retaining system
JPS6336328A (en) Testing system for keyboard
JPS62151943A (en) Test system for microcomputer
JP2009175792A (en) Computer system and program loading method
JPS61233841A (en) Personal computer with self-diagnostic function
JPH07170265A (en) Plural-node system