JPH01130245A - Trace control system for peripheral controller - Google Patents

Trace control system for peripheral controller

Info

Publication number
JPH01130245A
JPH01130245A JP62288930A JP28893087A JPH01130245A JP H01130245 A JPH01130245 A JP H01130245A JP 62288930 A JP62288930 A JP 62288930A JP 28893087 A JP28893087 A JP 28893087A JP H01130245 A JPH01130245 A JP H01130245A
Authority
JP
Japan
Prior art keywords
trace
control device
peripheral control
timer
information processing
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
JP62288930A
Other languages
Japanese (ja)
Inventor
Toshihiko Hiraide
平出 利彦
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 JP62288930A priority Critical patent/JPH01130245A/en
Publication of JPH01130245A publication Critical patent/JPH01130245A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To utilize a counter value as the timer stamp of a trace by outputting a system timer value held by a system timer mechanism to the counter of a peripheral equipment by an information processing subsystem. CONSTITUTION:A peripheral controller 4 executes the transfer of a data to an information processing subsystem 6, and also, controls a peripheral equipment 5. When the information processing subsystem 6 executes an output command of a system timer value, the system timer value is outputted to a signal line 402. A system synchronizing timer counter 46 inputs the timer value of the signal 402 as the initial value of time. A trace controller 44 monitors the operation of a microprocessor 40, applies an interruption to the microprocessor 40 when an event to be traced is detected, writes a system synchronizing timer value and the contents of a trace object register in a trace memory area 45, and restarts the operation of the microprocessor.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は1周辺制御装置の処理事象のトレース制御に関
してsp lj、特に、トレースにおけるタイムスタン
プの制御に関している。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to trace control of processing events of a peripheral controller sp lj, and in particular to control of time stamps in the trace.

従来の技術 従来1周辺制御装置の処理事象をトレース記憶するトレ
ース方式においてトレース事象の発生順序を明確にする
ために、情報処理サブシステムが有するシステムタイマ
とは独立非同期に動作する周辺制御装置に内蔵するクロ
ックカウンタの値をトレース情報のタイムスタンプとし
て使用していた。一方、情報処理サブシステムにおける
各種トレースのタイムスタンプはシステムタイマを使用
して行うのが一般的である。
Conventional Technology Conventional 1 In order to clarify the order of occurrence of trace events in a trace method that traces and stores processing events of a peripheral control device, a system timer built into the peripheral control device that operates asynchronously and independently of the system timer of the information processing subsystem is used. The value of the clock counter was used as the timestamp of the trace information. On the other hand, a system timer is generally used to time stamp various traces in an information processing subsystem.

発明が解決しようとする問題点 従来の周辺制御装置のトレースにおけるタイムスタンプ
方式は、タイムスタンプに使用するクロックカウンタが
、情報処理サブシステムのシステムタイマとは独立非同
期に動作しているために。
Problems to be Solved by the Invention In the conventional time stamp method for tracing peripheral control devices, the clock counter used for time stamps operates independently and asynchronously with the system timer of the information processing subsystem.

システムタイマをトレースのタイムスタンプとして使用
する情報処理サブシステムの周辺制御装置制御トレース
と照合を行う時、周辺制御装置の処理事象と情報処理サ
ブシステムの周辺制御装置制御事象の対応が容易に行え
ず、障害解析などに長時間を要するという欠点があった
When checking the peripheral control device control trace of the information processing subsystem that uses the system timer as a trace timestamp, it is difficult to correspond between the processing events of the peripheral control device and the peripheral control device control events of the information processing subsystem. However, it has the disadvantage that failure analysis takes a long time.

本発明は従来の技術に内在する上記欠点を解消する為に
なされたものであゆ、従って本発明の目的は、上記事象
の照合を容易に行うことができ。
The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the prior art, and therefore, an object of the present invention is to facilitate the verification of the above-mentioned phenomena.

障害解析などに要する時間を大@に短縮することを可能
とした周辺制御装置の新規なトレース制御方式を提供す
ることにある。
An object of the present invention is to provide a new trace control method for a peripheral control device that makes it possible to greatly reduce the time required for failure analysis.

