JPH0594329A - Diagnostic device by scan path data - Google Patents

Diagnostic device by scan path data

Info

Publication number
JPH0594329A
JPH0594329A JP3255498A JP25549891A JPH0594329A JP H0594329 A JPH0594329 A JP H0594329A JP 3255498 A JP3255498 A JP 3255498A JP 25549891 A JP25549891 A JP 25549891A JP H0594329 A JPH0594329 A JP H0594329A
Authority
JP
Japan
Prior art keywords
scan path
path data
data
instruction
scan
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
JP3255498A
Other languages
Japanese (ja)
Inventor
Kenichi Yoshida
謙一 吉田
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 JP3255498A priority Critical patent/JPH0594329A/en
Publication of JPH0594329A publication Critical patent/JPH0594329A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To facilitate the investigation for cause of trouble without needing a maintenance diagnosis exclusive-use bus for scan path data by providing an interface part, a saving memory, a control part and a processor part between a host device and a hardware register. CONSTITUTION:When an interface part 10 receives a sampling command CMD to sample scan path data from a host device, the part instructs a diagnosis action control part 30 and a processor part 40 to sample the scan path data. The control part 30 stores the scan path data sampled in accordance with the instruction into a saving memory 20 and when all scan path data are stored, performs the resetting instruction in a diagnosing device. When the processor part 40 receives the resetting instruction from the control part 30, the part performs the initialization of a hardware register 50, and after the completion of the initialization, sends the scan path data through the interface part 10 to the host device and performs the scan path data sampling completion report.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はスキャンパスを用いる診
断装置、特には磁気ディスク制御装置の診断装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic device using a scan path, and more particularly to a diagnostic device for a magnetic disk controller.

【0002】[0002]

【従来の技術】従来、この種の磁気ディスク装置等の制
御装置には装置内のハードウェアレジスタの情報を採取
するために、ハードウェアレジスタのデータを1ビット
ずつシリアルにつなげ、スキャンクロックを入力するこ
とによってシリアルにつながったハードウェアレジスタ
のデータを読み出すスキャンパスを持っている。従来、
このスキャンパスによるデータを上位装置側に採取する
ためには、このシリアルのデータを上位装置に転送しな
ければならない。そこで上位装置と磁気ディスク装置と
を保守診断専用バスで接続する必要があった。
2. Description of the Related Art Conventionally, in order to collect information of a hardware register in a device such as a magnetic disk device of this type, data of the hardware register is serially connected bit by bit and a scan clock is input. By doing so, it has a scan path for reading the data of the hardware register connected serially. Conventionally,
In order to collect the data by this scan path to the host device side, this serial data must be transferred to the host device. Therefore, it is necessary to connect the host device and the magnetic disk device with a dedicated bus for maintenance diagnosis.

【0003】[0003]

【発明が解決しようとする課題】上述の従来の方法では
上位装置と磁気ディスク装置とを接続する専用保守診断
用バスを必要とするという問題点がある。
The above-mentioned conventional method has a problem that a dedicated maintenance diagnosis bus for connecting the host device and the magnetic disk device is required.

【0004】[0004]

【課題を解決するための手段】本発明の診断方式は、ス
キャンパスデータによるハードウェアデータ採取機能を
サポートする診断装置において、上位装置からスキャン
パスデータを採取すべき旨のコマンドを受け、スキャン
パスデータ採取指示を出すインタフェース部と、採取し
たスキャンパスデータを退避しておく退避メモリと、イ
ンタフェース部からスキャンパスデータ採取指示を受け
て、診断対象からスキャンパスデータを採取し退避メモ
リに格納し、全スキャンパスデータ格納後に装置内リセ
ット指示を行う診断動作制御部と、診断動作制御部から
の装置内リセット指示を受けて診断対象の初期化を行
い、初期化終了後に上位装置に対しインタフェース部を
介して、退避メモリに退避してあるスキャンパスデータ
を送るとともにスキャンパスデータ採取終了報告を行う
プロセッサ部とを有する。
According to the diagnostic method of the present invention, a diagnostic device that supports a hardware data collection function based on scan path data receives a command from the host device to collect scan path data, An interface unit that issues a data collection instruction, a save memory that saves the collected scan path data, and a scan path data collection instruction from the interface unit that collects the scan path data from the diagnosis target and stores it in the save memory. The diagnostic operation control unit that issues an internal reset instruction after storing all scan path data and the internal device reset instruction from the diagnostic operation control unit initializes the diagnostic target.After the initialization, the interface unit is connected to the host device. Via the scan path data saved in the save memory. And a processor unit that performs Npasudeta collected end report.

【0005】[0005]

