JPH02129744A - Data transfer equipment - Google Patents

Data transfer equipment

Info

Publication number
JPH02129744A
JPH02129744A JP63284256A JP28425688A JPH02129744A JP H02129744 A JPH02129744 A JP H02129744A JP 63284256 A JP63284256 A JP 63284256A JP 28425688 A JP28425688 A JP 28425688A JP H02129744 A JPH02129744 A JP H02129744A
Authority
JP
Japan
Prior art keywords
state
data transfer
log
cpu
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
JP63284256A
Other languages
Japanese (ja)
Inventor
Kyoji Kawagishi
川岸 恭司
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 JP63284256A priority Critical patent/JPH02129744A/en
Publication of JPH02129744A publication Critical patent/JPH02129744A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily execute information collection for debugging by stopping the operation of a upper-order device at the time of detecting and deciding that a self-device is set up to a previously set prescribed state to read out the internal state of the self-device to the external. CONSTITUTION:In a processing system including a CPU 1, a data transfer equip ment 2 and a service processor 3, the data transfer equipment 2 adopts a microprogram control system and consists of a start/stop control part 21, a log-out part 22 and a status deciding part 23. The status deciding part 23 generates a stop instruction in response to the detection/decision of coincidence between the state of the self-device and a previously set state, and after stopping the CPU 1, the log-out part 22 executes the log-out of the internal state of the self-device and generates a start instruction to restart the operation of a program in the CPU 1. Consequently, the program is easily collect information for debugging without considering time required for the log-out.

Description

【発明の詳細な説明】 失五欠1 本発明はデータ転送装置に関し、特にマイクロプログラ
ム制御方式のデータ転送装置におけるデバ・ラグ方法に
関する。
DETAILED DESCRIPTION OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer device, and more particularly to a debugging method in a microprogram-controlled data transfer device.

延土孜亘 従来、この種のデータ転送装置においては、データ転送
の実行中に入出力装置から受取ったステータスや内部の
制御情報の特定条件のときに内部状態を収集する方法と
して、条件成立時に自装置のクロックを止めた後にログ
アウトするか、または手動により採集するか、あるいは
少量のログを自分で出力して処理を続行する方法が取ら
れていた。
Traditionally, in this type of data transfer device, the internal state of the status and internal control information received from the input/output device during execution of data transfer is collected when the condition is satisfied. The methods used were to log out after stopping the clock of the own device, to collect the logs manually, or to output a small amount of logs by oneself and continue processing.

このような従来のデータ転送装置では、条件成立時に自
装置のクロックを止めた後にログデータを収集する場合
、自装置の内部状態を必要なだけ収集することができる
が、自装置のクロックだけが停止状態となるため、上位
装置からの指示によりリセット命令が発行されて内部状
態が変化する可能性があるという欠点がある。
In such conventional data transfer devices, when collecting log data after stopping the clock of the own device when a condition is satisfied, it is possible to collect as much of the internal state of the own device as necessary, but only the clock of the own device is collected. Since it is in a stopped state, there is a drawback that a reset command may be issued in response to an instruction from a higher-level device and the internal state may change.

また、この場合、最初の条件を検出した時のみしか自装
置のクロックを停止させることができず、任意の回数条
件が検出されたときの停止や同−条件によるトレースを
行うことが困難であるという欠点がある。
In addition, in this case, the clock of the device itself can only be stopped when the first condition is detected, making it difficult to stop when the condition is detected an arbitrary number of times or to perform tracing under the same condition. There is a drawback.

さらに、手動により採集したり、あるいは少量のログを
自分で出力して処理を続行したりする方法は、通常、入
出力装置におけるチャネル障害や入出力インタフェース
障害の検出時におけるログデータの収集に用いられるが
、大蓋のログデータを収集しようとすると、上位装置か
らの後続の起動に対して一定時間以内に応答できなくな
ってしまうという欠点がある。
In addition, manual collection or outputting a small amount of logs yourself to continue processing is typically used to collect log data when detecting channel failures or I/O interface failures in I/O devices. However, if you try to collect the log data of the large lid, there is a drawback that it will not be possible to respond to subsequent activation from the host device within a certain period of time.

良匪五且刀 本発明は上記のような従来のらのの欠点を除去すべくな
されたもので、プログラム側でログアウトに要する時間
を考慮することなく、デバッグのための情報収集を容易
に行うことができるデータ転送装置の提供を目的とする
The present invention was made in order to eliminate the drawbacks of the conventional Rano as described above, and it is possible to easily collect information for debugging without considering the time required for logging out on the program side. The purpose is to provide a data transfer device that can.