問題点を解決するための手段 上記目的を達成する為に、本発明に係る周辺制御装置の
トレース制御方式は、情報処理サブシステムにシステム
タイマ機構の保持するシステムタイマ値を周辺制御装置
に出力する手段を備えると共に1周辺制御装置内に情報
処理サブシステムから出力されたシステムタイマ値を初
期値として設定するカウンタと、システムタイマ値の受
領を契機として前記カウンタを一定間隔でカウント更新
するための刻時信号を発生する手段とを設けて構成され
1周辺制御装置の処理事象をトレースメモリに記憶する
度に前記カウンタの値をトレースのタイムスタンプとし
て使用することを特徴とする。
Means for Solving the Problems In order to achieve the above object, a trace control method for a peripheral control device according to the present invention outputs a system timer value held by a system timer mechanism in an information processing subsystem to a peripheral control device. a counter for setting the system timer value outputted from the information processing subsystem as an initial value in one peripheral control device; and a timer for updating the counter at regular intervals upon receipt of the system timer value. and means for generating a time signal, and each time a processing event of one peripheral control device is stored in a trace memory, the value of the counter is used as a trace time stamp.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第7図は本発明を適用したマイクロプログラム制御型の
周辺制御装置の一実施例を示すプロツク構成図であり、
@−図は本周辺制御装置を接続した情報処理システムの
一例を示すブロック図である。
FIG. 7 is a block diagram showing an embodiment of a microprogram-controlled peripheral control device to which the present invention is applied.
The figure is a block diagram showing an example of an information processing system to which this peripheral control device is connected.

第1図に2いて1周辺制御装置lIは、入出力インタフ
ェースダコを介して情報処理サブシステム6と指令及び
データの転送を行い、デバイスインタフェースダ3を介
して周辺装置3の動作を制御する。
In FIG. 1, a peripheral control device 1I (2) transfers commands and data to the information processing subsystem 6 via an input/output interface, and controls the operation of the peripheral device 3 via a device interface.

