JPH04142852A - Trace information collection system in communication controller - Google Patents

Trace information collection system in communication controller

Info

Publication number
JPH04142852A
JPH04142852A JP2265160A JP26516090A JPH04142852A JP H04142852 A JPH04142852 A JP H04142852A JP 2265160 A JP2265160 A JP 2265160A JP 26516090 A JP26516090 A JP 26516090A JP H04142852 A JPH04142852 A JP H04142852A
Authority
JP
Japan
Prior art keywords
trace information
trace
information collection
external trigger
detection
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.)
Granted
Application number
JP2265160A
Other languages
Japanese (ja)
Other versions
JP2890779B2 (en
Inventor
Toshiki Kawamura
俊樹 河村
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 JP2265160A priority Critical patent/JP2890779B2/en
Publication of JPH04142852A publication Critical patent/JPH04142852A/en
Application granted granted Critical
Publication of JP2890779B2 publication Critical patent/JP2890779B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To collect trace information of a trace event with an external trigger input by starting collection of trace information on the detection of one external trigger signal and stopping the collection of trace information on the detection of other external trigger signal. CONSTITUTION:An external trigger detection section 10 detecting trigger signals TRG1, TRG2 generated externally is provided to the system. Upon the detection of the trigger input signal TRG1, a D flip-flop D-FF 11 of the external trigger detection section 10 sends a trace information collection start command signal 111 to a trace information collection control section 50 and upon the detection of the trigger input signal TRG2, the D-FF12 sends a trace information collection stop command signal 121 to the trace information collection control section 50. Thus, trace information is collected by an external trigger input due to a hardware cause or the like.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野] 本発明は、通信制御装置に関し、特に、外部トリガー伝号によるトレース情報収集方式に関する。 【従来の技術】[Industrial application field] TECHNICAL FIELD The present invention relates to a communication control device, and particularly to a trace information collection method using an external trigger signal. [Conventional technology]

従来、通信制御装置は、上位ソフトウェアからトレース
情報採取の指示があると、以後、トレースイベントが発
生する毎に、あらかじめローカルメモリ(以下、LMと
略する)内に割当てられた容量のトレース情報格納領域
にその先頭から順次トレース情報を格納していた。
Conventionally, when a communication control device receives an instruction to collect trace information from higher-level software, it stores the trace information in a pre-allocated capacity in local memory (hereinafter abbreviated as LM) every time a trace event occurs. Trace information was stored in the area sequentially from the beginning.

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

上述した従来の通信制御装置では、通信制御装置内のあ
る外部要因をトリガーにしてその以降に生じたトレース
イベントのトレース情報のみを採取したくても、従来の
通信制御装置にはこの種の情報採取のための手段がなか
った。その為、この種のトレース情報採取は困難である
という欠点がある。 従って、本発明の目的は、外部トリガー人力によりトレ
ースイベントのトレース情報を採取することができる通
信制御装置におけるトレース情報収集方式を提供するこ
とにある。
In the conventional communication control device described above, even if you want to collect only the trace information of the trace event that occurred after an external factor within the communication control device was triggered, the conventional communication control device does not have this kind of information. There was no means to collect it. Therefore, there is a drawback that it is difficult to collect this kind of trace information. Accordingly, an object of the present invention is to provide a trace information collection method in a communication control device that can collect trace information of a trace event using an external trigger.

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

本発明による通信制御装置におけるトレース横方収集方
式は、トレースイベントのトレース情報をローカルメモ
リに収集する機能を有する通信制御装置において、外部
で発生した2つの外部トリが一信号を検出するトリガー
信号検出手段と、方の外部トリガー信号の検出を契機に
トレース情報採取を開始し、“他方の外部トリガー信号
の検出を契機にトレース情報採取を停止するトレース情
報採取制御手段と、を有することを特徴とする。
The trace horizontal collection method in a communication control device according to the present invention is a trigger signal detection method in which two external triggers detect one signal generated externally in a communication control device that has a function of collecting trace information of a trace event into a local memory. and trace information collection control means for starting trace information collection upon detection of one external trigger signal and stopping trace information collection upon detection of the other external trigger signal. do.

【実施例】【Example】