【作用】上位装置からスキャンパスデータの採取をイン
タフェース部を介して受取ると、診断動作制御部は診断
対象からスキャンパスデータを採取し、退避メモリに格
納する。格納が完了すると、装置内はリセットされると
ともに、退避メモリに格納されていたスキャンパスデー
タは、プロセッサ部によりインタフェース部を介して上
位装置に送出される。
When the scan path data is collected from the host device via the interface, the diagnostic operation controller collects the scan path data from the diagnosis target and stores it in the save memory. When the storage is completed, the inside of the device is reset, and the scan path data stored in the save memory is sent by the processor unit to the host device via the interface unit.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明のスキャンパスデータによる
診断装置の一実施例を示すブロック図である。本実施例
の診断装置は上位装置とハードウェアレジスタ50(以
降、HWレジスタ50と記す。)との間に配設され、イ
ンタフェース部10、退避メモリ20、診断動作制御部
30(以降、制御部30と記す。)、プロセッサ部40
とからなる。
FIG. 1 is a block diagram showing an embodiment of a diagnostic device using scan path data according to the present invention. The diagnostic device of this embodiment is arranged between a host device and a hardware register 50 (hereinafter referred to as HW register 50), and has an interface unit 10, a save memory 20, a diagnostic operation control unit 30 (hereinafter, control unit). 30)), processor unit 40
Consists of.

【0008】インタフェース部10は、上位装置からス
キャンパスデータを採取すべき旨の採取コマンドCMD
を受けると、制御部30、プロセッサ部40にスキャン
パスデータを採取するように指示する。制御部30は指
示にしたがって採取したスキャンパスデータを退避メモ
リ20に格納するとともに、全てのスキャンパスデータ
の格納が終了したら診断装置内にリセット指示を行う。
プロセッサ部40は制御部30からリセット指示を受け
るとHWレジスタ50の初期化を行い、初期化終了後に
上位装置に対しインタフェース部10を介してスキャン
パスデータを送るとともにスキャンパスデータ採取終了
報告を行う。
The interface unit 10 collects a command CMD indicating that scan path data should be collected from the host device.
Upon receiving the instruction, the control unit 30 and the processor unit 40 are instructed to collect scan path data. The control unit 30 stores the scan path data collected according to the instruction in the save memory 20, and issues a reset instruction in the diagnostic device when the storage of all the scan path data is completed.
When the processor unit 40 receives the reset instruction from the control unit 30, the processor unit 40 initializes the HW register 50, sends the scan path data to the higher-level device through the interface unit 10 and reports the completion of the scan path data collection after the initialization is completed. ..

【0009】次に上記実施例の動作例についてさらに詳
細に説明する。
Next, the operation example of the above embodiment will be described in more detail.

【0010】磁気ディスク制御装置上にハードウェア障
害等が発生した上位装置からスキャンパスデータ採取指
示がきた場合、スキャンパスデータ採取指示を受けたイ
ンタフェース部10はHWレジスタ50のスキャンパス
データ採取指示を制御部30およびプロセッサ部40に
行う。スキャンパスデータ採取指示を受けた制御部30
はHWレジスタ50のスキャンパスデータを採取し、採
取したデータを退避メモリ20に書き込む。全スキャン
パスデータを読み終えたら制御部30は装置内リセット
指示をプロセッサ部40に行う。先の装置内リセット指
示を受けたプロセッサ部40は装置内のHWレジスタ5
0の初期化を行い、初期化が終了すると退避メモリ20
に格納してあるスキャンパスデータおよびスキャンパス
データ採取終了の報告をインタフェース部10を通じて
上位装置に対して行う。報告を受けた上位装置は、退避
メモリ20に書き込まれているデータを読むことによっ
てスキャンパス上のデータを読み込むことが可能とな
る。
When a scan path data collection instruction is received from a host device in which a hardware failure or the like has occurred on the magnetic disk control device, the interface unit 10 that has received the scan path data collection instruction sends a scan path data collection instruction to the HW register 50. This is performed in the control unit 30 and the processor unit 40. Control unit 30 that received the instruction to collect scan campus data
Collects the scan path data of the HW register 50 and writes the collected data in the save memory 20. After reading all scan path data, the control unit 30 issues an in-apparatus reset instruction to the processor unit 40. The processor unit 40 that has received the previous in-device reset instruction uses the HW register 5 in the device.
0 is initialized, and when the initialization is completed, the save memory 20
The scan path data stored in (1) and the completion of scan path data collection are reported to the host device through the interface unit 10. Upon receiving the report, the higher-level device can read the data written in the save memory 20 to read the data on the scan path.

【0011】[0011]

【発明の効果】以上説明したように本発明は、従来不可
能であったファームウェア(FW)でのスキャンパスデ
ータの採取を可能にし、専用の保守診断用のバスの必要
無しにスキャンパスデータを上位装置側から採取可能と
する。これにより障害原因の究明を容易にするという効
果を有する。
As described above, according to the present invention, the scan path data can be collected by the firmware (FW), which has been impossible in the past, and the scan path data can be acquired without the need for a dedicated maintenance diagnosis bus. It can be collected from the host device. This has the effect of facilitating the investigation of the cause of the failure.

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

