JPH02220142A - Diagnostic controller for microprocessor - Google Patents

Diagnostic controller for microprocessor

Info

Publication number
JPH02220142A
JPH02220142A JP1042436A JP4243689A JPH02220142A JP H02220142 A JPH02220142 A JP H02220142A JP 1042436 A JP1042436 A JP 1042436A JP 4243689 A JP4243689 A JP 4243689A JP H02220142 A JPH02220142 A JP H02220142A
Authority
JP
Japan
Prior art keywords
microprocessor
processor
diagnostic control
control processor
data bus
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
JP1042436A
Other languages
Japanese (ja)
Inventor
Sumitaka Matsutani
松谷 純孝
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 JP1042436A priority Critical patent/JPH02220142A/en
Publication of JPH02220142A publication Critical patent/JPH02220142A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To shorten the time when a microprocessor is occupied for diagnosis by setting a signal line containing a buffer memory between the microprocessor and a diagnostic control processor in addition to an inter-processor data bus. CONSTITUTION:A signal line containing a buffer memory 1 is set between a microprocessor 22 and a diagnostic control processor 21 in addition to an inter-processor data bus 23. The information on a control memory part 24 is once transferred to the memory 1 and then to the processor 21. In this case, the information can be transferred to the memory 1 in an extremely short time compared with the transfer of information carried out via the microprocessor 22 and the bus 23. As a result, the time when the processor 22 is occupied by the processor 21 is shortened and the working of the processor 22 is never stopped. Thus an original process is smoothly carried out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置のマイクロプロセッサ診断制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprocessor diagnostic control device for an information processing device.

〔従来の技術〕[Conventional technology]

記憶装置はICメモリ化され、周辺回路もLSI化が進
展したことによって、その故障の傾向も変化している。
As storage devices have become IC memories and peripheral circuits have become more integrated into LSIs, the tendency of their failures has also changed.

LSI化の進んだICメモリでは、記憶素子の故障の比
率が90%を占めており、記憶素子に関する信幀性向上
対策が重要になっている。このため、記憶素子等の故障
の状況を把握する診断装置が必要となっている。
In IC memories, which have become increasingly integrated into LSIs, failures in storage elements account for 90% of the time, making it important to take measures to improve the reliability of storage elements. For this reason, there is a need for a diagnostic device that can grasp the failure status of storage elements and the like.

第2図に従来例を示す。FIG. 2 shows a conventional example.

この第2図に示す従来例においては、外部から命令を入
力するとともに外部へ情報を出力する外部入出力部20
と、この外部入出力部20からの命令によってマイクロ
プロセッサ22の診断制御を行う診断制御プロセッサ2
1と、マイクロプロセッサ22と診断制御プロセッサ2
1との間に装備されたプロセッサ間データバス23と、
マイクロプロセッサ22の診断に用いられるデータが入
力されている制御記憶部24より構成されている。
In the conventional example shown in FIG. 2, an external input/output unit 20 inputs commands from the outside and outputs information to the outside.
and a diagnostic control processor 2 that performs diagnostic control of the microprocessor 22 based on instructions from the external input/output unit 20.
1, a microprocessor 22 and a diagnostic control processor 2
1, an inter-processor data bus 23 provided between the
It is comprised of a control storage section 24 into which data used for diagnosing the microprocessor 22 is input.

次に、この第2図に示す従来例の動作説明をする。Next, the operation of the conventional example shown in FIG. 2 will be explained.

制御記憶部24は、マイクロプロセッサ22の通常の処
理を実行している時は、その処理内容を、また、異常が
発生した場合には異常箇所やその内容などの情報を、随
時記憶している。従って、マイクロプロセッサ22に故
障が生じた場合等に、その故障の内容を知りたい時は、
オペレータは、外部入出力部20から、診断制御プロセ
ッサ21に診断を実行する命令を入力する。診断制御プ
ロセッサ21は、マイクロプロセッサ22に命令して制
御記憶部24に格納されている情報を得る。
The control storage unit 24 stores the processing contents when the microprocessor 22 is executing normal processing, and also stores information such as the location of the abnormality and its contents when an abnormality occurs. . Therefore, when a failure occurs in the microprocessor 22 and you want to know the details of the failure,
The operator inputs a command for executing diagnosis to the diagnostic control processor 21 from the external input/output unit 20 . Diagnostic control processor 21 instructs microprocessor 22 to obtain information stored in control storage 24 .