マイクロプロセッサqは、プロセッサメモリ4(/に格
納されている制御用マイクロプログラムを実行し、情報
処理サブシステム6からの指令を解読し。
The microprocessor q executes a control microprogram stored in the processor memory 4 (/) and decodes commands from the information processing subsystem 6.

周辺装置Sの動作を制御するとともにプロセッサ行うよ
うに構成されている。情報処理サブシステム6がシステ
ムタイマ値出力指令を実行すると。
It is configured to control the operation of the peripheral device S as well as the processor. When the information processing subsystem 6 executes the system timer value output command.

入出力インタフェースQはシステムタイマ値出力指令実
行を示す信号線IIoiを活性化し、信号線ダOコに情
報処理サブシステム6から出力されたシステムタイマ値
を出力する。システム同期タイマカウンタ弘6は信号m
 440/が活性化されると、信号線りコに出力されて
いるシステムタイマ値を時刻の初期値として取込み設定
する。刻時信号発生回路4(7は。
The input/output interface Q activates the signal line IIoi indicating execution of the system timer value output command, and outputs the system timer value output from the information processing subsystem 6 to the signal line Dako. System synchronous timer counter Hiro6 is signal m
When 440/ is activated, the system timer value output to the signal line RI is taken in and set as the initial time value. Clock signal generation circuit 4 (7).

信号線uO/の活性化を契機として動作を開始し。The operation starts with the activation of the signal line uO/.

設定されている一定周期でシステム同期タイマカウンタ
4!6をカウントアツプ更新する信号パルスIIo3を
出力する。トレースコントローラ杯はマイクロプロセッ
サリの動作を監視しトレースすべき事象を検出するとマ
イクロプロセッサψに割込みを発生し、マイクロプロセ
ッサ侵の実行を中断させ。
It outputs a signal pulse IIo3 that counts up and updates the system synchronous timer counter 4!6 at a set fixed period. The trace controller monitors the operation of the microprocessor, and when it detects an event to be traced, it generates an interrupt to the microprocessor ψ and interrupts the execution of the microprocessor.

システム同期タイマカウンタダ乙に接続される信号線u
Quに出力されているシステム同期タイマ値と。
Signal line u connected to system synchronous timer counter O
The system synchronization timer value output to Qu.

マイクロプロセッサQ内のトレース対象レジスタの内容
をトレースメモリアドレス(図示せず)が示すトレース
メモリの領域に書込み、トレースメモリアドレスを歩進
させた後、マイクロプロセッサ侵の実行を再開させる。
The contents of the register to be traced in the microprocessor Q are written to the area of the trace memory indicated by the trace memory address (not shown), the trace memory address is incremented, and then execution of the microprocessor is resumed.

トレース制御方式!はトレースメモリアドレスによって
トレース情報を循環的に格納するメモリであり、トレー
スメモリアドレスがトレース制御方式3の最高位アドレ
スに達すると1次のトレースメモリアドレスはトレース
メモリIISの最低位アドレスとなり、トレース情報の
格納はオーバレイされることになる。情報処理サブシス
テム6からトレース情報の読出指令が実行されると、ト
レースコントローラll’luトレースメモリアドレス
で示されるアドレスから開始し。
Trace control method! is a memory that stores trace information cyclically based on the trace memory address, and when the trace memory address reaches the highest address of trace control method 3, the primary trace memory address becomes the lowest address of trace memory IIS, and the trace information is stored. The storage of will be overlaid. When a command to read trace information is executed from the information processing subsystem 6, the trace controller starts from the address indicated by the ll'lu trace memory address.

トレースメモIJ q3の全ての内容を読出し、情報処
理サブシステム乙に転送する。刻時信号発生回路417
の発生する信号パルス440.7の周期はシステムタイ
マ機構3の更新周期と同じ周期またはそれより短かい周
期に設定される。情報処理サブシステム6がシステムタ
イマ値出力指令を実行する度に。
Read all contents of trace memo IJ q3 and transfer to information processing subsystem B. Clock signal generation circuit 417
The period of the signal pulse 440.7 generated by is set to the same period as the update period of the system timer mechanism 3 or a period shorter than that. Every time the information processing subsystem 6 executes a system timer value output command.

システム同期タイマカウンタtIAの初期値が設定され
るために、情報処理サブシステム6が一定周期(勿論、
システムタイマ機構3の更新周期に対し非常に長い)で
システムタイマ値出力指令を実行すれば、システム同期
タイマカウンタII6の値とシステムタイマの同期は適
切に維持される。
In order to set the initial value of the system synchronization timer counter tIA, the information processing subsystem 6 is
If the system timer value output command is executed at an interval (which is very long compared to the update cycle of the system timer mechanism 3), the synchronization between the value of the system synchronization timer counter II6 and the system timer can be appropriately maintained.

発明の詳細 な説明したように1本発明によれば1周辺制御装置内で
採取されるトレース情報のタイムスタンプと、情報処理
サブシステム内で採取されるトレース情報のタイムスタ
ンプが同一表示となり。
As described in detail, according to the present invention, the time stamp of trace information collected within one peripheral control device and the time stamp of trace information collected within the information processing subsystem are displayed in the same manner.

これらのトレース情報によって得られる事象の照合が容
易に行える効果が発生する。
This has the effect that events obtained from this trace information can be easily collated.

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

第1図は本発明を適用したマイクロプログラム制御型の
周辺制御装置の一実施例を示すブロック構成図1g−図
は情報処理システムの一例を示すブロック図である。 l・・・中央処理装置、コ・・・主記憶装置、J・・・
システムタイマ機構、亭・・・周辺制御装置、j・・・
周辺装置、す・・・マイクロプロセッサ、II/川プ用
セッサメモリ、タコ・・・入出力インタフェース、 t
Ij・・・デバイスインタフェース、躊・・・トレース
コントa−ラ、りS・・・トレースメモリ、り6・・・
システム同期タイマカウンタ、弘7・・・刻時信号発生
回路、lIO/・・・システムタイマ値出力指令実行表
示信号、1I02・・・システムタイマ値出力信号、 
1I03・・・システム同期タイマカウンタカウントア
ツプパルス信号、  a□a・・・システム同期タイマ
値出力信号 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部
FIG. 1 is a block diagram showing an embodiment of a microprogram-controlled peripheral control device to which the present invention is applied. FIG. 1g is a block diagram showing an example of an information processing system. l... central processing unit, co... main memory, J...
System timer mechanism, peripheral control device, j...
Peripheral equipment, microprocessor, II/processor memory, tacho...input/output interface, t
Ij...Device interface, Ij...Trace controller, S...Trace memory, R6...
System synchronous timer counter, Hiro7... Clock signal generation circuit, lIO/... System timer value output command execution display signal, 1I02... System timer value output signal,
1I03...System synchronous timer counter count up pulse signal, a□a...System synchronous timer value output signal Patent applicant NEC Corporation Representative Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置、主記憶装置及びシステムの時刻を刻時す
るシステムタイマ機構を含む情報処理サブシステムに接
続され、中央処理装置の制御のもとに周辺装置の動作を
制御する周辺制御装置であつて、前記周辺制御装置が処
理する処理事象を時系列的に内蔵するトレースメモリに
記憶し、中央処理装置からの指令によりトレースメモリ
の内容を情報処理サブシステムに転送するよう構成され
る周辺制御装置において、一定時間毎にシステムタイマ
機構の保持するシステムタイマ値を周辺制御装置に出力
する手段を情報処理サブシステムに具備させ、周辺制御
装置に出力されたシステムタイマ値を初期値として保持
するシステム同期タイマカウンタと、前記システムタイ
マ値の出力を契機として前記システム同期タイマカウン
タを一定間隔で更新するための刻時信号を発生する刻時
信号発生手段とを具備し、周辺制御装置の処理事象をト
レースメモリに記憶する度に前記システム同期タイマカ
ウンタが保持するシステム同期タイマ値をトレースのタ
イムスタンプとして記憶することを特徴とする周辺制御
装置のトレース制御方式。
A peripheral control device that is connected to an information processing subsystem that includes a central processing unit, a main storage device, and a system timer mechanism that keeps time in the system, and that controls the operation of peripheral devices under the control of the central processing unit. , in a peripheral control device configured to store processing events processed by the peripheral control device in a built-in trace memory in chronological order, and to transfer the contents of the trace memory to an information processing subsystem according to a command from a central processing unit. , a system synchronization timer in which the information processing subsystem is equipped with means for outputting a system timer value held by a system timer mechanism to a peripheral control device at fixed intervals, and the system timer value output to the peripheral control device is held as an initial value. a counter; and a clock signal generating means for generating a clock signal for updating the system synchronous timer counter at regular intervals using the output of the system timer value as a trigger, and a trace memory for processing events of the peripheral control device. A trace control method for a peripheral control device, characterized in that a system synchronization timer value held by the system synchronization timer counter is stored as a trace timestamp each time the system synchronization timer counter is stored.
JP62288930A 1987-11-16 1987-11-16 Trace control system for peripheral controller Pending JPH01130245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62288930A JPH01130245A (en) 1987-11-16 1987-11-16 Trace control system for peripheral controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62288930A JPH01130245A (en) 1987-11-16 1987-11-16 Trace control system for peripheral controller

Publications (1)

Publication Number Publication Date
JPH01130245A true JPH01130245A (en) 1989-05-23

Family

ID=17736647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62288930A Pending JPH01130245A (en) 1987-11-16 1987-11-16 Trace control system for peripheral controller

Country Status (1)

Country Link
JP (1) JPH01130245A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06139116A (en) * 1991-05-01 1994-05-20 Tokyo Electric Co Ltd Program tracing system
JP2008040954A (en) * 2006-08-09 2008-02-21 Matsushita Electric Ind Co Ltd Input device
US9954993B2 (en) 2009-02-27 2018-04-24 Microsoft Technology Licensing, Llc Protective shroud for handheld device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06139116A (en) * 1991-05-01 1994-05-20 Tokyo Electric Co Ltd Program tracing system
JP2008040954A (en) * 2006-08-09 2008-02-21 Matsushita Electric Ind Co Ltd Input device
US9954993B2 (en) 2009-02-27 2018-04-24 Microsoft Technology Licensing, Llc Protective shroud for handheld device

Similar Documents

Publication Publication Date Title
GB1440510A (en) Realtime control arrangement for simulation device
JPH01130245A (en) Trace control system for peripheral controller
JPS62257524A (en) Display character output controller
JPH054700B2 (en)
JPS60258656A (en) Microprocessor reset circuit
JP3064687B2 (en) Data memory controller
US5497481A (en) Microcomputer computer system having plural programmable timers and preventing memory access operations from interfering with timer start requests
JP2595045B2 (en) Touch panel input device
KR960001095B1 (en) Continuously touching process for monitoring apparatus
JPH0282334A (en) Bus cycle trace circuit
SU1481776A1 (en) Device for checking time of program execution
JP2923869B2 (en) Event input circuit
JPH03127253A (en) Bus tracing device for multiprocessor system
JPS6128144A (en) Executing device of tracing
JPS63118964A (en) Information processor
SU1695357A1 (en) Trainer for computer operator
JPS62204365A (en) Information processing system
JPS59167759A (en) Data processing device
JPH02161537A (en) I/o access interval tracing circuit
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system
JPH0727481B2 (en) Abnormal display processing method
JPS6347890A (en) Trend display device
JPH04198986A (en) Information processor
JPS61208516A (en) Supervisory unit
JPH04174008A (en) Sequence controller with operation confirming function