JPS63116244A - Self-diagnosing system - Google Patents

Self-diagnosing system

Info

Publication number
JPS63116244A
JPS63116244A JP26240886A JP26240886A JPS63116244A JP S63116244 A JPS63116244 A JP S63116244A JP 26240886 A JP26240886 A JP 26240886A JP 26240886 A JP26240886 A JP 26240886A JP S63116244 A JPS63116244 A JP S63116244A
Authority
JP
Japan
Prior art keywords
self
diagnosis
signal
program
execution
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
JP26240886A
Other languages
Japanese (ja)
Inventor
Takanori Umeki
梅木 尊則
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 JP26240886A priority Critical patent/JPS63116244A/en
Publication of JPS63116244A publication Critical patent/JPS63116244A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To execute self-diagnosis in a required diagnosing range and to shorten a time required for the self-diagnosis by selecting a program execution range to be the size of self-diagnosis in accordance with the attribute of an initializing signal. CONSTITUTION:When an initializing signal 10 is inputted to a signal width detecting circuit 2, the signal width is recognized by a signal width detecting clock 15 and any one of execution pointers in an execution pointer storing register 4 is selected. At the time of selecting one on the execution pointers (a)-(d), a diagnosing program 5 is selected in accordance with the instruction of the selected pointer. For instance, the signal width of an initializing signal generated at the time of turning on a power supply is different from that of an initializing signal based upon an initializing instruction. Thereby, the execution pointer (a) or (c) is respectively selected at the time of turning on the power supply or at the time of outputting the initializing instruction to switch the diagnosing range.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理装置の制御部の自己診断手段に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to self-diagnosis means for a control section of a data processing device.

〔概 要〕〔overview〕

本発明は、到来する初期化信号に応じて自己診断を実行
する手段において、 自己診断の規模になるプログラムの実行範囲を初期化信
号の属性に応じて選択することにより、所望の診断範囲
の自己診断を実行し自己診断に要する時間を短縮するも
のである。
The present invention provides means for executing self-diagnosis in response to an incoming initialization signal, by selecting a program execution range corresponding to the scale of the self-diagnosis in accordance with the attributes of the initialization signal. This is to shorten the time required for self-diagnosis by performing diagnosis.

〔従来の技術〕[Conventional technology]

従来、この種の自己診断手段を内蔵した制御装置は、本
装置の電源投入時や初期化時に発生する初期化信号に基
づき内蔵された自己診断プログラムを常に最初から実行
する。
Conventionally, a control device incorporating this type of self-diagnosis means always executes a built-in self-diagnosis program from the beginning based on an initialization signal generated when the device is powered on or initialized.

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

このような従来の自己診断手段は、診断プログラムを常
に最初から実行するので、自己診断の対象範囲が広いと
、診断に要する時間が長くなり即座に装置が使用できな
い欠点があった。
Since such conventional self-diagnosis means always execute the diagnostic program from the beginning, if the scope of self-diagnosis is wide, the time required for diagnosis becomes long and the device cannot be used immediately.

本発明はこのような欠点を除去するもので、所望の診断
を直ちに実行できる自己診断方式を提供することを目的
とする。
The present invention aims to eliminate such drawbacks and provides a self-diagnosis method that can immediately perform a desired diagnosis.

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

本発明は、プログラムを格納する記憶手段およびこの記
憶手段から抽出されたプログラムの内容に応じて自己診
断を実行する自己診断手段を備えた自己診断方式におい
て、上記プログラムは、自己診断についての複数個の異
なる範囲が設定され、また、初期化信号は、このプログ
ラムの異なる範囲に対応して異なる属性が設定され、こ
の初期化信号の属性に対応するプログラムの範囲を抽出
して上記自己診断手段に与える制御手段を備えたことを
特徴とする。
The present invention provides a self-diagnosis method comprising a storage means for storing a program and a self-diagnosis means for executing a self-diagnosis according to the contents of the program extracted from the storage means, in which the above-mentioned program includes a plurality of self-diagnosis methods. Different ranges are set for the initialization signal, and different attributes are set for the initialization signal corresponding to the different ranges of this program, and the range of the program corresponding to the attributes of this initialization signal is extracted and used for the self-diagnosis means. The invention is characterized in that it is equipped with a control means to give.

初期化信号の属性がこの信号の信号幅であることが好ま
しい。
Preferably, the attribute of the initialization signal is the signal width of this signal.

〔作 用〕[For production]

初期化信号の属性は、実行されるプログラム範囲の相異
に対応して設定される。この属性は、たとえば信号の信
号幅である。
The attributes of the initialization signal are set depending on the range of programs to be executed. This attribute is, for example, the signal width of the signal.

到来した初期化信号の属性が検出されると、これに対応
するプログラム範囲が記憶手段から制御手段に転送され
、この制御手段で自己診断が実行される。
When the attribute of the incoming initialization signal is detected, the corresponding program range is transferred from the storage means to the control means, and the control means executes a self-diagnosis.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

図は本発明の一実施例の構成を示すブロック構成図であ
る。
The figure is a block configuration diagram showing the configuration of an embodiment of the present invention.