この情報は、プロセッサ間データバス23を通してマイ
クロプロセッサ22から診断制御プロセッサ21に伝達
される。マイクロプロセッサ22と診断制御プロセッサ
21との間には、プロセッサ間データバス23のみしか
ないため、診断制御プロセッサ21が制御記憶部24に
格納されている情報を得るには、−旦、マイクロプロセ
ッサ22の動作を止めて別のパスからデータを得るか、
若しくは、マイクロプロセッサ22の動作をとめずに、
診断制御プロセッサ21がマイクロプロセッサ22を占
有してデータを得ることが行われている。
This information is transmitted from microprocessor 22 to diagnostic control processor 21 via interprocessor data bus 23. Since there is only the inter-processor data bus 23 between the microprocessor 22 and the diagnostic control processor 21, in order for the diagnostic control processor 21 to obtain the information stored in the control storage section 24, the microprocessor 22 must first be connected to the microprocessor 22. Either stop the operation and get the data from another path, or
Or, without stopping the operation of the microprocessor 22,
The diagnostic control processor 21 occupies the microprocessor 22 to obtain data.

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

上記従来例においては、診断制御プロセッサが制御記憶
部に格納されている情報を得るには、−旦、マイクロプ
ロセッサの動作を止めて別のパスからデータを得るか、
若しくは、マイクロプロセッサの動作をとめずに行う場
合がある。しかし、マイクロプロセッサの動作を止めて
別のパスからデータを得る方法は、マイクロプロセッサ
の本来の処理を完全に中断しなければならないという欠
点がある。また、マイクロプロセッサの動作をとめずに
行うには、マイクロプロセッサと診断制御プロセッサと
の間には、プロセッサ間データバスしかないため、診断
制御プロセッサがマイクロプロセッサを占有する必要が
ある。この時間は、診断制御プロセッサが、プロセッサ
間データバスおよびマイクロプロセッサを通して、制御
記憶部に格納されている情報を得るため、かなりの時間
となり、その間、他の処理の実行が行えないという不都
合が生じていた。
In the above-mentioned conventional example, in order for the diagnostic control processor to obtain the information stored in the control storage unit, it must first stop the operation of the microprocessor and obtain data from another path, or
Alternatively, it may be performed without stopping the operation of the microprocessor. However, the method of stopping the operation of the microprocessor and obtaining data from another path has the disadvantage that the original processing of the microprocessor must be completely interrupted. In addition, in order for the microprocessor to operate without stopping, the diagnostic control processor must occupy the microprocessor since there is only an inter-processor data bus between the microprocessor and the diagnostic control processor. This time is considerable because the diagnostic control processor obtains the information stored in the control storage unit through the interprocessor data bus and the microprocessor, and this creates the inconvenience that other processing cannot be performed during this time. was.

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

本発明の目的は、このような従来例に見られる不都合を
改善し、診断時にマイクロプロセッサを占有する時間を
減少させて、通常の処理の実行を妨げないようなマイク
ロプロセッサ診断制御装置を提供することにある。
An object of the present invention is to provide a microprocessor diagnostic control device that improves the disadvantages seen in the conventional example, reduces the time that the microprocessor is occupied during diagnosis, and does not interfere with the execution of normal processing. There is a particular thing.

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

零発ILrは、外部から命令を入力するとともに外部へ
情報を出力する外部入出力部と、この外部入出力部から
の命令によってマイクロプロセッサの診断制御を行う診
断制御プロセッサと、マイクロプロセッサと診断制御プ
ロセッサとの間に装備されたプロセッサ間データバスと
、マイクロプロセッサの診断に用いられるデータが入力
されている制御記憶部とを備えている。そして、マイク
ロプロセッサと診断制御プロセッサとの間に、プロセッ
サ間データバスと平行して、バッファメモリを装備した
信号線を並設するという手法を採っている。これによっ
て前述した目的を達成しようとするものである。
The zero-source ILr consists of an external input/output unit that inputs instructions from the outside and outputs information to the outside, a diagnostic control processor that performs diagnostic control of the microprocessor based on instructions from the external input/output unit, and a microprocessor and diagnostic control. The microprocessor includes an interprocessor data bus connected to the processor, and a control storage section into which data used for diagnosing the microprocessor is input. A method is adopted in which a signal line equipped with a buffer memory is arranged in parallel with the inter-processor data bus between the microprocessor and the diagnostic control processor. This aims to achieve the above-mentioned purpose.

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