九肌座1羞 本発明によるデータ転送装置は、マイクロプログラム制
御方式のデータ転送装置であって、自装置が予め設定さ
れた所定状態となったことを検出判定する状態判定手段
と、前記状態判定手段による前記所定状態の検出判定に
応答して上位装置に動作停止指令を発行するストップ制
御手段と、前記動作停止指令により前記上位装置の動作
が停止した後に自装置の内部状態を外部に読出すログア
ウト手段と、前記ログアウト手段により前記内部状態を
読出した後に前記上位装置に動作開始指令を発行するス
タート制御手段とを有することを特徴とする。
A data transfer device according to the present invention is a data transfer device using a microprogram control method, and includes a state determining means for detecting and determining whether the device itself is in a preset predetermined state, and a state determining device that detects and determines that the device is in a predetermined state. a stop control means for issuing an operation stop command to a host device in response to a detection determination of the predetermined state by the means; and a stop control means for reading out the internal state of the host device to the outside after the operation of the host device is stopped by the operation stop command. The apparatus is characterized by comprising a logout means and a start control means for issuing an operation start command to the host device after the internal state is read by the logout means.

X1週 次に、本発明の一実施例について図面を参照して説明す
る。
Week X1 Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のシステムブロック図であり
、CPUIとデータ転送装置2とサービスプロセッサ(
SVP)3とを含む一般的な情報処理システムを示して
いる。尚、本実施例においては、記憶装置、入出力装置
、操作パネル、保守パネル等は省略されている。
FIG. 1 is a system block diagram of one embodiment of the present invention, in which the CPU, data transfer device 2, and service processor (
A general information processing system including SVP) 3 is shown. In this embodiment, a storage device, an input/output device, an operation panel, a maintenance panel, etc. are omitted.

データ転送装置2はマイクロプログラム制御方式が採用
されており、スタートストップ制御部21、ログアウト
部22、状態判定部23を含んで構成されている。
The data transfer device 2 employs a microprogram control system and includes a start/stop control section 21, a logout section 22, and a status determination section 23.

状態判定部23はマイクロプログラムにより実現される
ものであり、マイクロプログラムでアクセス可能な装置
の状態、たとえば入出力装置とのデータ転送における起
動状態、転送状態、報告動作中に送られてくるステータ
スの値あるいは入出力装置から送られてくるステータス
の値等を予め保守パネル(図示せず)から設定された条
件と比較し、それらが一致したかどうかを検出して判定
するものである。
The status determination unit 23 is realized by a microprogram, and determines the status of devices that can be accessed by the microprogram, such as the startup status and transfer status of data transfer with input/output devices, and the status sent during reporting operations. It compares a value or a status value sent from an input/output device with conditions set in advance from a maintenance panel (not shown), and detects and determines whether or not they match.

ログアウト部22は状態判定部23からの指示により起
動され、自装置の内部に有するデータ転送制御情報や入
出力装置がら受取ったステータス、あるいは実行中のチ
ャネルプログラムの内容を含む内部状態を、サービスプ
ロセッサ3配下のディスク装置(図示せず)にログ情報
として格納する。
The logout unit 22 is activated by an instruction from the status determination unit 23, and the logout unit 22 is activated by an instruction from the status determination unit 23, and outputs the internal status including the data transfer control information held within the device itself, the status received from the input/output device, or the contents of the channel program being executed, to the service processor. The information is stored as log information in a disk device (not shown) under No. 3.

スタートストップ制御部21は状態判定部23からの検
出判定に応答して予め定義されているストップ指示を発
行してCPUIに送出し、またログアウト部22により
サービスプロセッサ3配下のディスク装置にログ情報が
格納された後に予め定義されているスタート指示を発行
してcpu tに送出する。この場合のストップ指示お
よびスタート指示はプロセッサ間通信をマイクロプログ
ラムの指示によりCPU1に対して発行することにより
実現される。
The start/stop control unit 21 issues a predefined stop instruction in response to the detection determination from the status determination unit 23 and sends it to the CPUI, and the logout unit 22 causes the log information to be stored in the disk device under the service processor 3. After being stored, a predefined start instruction is issued and sent to the CPU t. The stop instruction and start instruction in this case are realized by issuing interprocessor communication to the CPU 1 according to instructions from the microprogram.

ここで、データ転送装!2はCPU1との間でプロセッ
サ間通信により入出力命令の実行指示、応答を行ってお
り、プロセッサ間通信は専用の制御線を用いる従来の方
法に比較して複雑とはなるが、装置間のバスを利用する
ことにより制御線を新たに追加することなく通信コード
を装置間で定義することにより実現できることから、汎
用性に富むためにマイクロプログラム制御方式の装置に
おいて一般に採用されている。
Here, the data transfer device! 2 performs execution instructions and responses to input/output commands with the CPU 1 through inter-processor communication, and although inter-processor communication is more complex than the conventional method using dedicated control lines, it is By using a bus, communication codes can be defined between devices without adding new control lines, so it is generally adopted in microprogram control devices due to its versatility.

そこで、本実施例においても装置間の制御は主にプロセ
ッサ間通信を用いるようになっており、CPUIのスタ
ート指示やストップ指示についても操作パネル(図示せ
ず)等からプロセッサ間通信をcputに発行すること
により実現されている。
Therefore, in this embodiment as well, control between devices mainly uses inter-processor communication, and inter-processor communication is issued to cput from an operation panel (not shown) etc. for CPUI start and stop instructions. This is achieved by

第2図は本発明の一実施例の動作を示すフローチャート
である。以下、これら第1図および第2図を用いて本発
明の一実施例の動作について説明する。
FIG. 2 is a flowchart showing the operation of one embodiment of the present invention. The operation of an embodiment of the present invention will be described below using FIGS. 1 and 2.

マイクロプログラムにより実現される状態判定部23に
よって、自装置の状態と予め設定された状態との一致が
検出判定されると(第2図ステップ11)、これに応答
してスタートストップ制御部21からcpuiに対して
ストップ指示のためのプロセッサ間通信が発行される(
第2図ステップ12)。
When the state determining unit 23 realized by a microprogram detects and determines that the state of the own device matches the preset state (step 11 in FIG. 2), in response, the start/stop control unit 21 An interprocessor communication for a stop instruction is issued to the cpui (
Figure 2 step 12).

次に、ログアウト部22が起動されることにより自装置
の内部状態がサービスプロセッサ3配下のディスク装置
にログ情報として格納される(第2図ステップ13)。
Next, the logout section 22 is activated, and the internal state of the own device is stored as log information in the disk device under the service processor 3 (step 13 in FIG. 2).

この後に、スタートストップ制御部21からCPUIに
対してスタート指示のためのプロセッサ間通信が発行さ
れる(第2図ステップ14)、このスタート指示により
、cpu tでは再び入出力命令を含むプログラムの動
作が開始され、処理が続行される(第2図ステップ15
)。
After this, the start/stop control unit 21 issues an inter-processor communication to the CPU to instruct the CPU to start (Step 14 in FIG. 2). With this start instruction, the CPU t starts operating the program including input/output instructions again. is started, and the process continues (step 15 in Figure 2).
).

このように、状態判定部23における自装置の状態と予
め設定された状態との一致の検出判定に応答してストッ
プ指示を発行してCPUIを停止させた後、ログアウト
部22により自装置の内部状態をログアウトし、その後
にスタート指示を発行してCPUIにおけるプログラム
の動作を再スタートさせるようにすることによって、プ
ログラム■1でログアウトに要する時間を考慮すること
なく、デバッグのための情報収集を容易に行うことがで
きる。
In this way, after the CPUI is stopped by issuing a stop instruction in response to the detection and determination of the match between the state of the own device and the preset state by the state determining unit 23, the logout unit 22 checks the internal state of the own device. By logging out the state and then issuing a start instruction to restart the program operation on the CPUI, it is easy to collect information for debugging without considering the time required for logging out in program 1. can be done.

すなわち−自装置のクロックを停止させてログアウトを
行うことなく、自装置の内部状態をログアウトさせるこ
とができるので、上位装置からの指示によりリセット命
令が発行されて内部状態が変化する可能性はなくなる。
In other words, since it is possible to log out the internal state of the own device without stopping the clock of the own device and logging out, there is no possibility that the internal state will change due to a reset command being issued by an instruction from a higher-level device. .

また、状態判定部23に停止させたい状態および条件を
予め設定しておけば、任意の回数条件が検出されたとき
に停止させたり、あるいは同一条件によるトレースを行
うことが可能となる。
Furthermore, if the state and conditions to be stopped are set in advance in the state determination unit 23, it is possible to stop the process when an arbitrary number of conditions are detected, or to perform tracing under the same conditions.

さらに、大蓋のログデータを収集しようとする場合でも
、上位装置の動作が停止しているので後続の起動が行わ
れることはなく、この起動に対して一定時間内に応答す
る必要はなくなる。
Furthermore, even when attempting to collect log data for the large lid, since the operation of the host device is stopped, subsequent activation will not be performed, and there is no need to respond to this activation within a certain period of time.

よって、デバッグのための情報収集が容易に行え、効率
のよいデバッグを行うことができる。
Therefore, information collection for debugging can be easily performed, and debugging can be performed efficiently.

九肌ムヱJ 以上説明したように本発明によるデータ転送装置によれ
ば、自装置が予め設定された所定状態となったことを検
出判定したとき、この検出判定に応答して上位装置に動
作停止指令を発行して上位装置の動作を停止させ、その
後に自装置の内部状態を外部に読出すとともに、この内
部状態の読出しの後に上位装置に動作開始指令を発行す
るようにすることによって、プログラム側て゛ログアウ
トに要する時間を考慮することなく、デバッグのための
情報収集を容易に行うことができるという効果がある。
As explained above, according to the data transfer device according to the present invention, when it is detected and determined that the own device has entered a predetermined state set in advance, the host device can perform an operation in response to this detection and determination. By issuing a stop command to stop the operation of the host device, then reading out the internal state of the own device to the outside, and issuing an operation start command to the host device after reading this internal state, This has the effect that the program can easily collect information for debugging without considering the time required for logout.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は本発明の一実施例の動作を示すフローチャートで
ある。 主要部分の符号の説明 1・・・・・・CPU 2・・・・・・データ転送装置 3・・・・・・サービスプロセッサ 21・・・・・・スタートストップ制御部22・・・・
・・ログアウト部 23・・・・・・状態判定部
FIG. 1 is a block diagram showing the configuration of an embodiment of the invention, and FIG. 2 is a flowchart showing the operation of the embodiment of the invention. Explanation of symbols of main parts 1...CPU 2...Data transfer device 3...Service processor 21...Start/stop control section 22...
...Logout section 23...Status determination section

Claims (1)

【特許請求の範囲】[Claims] (1)マイクロプログラム制御方式のデータ転送装置で
あって、自装置が予め設定された所定状態となつたこと
を検出判定する状態判定手段と、前記状態判定手段によ
る前記所定状態の検出判定に応答して上位装置に動作停
止指令を発行するストップ制御手段と、前記動作停止指
令により前記上位装置の動作が停止した後に自装置の内
部状態を外部に読出すログアウト手段と、前記ログアウ
ト手段により前記内部状態を読出した後に前記上位装置
に動作開始指令を発行するスタート制御手段とを有する
ことを特徴とするデータ転送装置。
(1) A data transfer device using a microprogram control method, comprising a state determining means for detecting and determining that the device has entered a predetermined state, and responding to the detection and determination of the predetermined state by the state determining means. stop control means for issuing an operation stop command to a host device, a logout means for reading out the internal state of the host device to the outside after the operation of the host device is stopped by the operation stop command; A data transfer device comprising: start control means for issuing an operation start command to the host device after reading the state.
JP63284256A 1988-11-10 1988-11-10 Data transfer equipment Pending JPH02129744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63284256A JPH02129744A (en) 1988-11-10 1988-11-10 Data transfer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63284256A JPH02129744A (en) 1988-11-10 1988-11-10 Data transfer equipment

Publications (1)

Publication Number Publication Date
JPH02129744A true JPH02129744A (en) 1990-05-17

Family

ID=17676172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63284256A Pending JPH02129744A (en) 1988-11-10 1988-11-10 Data transfer equipment

Country Status (1)

Country Link
JP (1) JPH02129744A (en)

Similar Documents

Publication Publication Date Title
JPH02294739A (en) Fault detecting system
JPH02129744A (en) Data transfer equipment
JPS58181160A (en) Controlling system of emergency operation
JPS6045453B2 (en) multiprocessor
JPH0149975B2 (en)
JP3620984B2 (en) Computer automatic schedule control system, recording medium therefor, and computer automatic schedule control method
JPH0272457A (en) Data transfer device
JPH0635757A (en) Abnormality detector of cpu
JPH02207347A (en) Method for detecting fault of software
JPH05282167A (en) Method for processing fault
JP2684966B2 (en) I / O processor debug device
JPH02189664A (en) Method for processing fault in channel control device
JPS6148181B2 (en)
JPH01134637A (en) Supervising system for information in stall processing system
JPS58115561A (en) Memory dump system
JPS632922Y2 (en)
JPH0773076A (en) Trace information collection system
JPS6295646A (en) Microprogram controller with run monitoring function
JPH0229833A (en) Maintenance diagnostic system
JPS6146535A (en) Pseudo error setting control system
JPH11102309A (en) Debugging device, processor, and recording medium
JPH0355640A (en) Collection system for fault analysis information on peripheral controller
JPH05250207A (en) Debug maintenance system
JPH0484234A (en) Trace system
JPS58140827A (en) Input/output controller