初期化信号10が信号幅検出回路2に入力されると、信
号幅検出用クロック15によってその信号幅が認識され
、実行ポインタ格納レジスタ4のいずれかが選択される
。実行ポインタa、b、cおよびdの一つが選択される
と、その指示にしたがって診断プログラム5が実行され
る。たとえば、電源投入時に発生する初期化信号と初期
化命令による初期化信号の信号幅とは異なるので、電源
投入時は実行ポインタaが、また初期化命令時は実行ポ
インタCが選択され診断範囲が切換えられる。
When the initialization signal 10 is input to the signal width detection circuit 2, the signal width is recognized by the signal width detection clock 15, and one of the execution pointer storage registers 4 is selected. When one of the execution pointers a, b, c, and d is selected, the diagnostic program 5 is executed according to that instruction. For example, since the signal width of the initialization signal generated when the power is turned on is different from the signal width of the initialization signal generated by the initialization command, execution pointer a is selected when the power is turned on, and execution pointer C is selected when the initialization command is issued, and the diagnostic range is Can be switched.

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

本発明は、以上説明したように、初期化信号の信号幅に
応じて自己診断の実行範囲を切換えるので、診断機能を
低下させることなく必要に応じて診断時間を短縮できる
効果がある。
As described above, the present invention switches the execution range of self-diagnosis according to the signal width of the initialization signal, and therefore has the effect of shortening the diagnosis time as necessary without degrading the diagnostic function.

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

図は本発明実施例の構成を示すブロック構成図。 ■・・・制御装置、2・・・信号幅検出回路、3・・・
クロック発生回路、4・・・実行ポインタ格納レジスタ
、5・・・診断プログラム、1o・・・初期化信号、1
5・・・信号幅検出用クロック、a −d・・・実行ポ
インタ。 代理人  弁理士 井 出 直 孝 実施例の構成図
The figure is a block configuration diagram showing the configuration of an embodiment of the present invention. ■...Control device, 2...Signal width detection circuit, 3...
Clock generation circuit, 4... Execution pointer storage register, 5... Diagnostic program, 1o... Initialization signal, 1
5... Clock for signal width detection, a-d... Execution pointer. Agent Patent Attorney Nao Takashi Ide Structure diagram of practical example

Claims (2)

【特許請求の範囲】[Claims] (1)プログラムを格納する記憶手段およびこの記憶手
段から抽出されたプログラムの内容に応じて自己診断を
実行する自己診断手段 を備えた自己診断方式において、 上記プログラムは、自己診断についての複数個の異なる
範囲が設定され、 また、初期化信号は、このプログラムの異なる範囲に対
応して異なる属性が設定され、 この初期化信号の属性に対応するプログラムの範囲を抽
出して上記自己診断手段に与える制御手段を備えたこと
を特徴とする自己診断方式。
(1) In a self-diagnosis method comprising a storage means for storing a program and a self-diagnosis means for executing a self-diagnosis according to the contents of the program extracted from the storage means, the above program is configured to carry out multiple self-diagnosis tests. Different ranges are set, and the initialization signal has different attributes set corresponding to the different ranges of this program, and the range of the program corresponding to the attributes of this initialization signal is extracted and given to the self-diagnosis means. A self-diagnosis method characterized by being equipped with a control means.
(2)初期化信号の属性がこの信号の信号幅である特許
請求の範囲第(1)項に記載の自己診断方式。
(2) The self-diagnosis method according to claim (1), wherein the attribute of the initialization signal is the signal width of this signal.
JP26240886A 1986-11-04 1986-11-04 Self-diagnosing system Pending JPS63116244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26240886A JPS63116244A (en) 1986-11-04 1986-11-04 Self-diagnosing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26240886A JPS63116244A (en) 1986-11-04 1986-11-04 Self-diagnosing system

Publications (1)

Publication Number Publication Date
JPS63116244A true JPS63116244A (en) 1988-05-20

Family

ID=17375364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26240886A Pending JPS63116244A (en) 1986-11-04 1986-11-04 Self-diagnosing system

Country Status (1)

Country Link
JP (1) JPS63116244A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61131129A (en) * 1984-11-30 1986-06-18 Toshiba Corp Initial diagnostic system
JPS61138355A (en) * 1984-12-11 1986-06-25 Oki Electric Ind Co Ltd Mode setting system of microcomputer
JPS61198337A (en) * 1985-02-28 1986-09-02 Toshiba Corp Self-diagnosing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61131129A (en) * 1984-11-30 1986-06-18 Toshiba Corp Initial diagnostic system
JPS61138355A (en) * 1984-12-11 1986-06-25 Oki Electric Ind Co Ltd Mode setting system of microcomputer
JPS61198337A (en) * 1985-02-28 1986-09-02 Toshiba Corp Self-diagnosing device

Similar Documents

Publication Publication Date Title
JPS63116244A (en) Self-diagnosing system
KR900015014A (en) Data processor
JPS63116243A (en) Self-diagnosing system
JPS6167148A (en) Microcomputer
JPS62279438A (en) Tracking circuit
JPH01136251A (en) Self-diagnosing system
JPS62109137A (en) Data processing system
JPS6042968B2 (en) information processing equipment
JPS63223932A (en) Information processor
JPS6128144A (en) Executing device of tracing
JPH0362131A (en) Multiprocessor system
JPS60101612A (en) Programmable controller
JPS6248865B2 (en)
JPH03201043A (en) Control signal generator
JPH0340039A (en) Firmware diagnostic device
JPH047754A (en) Microcomputer
JPS60178524A (en) One-chip microcomputer
JPH04105140A (en) Collection system for switch operation history
JPH04330533A (en) Central processing unit
JPS62147538A (en) Reset system for watchdog timer for device using microcomputer
JPS60193051A (en) Error analyzer
JPS61233841A (en) Personal computer with self-diagnostic function
JPH01121950A (en) Microprocessor with trace function
WO1990001734A1 (en) Trace control method for pc
JPS63124145A (en) Information processor