以下、本発明の一実施例を第1図に基づいて説明する。 An embodiment of the present invention will be described below with reference to FIG.

なお、前述した従来例と同一の構成部材については、同
一の符号を用いることとする。
Note that the same reference numerals are used for the same constituent members as in the conventional example described above.

この第1図に示す実施例においては、外部から命令を入
力するとともに外部へ情報を出力する外部入出力部20
と、この外部入出力部20からの命令によってマイクロ
プロセッサ22の診断制御を行う診断制御プロセッサ2
1と、マイクロプロセッサ22と診断制御プロセッサ2
1とを結ぶプロセッサ間データバス23と、マイクロプ
ロセッサ22の診断に用いられるデータが入力されてい
る制御記憶部24とを備えている。そして、マイクロプ
ロセッサ22と診断制御プロセッサ21との間に、プロ
セッサ間データバス23に加えて、バッファメモリ1を
装備した信号を並設している。
In the embodiment shown in FIG. 1, an external input/output unit 20 inputs commands from the outside and outputs information to the outside.
and a diagnostic control processor 2 that performs diagnostic control of the microprocessor 22 based on instructions from the external input/output unit 20.
1, a microprocessor 22 and a diagnostic control processor 2
1, and a control storage section 24 into which data used for diagnosing the microprocessor 22 is input. In addition to an inter-processor data bus 23, a signal equipped with a buffer memory 1 is provided between the microprocessor 22 and the diagnostic control processor 21.

次に、この第1図に示す実施例の動作説明をする。Next, the operation of the embodiment shown in FIG. 1 will be explained.

制御記憶部24は、前述した従来例と同様にマイクロプ
ロセッサ22の通常の処理を実行している時は、その処
理内容を、また、異常が発生した場合には異常箇所やそ
の内容などの情報を随時記憶している。従って、マイク
ロプロセッサ22の状態を調べたり、マイクロプロセッ
サ22に故障が生じた場合等に、その故障の箇所や内容
を知りたい時は、制御記憶部24に記憶している情報を
みればよい。
As in the conventional example described above, the control storage unit 24 stores information such as the contents of the processing when the microprocessor 22 is executing normal processing, and information such as the location of the abnormality and its contents when an abnormality occurs. I remember it all the time. Therefore, if you want to check the status of the microprocessor 22 or know the location and details of the failure in the case of a failure in the microprocessor 22, you can look at the information stored in the control storage unit 24.

まず、マイクロプロセッサ22の状態を調べたい時には
、オペレータは、外部入出力部20から診断制御プロセ
ッサ21に命令して、制御記憶部24の内容をバッファ
メモリlにメモリダンプさせる。そのためには、診断制
御プロセッサ21は、外部入出力部20から受は取った
命令を、プロセッサ間データバス23を通してマイクロ
プロセッサ22に送信する。マイクロプロセッサ22は
受信した命令に従ってバッファメモリ1を占有し、制御
記憶部24からメモリダンプした内容をバッファメモリ
1に書き込む。メモリダンプが完了すると、マイクロプ
ロセッサ22はバッファメモリ1の占有を解除し、プロ
セッサ間データバス23を通して、メモリダンプが完了
したことを診断制御プロセッサ21に伝達する。その後
、マイクロプロセッサ22は診断制御プロセッサ21の
占有から解除され、自分の本来の処理を実行する。診断
制御プロセッサ21は、メモリダンプが完了したという
信号に基づいてバッファメモリ1を占有し、そこから自
分の記憶領域にデータを記憶し、バッファメモリ1の占
有を解除する。診断制御プロセッサ21は、このように
して、制御記憶部24に記憶されている情報を得ること
が出来る0診断制御プロセッサ21は、記憶している内
容を、外部入出力部20に転送して出力する。
First, when the operator wants to check the status of the microprocessor 22, the operator instructs the diagnostic control processor 21 from the external input/output section 20 to memory dump the contents of the control storage section 24 into the buffer memory l. To do this, the diagnostic control processor 21 transmits the instructions received from the external input/output unit 20 to the microprocessor 22 via the interprocessor data bus 23. The microprocessor 22 occupies the buffer memory 1 according to the received command and writes the contents of the memory dump from the control storage section 24 to the buffer memory 1. When the memory dump is completed, the microprocessor 22 releases the buffer memory 1 and notifies the diagnostic control processor 21 through the inter-processor data bus 23 that the memory dump has been completed. Thereafter, the microprocessor 22 is released from occupying the diagnostic control processor 21 and executes its own original processing. The diagnostic control processor 21 occupies the buffer memory 1 based on the signal indicating that the memory dump is completed, stores data therein in its own storage area, and releases the occupancy of the buffer memory 1. In this way, the diagnostic control processor 21 can obtain the information stored in the control storage section 24.The diagnostic control processor 21 transfers the stored contents to the external input/output section 20 and outputs them. do.

一方、マイクロプロセッサ22に何らかの障害が発生し
た場合には、異常箇所やその内容などを知らせる為に、
マイクロプロセッサ22は診断制御プロセッサ21に対
して、メモリダンプの要求命令をプロセッサ間データバ
ス23を通して発信する。そして、バッファメモリ1を
占有し、制御記憶部24において障害内容を格納してい
るメモリテーブルをバッファメモリ1に転送する。転送
完了後、マイクロプロセッサ22は、バッファメモリ1
の占有を解除し、転送が完了したことを診断制御プロセ
ッサ21に知らせる。その後、マイクロプロセッサ22
は診断制御プロセッサ21の占有から解除され、自分の
本来の処理を実行する。
On the other hand, when some kind of failure occurs in the microprocessor 22, in order to notify the abnormality and its contents,
The microprocessor 22 sends a memory dump request command to the diagnostic control processor 21 through the inter-processor data bus 23. Then, it occupies the buffer memory 1 and transfers the memory table storing the failure details in the control storage section 24 to the buffer memory 1. After the transfer is completed, the microprocessor 22 transfers the buffer memory 1
and notifies the diagnostic control processor 21 that the transfer has been completed. After that, the microprocessor 22
is released from occupying the diagnostic control processor 21 and executes its own original processing.

診断制御プロセッサ21は、マイクロプロセッサ22か
らの転送完了信号に基づいてバッファメモリ1を占有し
、バッファメモリ1に転送されたメモリテーブルを診断
制御プロセッサ21自身の記憶領域に記憶して、バッフ
ァメモリ1の占有を解除する。そして、診断制御プロセ
ッサ21は、記憶している内容を外部入出力部20に転
送して出力する。
The diagnostic control processor 21 occupies the buffer memory 1 based on the transfer completion signal from the microprocessor 22, stores the memory table transferred to the buffer memory 1 in its own storage area, and transfers the memory table to the buffer memory 1. Release the possession of. The diagnostic control processor 21 then transfers the stored contents to the external input/output unit 20 and outputs them.

[発明の効果] 以上説明したように、本発明によると、マイクロプロセ
ッサと診断制御プロセッサとの間に、プロセッサ間デー
タバスに加えて、バッファメモリを装備、した信号線を
並設したことにより、制御記憶部の情報を一旦バッファ
メモリに転送し、その後、診断制御プロセッサに転送す
る。このとき、制御記憶部の情報をバッファメモリに転
送するのは、マイクロプロセッサを介してプロセッサ間
データバスを通して情報を転送するのに比して、極めて
短時間で転送されるため、診断制御プロセッサによるマ
イクロプロセッサの占有時間を大幅に減少させることが
できる。このため、マイクロプロセッサを停止させるこ
となく、本来の処理の実行を妨げることの極めて少ない
という、従来に無い優れたマイクロプロセッサ診断制御
装置を提供することができる。
[Effects of the Invention] As explained above, according to the present invention, in addition to the inter-processor data bus, a signal line equipped with a buffer memory is arranged in parallel between the microprocessor and the diagnostic control processor. The information in the control storage unit is once transferred to a buffer memory and then transferred to the diagnostic control processor. At this time, the information in the control storage section is transferred to the buffer memory in an extremely short time compared to transferring the information via the microprocessor and the inter-processor data bus, so the diagnostic control processor The time occupied by the microprocessor can be significantly reduced. Therefore, it is possible to provide an unprecedented microprocessor diagnostic control device that does not stop the microprocessor and rarely interferes with the execution of the original processing.

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