次に、本発明の実施例について図面を参照して説明する
。 第1図を参照すると、本発明によるトレース情報収集方
式が適用される通信制御装置は、外部で発生されたトリ
ガー信号1  (TRG ] )とトリガ信号2 (T
RG2)とを検出する外部トリガー検出部]0を有する
。 外部トリガー検出部10は、トリガー信号1とトリガー
信号2とを入力するトリガー信号入力部13と、2つの
Dフリップフロップ(D−FF)11及び12とを有す
る。 外部トリガー検出部10は、トレース情報採取制御部5
0に接続されている。トレース情報採取制御部50は、
通信制御装置(CCU)制御用中央処理装置(CPU)
20にアドレスバス200及びデータバス201を介し
て接続されている。 トレース情報採取制御部50は、RSフリップフロップ
(R8FF)、52と制御部51とを有する。 読出し専用メモリ (ROM)30は、CCU制御用フ
ァームウェア(FW)格納領域として使用され、アドレ
スバス200及びデータバス201に接続され、アドレ
スバス200のアドレスをデコードするデコーダによっ
てイネーブルされる。 LM40は、トレース情報格納格納領域として使用され
、ROM30と同様に、アドレスバス200及びデータ
バス201に接続され、アドレスバス200のアドレス
をデコードするデコーダによってイネーブルされる。 第2図は第1図に示された通信制御装置のROM30に
格納されたファームウェアのフローチャトである。第2
図(a)はトレース初期設定時の処理フローを示し、第
2図(b)はトレースイベント発生時の処理フローを示
している。 第3図は第1図に示された通信制御装置のLM40に格
納されたトレースコマンドワードのフオマットの一例を
示す。 本発明に関わる通信制御装置は、上位ソフトウェアから
外部トリガーによるトレース情報採取の指示があると、
以下に述べるような動作を行う。 先ず、第2図(a)を参照して、トレース初期設定時の
動作について説明する。 外部トリガートレース指示により、CPU20は、第3
図に示されるトレースコントロールワードのトレースオ
ンビットをクリアする(ステップSl)。 CPU20は、トレースポインタを、LM40のトレー
ス情報格納領域の先頭アドレスにセットする(ステップ
S2)。 CPU20は、外部トリガー検出部10のDFFII及
び12をリセットして、トリガー信号入力部13をイネ
ーブル状態にする(ステップS3)。 次に、第1図を参照して、ハードウェア処理について説
明する。 外部トリガー検出部10において、トリガー人力f諷号
]  (TRGI)を検出すると、外部トリガ検出部]
0のD−FFIIはトレース情報収集開始指示信号]1
1をトレース情報採取制御部50へ送出する。 また、外部トリガー検出部]0において、トリガー人力
信号2 (TRG2)を検出すると、外部トリガー検出
部10のD −F F 1.2はトレース情報収集停止
指示信号121をトレース情報採取制御部50へ送出す
る。 トレース情報採取制御部50では、トレース情報収集開
始指示信号111によってR8FF52がセットされ、
制御部51はCPU20に対してバスリクエスト511
を送出してバスの使用許rIJを待つ。CPU20から
バスの使用が許可されると、制御部51はLM40内の
トレースコントロールワードをアクセスしてトレースオ
ンビットを“]”にする。 逆に、トレース情報採取制御部50において、トレース
情報収集停止指示信号121によってR3FF52かり
セットされると、制御部51は、同様に、トレースオン
ビットを“O”にする。 次に、第2図(b)を参照して、トレースイベントが発
生した場合の動作について説明する。 トレースイベントか発生ずると、CPU20は、トレー
スコントロールワードのトレースオンビットをチエツク
する(ステップS4)。 トレースオンビットが“1” (ステップS4の1)で
あれば、CPU20は、LM40のトレース情報格納領
域にトレース情報をストアして、ポインタを進める(ス
テップS5)。 トレースオンビットが“0″ (ステップS4の0)で
あれば、CPU20は何もしない。
Next, embodiments of the present invention will be described with reference to the drawings. Referring to FIG. 1, the communication control device to which the trace information collection method according to the present invention is applied has an externally generated trigger signal 1 (TRG ) and a trigger signal 2 (T
RG2)]0. The external trigger detection section 10 includes a trigger signal input section 13 into which a trigger signal 1 and a trigger signal 2 are input, and two D flip-flops (D-FF) 11 and 12. The external trigger detection section 10 is connected to the trace information collection control section 5.
Connected to 0. The trace information collection control unit 50
Communication control unit (CCU) control central processing unit (CPU)
20 via an address bus 200 and a data bus 201. The trace information collection control unit 50 includes an RS flip-flop (R8FF) 52 and a control unit 51. A read-only memory (ROM) 30 is used as a firmware (FW) storage area for CCU control, is connected to an address bus 200 and a data bus 201, and is enabled by a decoder that decodes addresses on the address bus 200. The LM 40 is used as a trace information storage area, is connected to the address bus 200 and the data bus 201 like the ROM 30, and is enabled by a decoder that decodes the address of the address bus 200. FIG. 2 is a flowchart of firmware stored in the ROM 30 of the communication control device shown in FIG. Second
FIG. 2(a) shows a processing flow when initializing a trace, and FIG. 2(b) shows a processing flow when a trace event occurs. FIG. 3 shows an example of the format of the trace command word stored in LM 40 of the communication control device shown in FIG. When a communication control device according to the present invention receives an instruction to collect trace information using an external trigger from higher-level software,
It performs the operations described below. First, with reference to FIG. 2(a), the operation at the time of trace initial setting will be described. In response to an external trigger trace instruction, the CPU 20
The trace on bit of the trace control word shown in the figure is cleared (step Sl). The CPU 20 sets the trace pointer to the start address of the trace information storage area of the LM 40 (step S2). The CPU 20 resets the DFFII and 12 of the external trigger detection section 10 and enables the trigger signal input section 13 (step S3). Next, hardware processing will be explained with reference to FIG. When the external trigger detection unit 10 detects the trigger human power (TRGI), the external trigger detection unit
D-FFII of 0 is a trace information collection start instruction signal]1
1 to the trace information collection control unit 50. Further, when the external trigger detection unit]0 detects the trigger human signal 2 (TRG2), the D-F F 1.2 of the external trigger detection unit 10 sends the trace information collection stop instruction signal 121 to the trace information collection control unit 50. Send. In the trace information collection control unit 50, R8FF52 is set by the trace information collection start instruction signal 111,
The control unit 51 sends a bus request 511 to the CPU 20.
and waits for permission to use the bus rIJ. When the CPU 20 grants permission to use the bus, the control unit 51 accesses the trace control word in the LM 40 and sets the trace on bit to "]". Conversely, in the trace information collection control unit 50, when R3FF52 is set by the trace information collection stop instruction signal 121, the control unit 51 similarly sets the trace on bit to “O”. Next, the operation when a trace event occurs will be described with reference to FIG. 2(b). When a trace event occurs, the CPU 20 checks the trace on bit of the trace control word (step S4). If the trace on bit is "1" (1 in step S4), the CPU 20 stores the trace information in the trace information storage area of the LM 40 and advances the pointer (step S5). If the trace on bit is "0" (0 in step S4), the CPU 20 does nothing.

