JPH02220143A - Personal computer system - Google Patents

Personal computer system

Info

Publication number
JPH02220143A
JPH02220143A JP4244189A JP4244189A JPH02220143A JP H02220143 A JPH02220143 A JP H02220143A JP 4244189 A JP4244189 A JP 4244189A JP 4244189 A JP4244189 A JP 4244189A JP H02220143 A JPH02220143 A JP H02220143A
Authority
JP
Japan
Prior art keywords
diagnostic
diagnosis
data processing
program
self
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
JP4244189A
Other languages
Japanese (ja)
Inventor
Toshihiro Akiyoshi
秋吉 俊宏
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4244189A priority Critical patent/JPH02220143A/en
Publication of JPH02220143A publication Critical patent/JPH02220143A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To attain the self-diagnosis when a personal computer is connected to a local area network, etc., for execution of an on-line operation by carrying out a diagnostic mode even while a normal program of the personal computer is carried out when the diagnostic mode is selected for a diagnostic program. CONSTITUTION:In a diagnostic mode for the self-diagnosis, a program switch register 13 is switched to the diagnostic mode and the self-diagnosis is carried out with a diagnostic instruction of a diagnostic program memory part 12. Then the diagnostic state is diagnosed for a data processor 1A, a memory 2, and peripheral devices 31-3N respectively. These diagnostic results are stored in a diagnostic result holding register 15. At the same time, the contents of the expected value of an expected value store register 14 which is previously set via the part 1A are compared with the contents of the register 15 for analysis of both contents via a comparison/analysis circuit 16. Then the normal or abnormal state of each device is read out. Thus the self-diagnosis is attained for each component part.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パーソナルコンピュータシステムに係り、と
くに自己診断機能を備えたパーソナルコンピュータシス
テムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a personal computer system, and particularly to a personal computer system equipped with a self-diagnosis function.

〔従来の技術〕[Conventional technology]

パーソナルコンピュータは、一般に、マイクロプログラ
ム制御方式のデータ処理装置、記憶装置及び周辺装置等
により構成されている。この種のパーソナルコンピュー
タの自己診断は、従来は、電源投入時のみ行うのを常と
していた。そして、その自己診断の内容も、パーソナル
コンピュータが正常か異常かの判断に限定されたものが
多い。
A personal computer generally includes a microprogram-controlled data processing device, a storage device, peripheral devices, and the like. Conventionally, this type of self-diagnosis of personal computers has been performed only when the power is turned on. The content of the self-diagnosis is often limited to determining whether the personal computer is normal or abnormal.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

電源投入時のみ自己診断する従来例においては、パーソ
ナルコンピュータ内の各部の詳細な診断を行うことは不
可能となっている。又、ローカルエリアネットワークな
どにパソコンが接続されオンライン稼働した場合などは
、自己診断できない。
In the conventional example in which self-diagnosis is performed only when the power is turned on, it is impossible to perform detailed diagnosis of each part within the personal computer. Furthermore, self-diagnosis is not possible when the computer is connected to a local area network and operates online.

一方、多数のパソコンの組合せで構築されたシステムで
は、その信頼性、保守性が重要な要素となって来ている
On the other hand, reliability and maintainability have become important factors in systems constructed by combining a large number of personal computers.

又、オンライン稼働で電源を切ることができない場合は
、パソコンのどの部分のトラブルかを容易に判別するこ
とができないという欠点を備えていた。
Another disadvantage is that if the computer cannot be turned off while operating online, it is not possible to easily determine which part of the computer is having trouble.

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

本発明の目的は、かかる従来例の有する不都合を改善し
、と(に、各構成部の自己診断を行うことが可能なパー
ソナルコンピュータシステムを提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to improve the disadvantages of the conventional system and to provide a personal computer system capable of self-diagnosing each component.

〔課題を解決するための手段〕[Means to solve the problem]

本発明では、マイクロプログラム制御方式のデータ処理
装置と、これに併設された記憶装置及び周辺装置とを備
えている。この内、データ処理装置が、データ処理部と
、このデータ処理部を制御する読み出し専用プログラム
記憶部及び診断用プログラム記憶部と、これらのいずれ
かによってデータ処理装置をコントロールするかを決定
するプログラムスイッチレジスタと、データ処理装置か
ら出力される診断結果の期待値を予め格納する期待値格
納手段と、実際の診断結果を保持する診断結果保持手段
と、これら期待値と診断結果とを比較し解析する比較解
析手段とを有するという構成を採っている。これによっ
て前述した目的を達成しようとするものである。
The present invention includes a microprogram-controlled data processing device, and a storage device and peripheral devices attached thereto. Among these, the data processing device includes a data processing unit, a read-only program storage unit and a diagnostic program storage unit that control the data processing unit, and a program switch that determines whether the data processing device is controlled by any of these. A register, an expected value storage means that stores in advance the expected value of the diagnostic result output from the data processing device, a diagnostic result holding means that holds the actual diagnostic result, and these expected values and the diagnostic result are compared and analyzed. The system has a comparative analysis means. This aims to achieve the above-mentioned purpose.

〔発明の実施例〕[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及び周辺装置313!、・・・ 3Nと、
これらを連結する内部のバス4とを備えている。そして
、データ処理装置1は、データ処理部IAと、このデー
タ処理部を制御する読み出し専用プログラム記憶部11
及び診断用プログラム記憶部12と、これらのいずれか
によってデータ処理装置lをコントロールするかを決定
するプログラムスイッチレジスタ13と、データ処理装
置1から出力される診断結果の期待値を予め格納する期
待値格納手段としての期待値格納レジスタ14と、実際
の診断結果を保持する診断結果保持手段としての診断結
果保持レジスタ15と、これら期待値と診断結果とを比
較し解析する比較解析回路16とを備えている。
The embodiment shown in FIGS. 1 and 2 includes a microprogram-controlled data processing device 1, a storage device 2 and a peripheral device 313 attached thereto. ,... 3N and
It is equipped with an internal bus 4 that connects these. The data processing device 1 includes a data processing section IA and a read-only program storage section 11 that controls this data processing section.
and a diagnostic program storage unit 12, a program switch register 13 that determines which one of these will control the data processing device 1, and an expected value that stores in advance the expected value of the diagnostic result output from the data processing device 1. It includes an expected value storage register 14 as a storage means, a diagnostic result holding register 15 as a diagnostic result holding means for holding actual diagnostic results, and a comparison analysis circuit 16 that compares and analyzes these expected values and the diagnostic results. ing.

この内、プログラムスイッチレジスタ13と、読み出し
専用プログラム記憶部11及び診断用プログラム記憶部
12との間には、プログラムスイッチレジスタ13の設
定事項を実行するプログラムネクストアドレスレジスタ
13Aが装備されている。また、読み出し専用プログラ
ム記憶部11及び診断用プログラム記憶部12の出力側
には、マルチプレクサ21が装備されている。そして、
このマルチプレクサ21の出力は、データレジスタ22
を介してデータ処理部IAへ入力されるようになってい
る。
Among these, a program next address register 13A for executing the settings of the program switch register 13 is provided between the program switch register 13 and the read-only program storage section 11 and the diagnostic program storage section 12. Further, a multiplexer 21 is provided on the output side of the read-only program storage section 11 and the diagnostic program storage section 12. and,
The output of this multiplexer 21 is the data register 22
The data is inputted to the data processing unit IA via.

マルチプレクサ21は、プログラムスイッチレジスタ1
3に付勢されて作動し、系全体が通常モードか又は診断
モードに切り換得るようになっている。また、データレ
ジスタ22の出力は、前述したプログラムネクストアド
レスレジスタ13Aにも送られるようになっている。こ
れによって、設定され作動している系全体の動作の安定
が図られている。
Multiplexer 21 connects program switch register 1
3, the entire system can be switched to normal mode or diagnostic mode. Further, the output of the data register 22 is also sent to the program next address register 13A mentioned above. This stabilizes the operation of the entire system that has been set up and is in operation.

次に、上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.

通常のプログラムを実行する通常モードのときは、プロ
グラムスイッチレジスタ13を通常モードとし、読み出
し専用プログラム記憶部11の情報により、データ処理
部lAがコントロールされる。自己診断を行う診断モー
ドのときは、プログラムスイッチレジスタ13を診断モ
ードに切り換え1診断用プログラム記憶部12の診断命
令により実行される。そして、データ処理装置IA、記
憶装置2及び周辺装置3.〜3Nの各装置の診断状態が
診断され、その結果が診断結果を保持する診断結果保持
レジスタ15に格納される。同時に、データ処理部IA
を通してあらかじめ設定しておいた期待値格納レジスタ
14の期待値の内容と診断結果保持レジスタ15の内容
とが、比較解析回路16で解析、比較され、各装置の正
常又は異常状態が読み取られるようになっている。
In the normal mode in which a normal program is executed, the program switch register 13 is set to the normal mode, and the data processing section 1A is controlled by the information in the read-only program storage section 11. When in the diagnostic mode for self-diagnosis, the program switch register 13 is switched to the diagnostic mode and the program is executed according to a diagnostic command stored in the first diagnostic program storage section 12. Then, the data processing device IA, the storage device 2, and the peripheral device 3. The diagnostic status of each of the 3N devices is diagnosed, and the results are stored in the diagnostic result holding register 15 that holds the diagnostic results. At the same time, data processing unit IA
The expected value contents of the expected value storage register 14 and the contents of the diagnostic result holding register 15, which have been set in advance through It has become.

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

以上のように、本発明によると、読み出し専用と自己診
断用の2種類のプログラムを持ち、診断用プログラムの
診断モードを選択した場合にはパーソナルコンピュータ
の通常プログラム実行の間にも診断モードを実行するこ
とができ、ローカルエリアネットワークなどにパソコン
が接続されてオンライン稼働した場合でも、自己診断が
可能となり、さらに、電源を切ることがなくても自己診
断を行うことができるという従来にない優れたパーソナ
ルコンピュータシステムを提供することができる。
As described above, according to the present invention, there are two types of programs, one for read-only and one for self-diagnosis, and when the diagnostic mode of the diagnostic program is selected, the diagnostic mode is also executed during normal program execution of the personal computer. This makes it possible to perform self-diagnosis even when the computer is connected to a local area network and operates online. Furthermore, it is an unprecedented and excellent feature that allows self-diagnosis to be performed without having to turn off the power. A personal computer system can be provided.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図のデータ処理装置部分の具体例を示すブロック図
である。 l・・・マイクロプログラム制御方式のデータ処理装置
、IA・・・データ処理部、2・・・記憶装置、3゜3
!、〜、3N・・・周辺装置、11・・・読み出し専用
プログラム記憶部、12・・・診断用プログラム記憶部
、13・・・プログラムスイッチレジスタ、13A・・
・プログラムネクストアドレスレジスタ、14・・・期
待値格納レジスタ、15・・・診断結果保持レジスタ、
16・・・比較解析回路。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing a specific example of the data processing device portion of FIG. l...Microprogram control type data processing device, IA...data processing unit, 2...storage device, 3゜3
! , ~, 3N...Peripheral device, 11...Read-only program storage section, 12...Diagnostic program storage section, 13...Program switch register, 13A...
・Program next address register, 14...Expected value storage register, 15...Diagnostic result holding register,
16... Comparative analysis circuit.

Claims (1)

【特許請求の範囲】[Claims] (1)、マイクロプログラム制御方式のデータ処理装置
と、これに併設された記憶装置及び周辺装置とを備えた
パーソナルコンピュータシステムにおいて、 前記データ処理装置が、データ処理部と、このデータ処
理部を制御する読み出し専用プログラム記憶部及び自己
診断用の診断用プログラム記憶部と、これらのいずれか
によって前記データ処理装置をコントロールするかを決
定するプログラムスイッチレジスタと、前記データ処理
装置から出力される診断結果の期待値を予め格納する期
待値格納手段と、実際の診断結果を保持する診断結果保
持手段と、これら期待値と診断結果とを比較し解析する
比較解析手段とを有することを特徴とするパーソナルコ
ンピュータシステム。
(1) In a personal computer system comprising a microprogram control data processing device and a storage device and peripheral devices attached thereto, the data processing device controls a data processing section and the data processing section. a read-only program storage section and a diagnostic program storage section for self-diagnosis; a program switch register that determines whether the data processing device is controlled by either of them; A personal computer characterized by having an expected value storage means for storing expected values in advance, a diagnosis result holding means for holding actual diagnosis results, and a comparative analysis means for comparing and analyzing these expected values and the diagnosis results. system.
JP4244189A 1989-02-22 1989-02-22 Personal computer system Pending JPH02220143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4244189A JPH02220143A (en) 1989-02-22 1989-02-22 Personal computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4244189A JPH02220143A (en) 1989-02-22 1989-02-22 Personal computer system

Publications (1)

Publication Number Publication Date
JPH02220143A true JPH02220143A (en) 1990-09-03

Family

ID=12636163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4244189A Pending JPH02220143A (en) 1989-02-22 1989-02-22 Personal computer system

Country Status (1)

Country Link
JP (1) JPH02220143A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58159160A (en) * 1982-03-17 1983-09-21 Toshiba Corp Data processor
JPS61233841A (en) * 1985-04-08 1986-10-18 Nec Corp Personal computer with self-diagnostic function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58159160A (en) * 1982-03-17 1983-09-21 Toshiba Corp Data processor
JPS61233841A (en) * 1985-04-08 1986-10-18 Nec Corp Personal computer with self-diagnostic function

Similar Documents

Publication Publication Date Title
EP0638864B1 (en) Development support system for microcomputer with internal cache
JPH02220143A (en) Personal computer system
JPS6231447A (en) Bus analyzer
JPS59112350A (en) Supervising and controlling system of program
JPS61233841A (en) Personal computer with self-diagnostic function
JPS5822765B2 (en) Program loading method in electronic computer system
JPH0384639A (en) Self-diagnostic device for information processor
JPS62221043A (en) Monitor circuit for logical unit
JPH0496832A (en) Fault information gathering device
JPH06161832A (en) Trace controller
JPH02242439A (en) Program load control system
JPH0628328A (en) Self-diagnostic system for multiprocessor
JPH0362131A (en) Multiprocessor system
JPH03116338A (en) Maintenance control system
JPS60252960A (en) Program analysis controlling system
JPS6282438A (en) Control system for interruption of debug in information processor
JPH0215340A (en) Control system for state history memory device
JPH07129524A (en) High speed switching device of duplex system
JPH02176948A (en) Electronic computer with memory dumping function
JPH04335445A (en) Terminal fault information collecting system
JPH07271608A (en) Interruption generating circuit
JPH03204031A (en) System for suppressing execution of program
JPH05313954A (en) Multiprocessor and its information collecting method and memory operating method
JPS60142754A (en) Programming device
JPS6370346A (en) Test program control system