第1図は本発明の一実施例を表すブロック図、第2図従
来例を表すブロック図である。 1・・・・・・バッファメモリ、20・・・・・・外部
入出力部、21・・・・・・診断制御プロセッサ、23
・・・・・・プロセッサ間データバス、24・・・・・
・制御記憶部。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional example. DESCRIPTION OF SYMBOLS 1... Buffer memory, 20... External input/output unit, 21... Diagnostic control processor, 23
...Inter-processor data bus, 24...
- Control storage unit.

Claims (1)

【特許請求の範囲】[Claims] (1)、外部から命令を入力するとともに外部へ情報を
出力する外部入出力部と、この外部入出力部からの命令
によってマイクロプロセッサの診断制御を行う診断制御
プロセッサと、前記マイクロプロセッサと前記診断制御
プロセッサとの間に装備されたプロセッサ間データバス
と、前記マイクロプロセッサの診断に用いられるデータ
が入力されている制御記憶部とを備えて成るマイクロプ
ロセッサ診断制御装置において、 前記マイクロプロセッサと診断制御プロセッサとの間に
、前記プロセッサ間データバスに加えて、バッファメモ
リを装備した信号線を並設したことを特徴とするマイク
ロプロセッサ診断制御装置。
(1) an external input/output unit that inputs instructions from the outside and outputs information to the outside; a diagnostic control processor that performs diagnostic control of a microprocessor according to instructions from the external input/output unit; and the microprocessor and the diagnostic control processor. A microprocessor diagnostic control device comprising an inter-processor data bus installed between the microprocessor and the diagnostic control device, and a control storage section into which data used for diagnosing the microprocessor is input. A microprocessor diagnostic control device, characterized in that, in addition to the inter-processor data bus, a signal line equipped with a buffer memory is arranged between the microprocessor and the processor.
JP1042436A 1989-02-22 1989-02-22 Diagnostic controller for microprocessor Pending JPH02220142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1042436A JPH02220142A (en) 1989-02-22 1989-02-22 Diagnostic controller for microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1042436A JPH02220142A (en) 1989-02-22 1989-02-22 Diagnostic controller for microprocessor

Publications (1)

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

Family

ID=12636018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1042436A Pending JPH02220142A (en) 1989-02-22 1989-02-22 Diagnostic controller for microprocessor

Country Status (1)

Country Link
JP (1) JPH02220142A (en)

Similar Documents

Publication Publication Date Title
US5452469A (en) Command performing order change over system based on information contained in executed command in a data processor
US20070055480A1 (en) System and method for self-diagnosis in a controller
JPH02220142A (en) Diagnostic controller for microprocessor
JP2584903B2 (en) External device control method
JPS59103121A (en) Information processor
JP3350069B2 (en) Bus line monitoring method
JPH0152774B2 (en)
JP2778890B2 (en) CPU mounted integrated circuit chip and emulator pod
JP2002049606A (en) Multi-cpu system
JPH0238279A (en) Data transmission control device
JP3012402B2 (en) Information processing system
JPS6269348A (en) Data transfer device
JPS5918722B2 (en) process control equipment
JPH0827761B2 (en) Dual-system simultaneous writing method for dual memory
JP2558902B2 (en) Semiconductor integrated circuit device
JPS63155254A (en) Information processor
JPH10333729A (en) Numerical controller
JPS61139858A (en) Access control system for dual port memory
JPH02103482A (en) Integrated circuit device
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPH03136143A (en) Incircuit emulator
JPS59144933A (en) Data channel
JPS62191953A (en) Diagnosing system for dma controller
JPH03292540A (en) Diagnostic device for abnormality of computer
JPH0363098B2 (en)