【発明の効果】【Effect of the invention】

以上説明したように、本発明に関わる通信制御装置の外
部トリガーによるトレース情報収集方式によれば、ある
ハードウェア(HW)要因等による外部トリガー人力に
よりトレース情報採取の開始/停止I−を指示すること
かできるので、HWに起因した障害の内部動作を知るこ
とかでき、障害解析を容易に行うことができるという効
果がある。
As explained above, according to the trace information collection method using an external trigger of a communication control device according to the present invention, an external trigger caused by a certain hardware (HW) factor etc. instructs to start/stop trace information collection. Therefore, it is possible to know the internal operation of a failure caused by the HW, which has the effect of facilitating failure analysis.

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

第1図は本発明の一実施例によるトレース情報収集方式
が適用される通信制御装置を示すブロック図、第2図は
第1図に示された通信制御装置のROMに格納されたフ
ァームウェアのフローチャトで、第2図(a)はトレー
ス初期設定時の処理フローを示し、第2図(b)はトレ
ースイベント発生時の処理フローを示し、第3図は第1
図に示された通信制御装置のLMに格納されたコントロ
ールワードのフォーマットの一例を示す図である。 10・・・外部トリガー検出部、1.1.12・・Dフ
リップフロップ(D−FF)、1.3  ・トリガー信
号入力部、20・・CCU制御用CPU、30・・・R
OM、40・・・ローカルメモリ (LM) 、50・
・・トレース情報採取制御部、51・・・制御部、52
・・・RSフリップフロップ(R3FF) 、1.11
・・・トレース情報収集開始指示信号、121・・・ト
レース情報収集停止指示信号、200・・・アドレスバ
ス、201・・・データバス、511・・・バスリクエ
スト/パル許nJ信号。
FIG. 1 is a block diagram showing a communication control device to which a trace information collection method according to an embodiment of the present invention is applied, and FIG. 2 is a flowchart of firmware stored in the ROM of the communication control device shown in FIG. Fig. 2(a) shows the processing flow when initializing a trace, Fig. 2(b) shows the processing flow when a trace event occurs, and Fig. 3 shows the processing flow when tracing is initialized.
FIG. 3 is a diagram showing an example of the format of a control word stored in the LM of the communication control device shown in the figure. 10... External trigger detection unit, 1.1.12... D flip-flop (D-FF), 1.3 - Trigger signal input unit, 20... CPU for CCU control, 30... R
OM, 40...Local memory (LM), 50...
...Trace information collection control unit, 51...Control unit, 52
...RS flip-flop (R3FF), 1.11
...Trace information collection start instruction signal, 121...Trace information collection stop instruction signal, 200...Address bus, 201...Data bus, 511...Bus request/pulse permission nJ signal.