【図1】本発明のスキャンパスデータによる診断装置の
一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a diagnostic device using scan path data according to the present invention.

【符号の説明】[Explanation of symbols]

10 インタフェース部 20 退避メモリ 30 制御部 40 プロセッサ部 50 HWレジスタ(ハードウェアレジスタ) 10 interface unit 20 save memory 30 control unit 40 processor unit 50 HW register (hardware register)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 スキャンパスデータによるハードウェア
データ採取機能をサポートする診断装置において、 上位装置からスキャンパスデータを採取すべき旨のコマ
ンドを受け、スキャンパスデータ採取指示を出すインタ
フェース部と、 採取したスキャンパスデータを退避しておく退避メモリ
と、 インタフェース部からスキャンパスデータ採取指示を受
けて、診断対象からスキャンパスデータを採取し退避メ
モリに格納し、全スキャンパスデータ格納後に装置内リ
セット指示を行う診断動作制御部と、 診断動作制御部からの装置内リセット指示を受けて診断
対象の初期化を行い、初期化終了後に上位装置に対しイ
ンタフェース部を介して、退避メモリに退避してあるス
キャンパスデータを送るとともにスキャンパスデータ採
取終了報告を行うプロセッサ部とを有することを特徴と
する診断装置。
1. A diagnostic device that supports a hardware data collection function using scan path data, receives an instruction from a host device to collect scan path data, and issues an instruction to collect scan path data. A save memory for saving scan scan data and a scan path data collection instruction from the interface part are collected, the scan path data is collected from the diagnosis target and stored in the save memory, and an in-device reset instruction is issued after storing all scan path data. The diagnostic operation control unit to be performed and the device to be diagnosed are initialized in response to the in-device reset instruction from the diagnostic operation control unit, and after the initialization is completed, it is saved to the save memory via the interface unit to the host device Send the campus data and report the completion of scan pass data collection Diagnostic apparatus characterized by comprising a processor unit.
【請求項2】 前記コマンドおよびデータの授受を既存
のデータバスを介して行う請求項1記載の診断装置。
2. The diagnostic device according to claim 1, wherein the command and the data are exchanged via an existing data bus.
JP3255498A 1991-10-02 1991-10-02 Diagnostic device by scan path data Pending JPH0594329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3255498A JPH0594329A (en) 1991-10-02 1991-10-02 Diagnostic device by scan path data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3255498A JPH0594329A (en) 1991-10-02 1991-10-02 Diagnostic device by scan path data

Publications (1)

Publication Number Publication Date
JPH0594329A true JPH0594329A (en) 1993-04-16

Family

ID=17279587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3255498A Pending JPH0594329A (en) 1991-10-02 1991-10-02 Diagnostic device by scan path data

Country Status (1)

Country Link
JP (1) JPH0594329A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0383952A4 (en) * 1988-08-31 1991-07-03 Fujitsu Limited Constitution for expanding logic scale of a programmable logic array
JPH07200343A (en) * 1993-12-28 1995-08-04 Nec Corp Diagnosis control system for peripheral controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0383952A4 (en) * 1988-08-31 1991-07-03 Fujitsu Limited Constitution for expanding logic scale of a programmable logic array
JPH07200343A (en) * 1993-12-28 1995-08-04 Nec Corp Diagnosis control system for peripheral controller

Similar Documents

Publication Publication Date Title
JP2776602B2 (en) Test system and instruction execution sequence determination method
JPH07281930A (en) Operation measurement/analysis system for information processor
CN1925041B (en) Data storage device testing method and data storage device manufacturing method
JPH0594329A (en) Diagnostic device by scan path data
JP2871436B2 (en) Diagnosis control system for peripheral control devices
JPS62271153A (en) Diagnostic system for common bus structure
JP3457602B2 (en) Disk unit
JPS61267151A (en) interface monitor
JPH0410096B2 (en)
CN108681500B (en) System with transaction recording capability and transaction recording method
JPS61235956A (en) Event recording method
JPH0354703A (en) Self diagnostic system for data recording and reproducing device
JPH08147195A (en) Fault detecting/recording device
JPS59116867A (en) magnetic disk device
JPS6148186B2 (en)
JPH11134261A (en) Input and output controller
JPH02308345A (en) Data gathering method for terminal equipment
JP2635637B2 (en) In-system memory test equipment
JPH07110790A (en) Memory diagnostic device
JPS583111A (en) Diagnostic system for magnetic recorder
JPH04106629A (en) System for analyzing abnormality of computer
JPS605984B2 (en) input/output control device
JPH0677373B2 (en) Magnetic disk device
JPH0553881A (en) Logout method
JPH01166227A (en) Diagnosing system for device adaptor

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term