Claims (1)

【特許請求の範囲】 1、トレースイベントのトレース情報をローカルメモリ
に収集する機能を有する通信制御装置において、 外部で発生した2つの外部トリガー信号を検出するトリ
ガー信号検出手段と、 一方の外部トリガー信号の検出を契機にトレース情報採
取を開始し、他方の外部トリガー信号の検出を契機にト
レース情報採取を停止するトレース情報採取制御手段と
、 を有することを特徴とする通信制御装置におけるトレー
ス情報収集方式。 2、前記トリガー信号検出手段は、前記一方の外部トリ
ガー信号を検出するとトレース情報収集開始指示信号を
前記トレース情報採取制御手段へ送出する手段と、前記
他方の外部トリガー信号を検出するとトレース情報収集
停止指示信号を前記トレース情報採取制御手段へ送出す
る手段とを有する請求項1記載の通信制御装置における
トレース情報収集方式。 3、前記トレース情報採取制御手段は、前記トレース情
報収集開始指示信号に応答して前記ローカルメモリ内の
トレースコントロールワードのトレースオンビットをオ
ンし、前記トレース情報収集停止指示信号に応答して前
記ローカルメモリ内のトレースコントロールワードのト
レースオンビットをオフする請求項2記載の通信制御装
置におけるトレース情報収集方式。
[Claims] 1. In a communication control device having a function of collecting trace information of trace events into a local memory, a trigger signal detecting means for detecting two external trigger signals generated externally; and one external trigger signal. a trace information collection control means for starting trace information collection upon detection of the other external trigger signal and stopping trace information collection upon detection of the other external trigger signal; . 2. The trigger signal detection means includes means for sending a trace information collection start instruction signal to the trace information collection control means when the one external trigger signal is detected, and means for stopping the trace information collection when the other external trigger signal is detected. 2. The trace information collection method in a communication control device according to claim 1, further comprising means for sending an instruction signal to said trace information collection control means. 3. The trace information collection control means turns on the trace on bit of the trace control word in the local memory in response to the trace information collection start instruction signal, and turns on the trace on bit of the trace control word in the local memory in response to the trace information collection stop instruction signal. 3. The trace information collection method in a communication control device according to claim 2, wherein a trace on bit of a trace control word in the memory is turned off.
JP2265160A 1990-10-04 1990-10-04 Trace information collection method in communication control unit Expired - Fee Related JP2890779B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2265160A JP2890779B2 (en) 1990-10-04 1990-10-04 Trace information collection method in communication control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2265160A JP2890779B2 (en) 1990-10-04 1990-10-04 Trace information collection method in communication control unit

Publications (2)

Publication Number Publication Date
JPH04142852A true JPH04142852A (en) 1992-05-15
JP2890779B2 JP2890779B2 (en) 1999-05-17

Family

ID=17413453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2265160A Expired - Fee Related JP2890779B2 (en) 1990-10-04 1990-10-04 Trace information collection method in communication control unit

Country Status (1)

Country Link
JP (1) JP2890779B2 (en)

Also Published As

Publication number Publication date
JP2890779B2 (en) 1999-05-17

Similar Documents

Publication Publication Date Title
JPS58197553A (en) Program monitor
JPH04142852A (en) Trace information collection system in communication controller
JPS59158425A (en) Control system of input and output device
JPS6363935B2 (en)
JPS6029141B2 (en) coupling device
JPH0475147A (en) Time monitoring device in information processing system
JP2665173B2 (en) Processor trap circuit
JPH02157957A (en) Microprocessor
JP2936687B2 (en) Trace method in communication control unit
JPH0542878B2 (en)
JPS61221849A (en) Bus control system
JPS6389197U (en)
JPH0496832A (en) Fault information gathering device
JPH0822441A (en) Information processor and its communication error detecting method
JPH07230432A (en) Calculating device
JPS59117659A (en) Microprogram control system
JPH01273145A (en) History control system
JPS61196337A (en) Detecting system for unused area access of memory
JPH05298199A (en) Input/output control device
JPH0484234A (en) Trace system
JPH02129744A (en) Data transfer equipment
JPS60142754A (en) Programming device
JPS5856126A (en) Data transfer device
JPH0154729B2 (en)
JPH01211128A (en) Phenomenon detecting system in microprocessor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees