JPH01281520A - External storage device - Google Patents

External storage device

Info

Publication number
JPH01281520A
JPH01281520A JP63111811A JP11181188A JPH01281520A JP H01281520 A JPH01281520 A JP H01281520A JP 63111811 A JP63111811 A JP 63111811A JP 11181188 A JP11181188 A JP 11181188A JP H01281520 A JPH01281520 A JP H01281520A
Authority
JP
Japan
Prior art keywords
instruction
test
external storage
diagnosis
processor
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
JP63111811A
Other languages
Japanese (ja)
Inventor
Masumi Takiyanagi
真澄 滝柳
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 JP63111811A priority Critical patent/JPH01281520A/en
Publication of JPH01281520A publication Critical patent/JPH01281520A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To simulate a host device by an external storage device and to execute flexible self-function test diagnosis by providing the external storage device with a function test control part and a test instruction storing part. CONSTITUTION:When an operator instructs a function test from a maintenance panel 17, a microprocessor 12 sets up the device to a diagnosis mode to inhibit an instruction from the master device 2. When the diagnosis mode is set up, the processor 12 commands a test instruction control part 15 to read out an instruction from an instruction storage part 16 and send the instruction and data to a master device connecting part 11. The instruction is transferred from the connection part 11 to the processor 12 and executed. After ending the operation of the instruction, the processor 12 requests the succeeding instruction to the control part 15. After similarly ending all instructions stored in the storage part 16, the processor 12 displays the normal end of diagnosis based upon the function test on the panel 17 and releases the diagnosis mode.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は外部記憶装置に関し、特に自己診断機能を有す
る外部記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an external storage device, and particularly to an external storage device having a self-diagnosis function.

(従来技術) 従来、この種の外部記憶装置は、外部記憶サブシステム
の自己診断機能として、ファームウェアによるハードウ
ェアの診断(マイクロ診断)、およびファームウェアが
送出する固定的な基本機能試験のみを実行していた。
(Prior Art) Conventionally, this type of external storage device only performs hardware diagnosis (microdiagnosis) by firmware and fixed basic function tests sent by firmware as a self-diagnosis function of the external storage subsystem. was.

(発明が解決しよとする課!!l) 上述した従来の外部記憶装置において、ファームウェア
によるハードウェアの診断即ちマイクロ診断では、装置
が上位装置の送出する各命令に対して正常に動作するこ
とを確認できない、また、ファームウェアが装置内で行
う基本的な機能試験では、上位装置とのインタフェース
部の診断が出来ない他、上位装置が送出する複雑かつ柔
軟な命令の組み合せによる機能試験が不可能であるため
、機能試験においては、上位装置や上位装置をシェミレ
ートする試験機から試験命令を送出しなければならない
といった問題があった。
(Problem to be solved by the invention!!l) In the above-mentioned conventional external storage device, hardware diagnosis using firmware, that is, micro-diagnosis, involves checking that the device operates normally in response to each command sent by the host device. In addition, basic functional tests performed by firmware within the device cannot diagnose the interface with the host device, and it is impossible to perform functional tests based on complex and flexible command combinations sent by the host device. Therefore, in a functional test, there is a problem in that test commands must be sent from a host device or a test machine that simulates the host device.

(課題を解決するための手段) 本発明の外部記憶装置は、記録媒体に記録再生を行う手
段と、前記記録再生を行う手段に対する機能試験命令列
を記憶する手段と、前記機能試験命令列を記憶する手段
の内容を変更する手段と、前記機能試験命令列を記憶す
る手段の内容を用いて上位装置の動作を疑似的に行う手
段とを有している。
(Means for Solving the Problems) An external storage device of the present invention includes means for recording and reproducing on a recording medium, means for storing a functional test command sequence for the recording and reproducing means, and a means for storing the functional test command sequence for the recording and reproducing means. It has means for changing the contents of the means for storing the functional test command sequence, and means for performing the operation of the host device in a pseudo manner using the contents of the means for storing the functional test command sequence.

(実施例) 次に、本発明を実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の外部記憶装置を磁気テープ処理装置と
して構成した実施例のブロック図である。
FIG. 1 is a block diagram of an embodiment in which the external storage device of the present invention is configured as a magnetic tape processing device.

磁気テープ処理装置lは接続部11によって上位装置2
に接続されている。この上位装置接続部!1は、上位装
置2との命令転送、データ転送、ステータス転送を行う
際にそのインタフェースを制御する。マイクロプロセッ
サ12は、磁気テープ処理装置1全体の動作を制御する
。記録再生機構13は、磁気テープ媒体へのデータの書
き込みおよび読み出しを行う、記録再生制御部14は、
記録再生機構13に対するデータ転送の制御、動作指示
、エラー検出等を行う、命令記憶部16は、機能試験の
命令列を記憶したメモリーで、その内容は上位装置2ま
たは保守パネル17からの命令により書き変えできるよ
うになっている。試験命令制御部15は、マイクロプロ
セッサ12の指示により、命令記憶部16から試験命令
を受は取り、上位装置接続部11に上位装置2と同様の
動作で転送する。また書き込み試験時のデータは、試験
命令制御部15が生成する。保守パネル17は、複数の
キーからオペレータがマイクロプロセッサ12に直接動
作指示を与える保守用の掻作盤で、マイクロプロセッサ
12かもの応答を表示することが可能である。
The magnetic tape processing device 1 is connected to the host device 2 through the connection section 11.
It is connected to the. This upper device connection part! 1 controls the interface when performing command transfer, data transfer, and status transfer with the host device 2. The microprocessor 12 controls the overall operation of the magnetic tape processing device 1 . The recording and reproducing mechanism 13 writes and reads data to and from a magnetic tape medium, and the recording and reproducing control unit 14 includes:
The command storage unit 16 controls data transfer, gives operation instructions, detects errors, etc. to the recording and reproducing mechanism 13, and is a memory that stores a sequence of commands for functional tests. It can be rewritten. The test command control section 15 receives test commands from the command storage section 16 according to instructions from the microprocessor 12, and transfers them to the host device connection section 11 in the same manner as the host device 2. Further, the data for the write test is generated by the test command control unit 15. The maintenance panel 17 is a maintenance scratching board through which an operator directly gives operation instructions to the microprocessor 12 using a plurality of keys, and is capable of displaying the responses of the microprocessor 12.

上記構成において、その動作を説明する0通常のオンラ
イン動作時には、上位装置2から上位装置接続部11を
介して命令とデータがマイクロプロセッサ12で解析さ
れる。マイクロプロセッサ12は、必要な動作指示を記
録再生制御部14を介して記録再生機構13に対して送
出する。記録再生機構13から動作終了の報告があると
、マイクロプロセッサ12は終了ステータスを[1し、
上位装置接続部11を介して上位装置2に命令終了を報
告する。
In the above configuration, during normal online operation, instructions and data are analyzed by the microprocessor 12 from the host device 2 via the host device connection section 11. The microprocessor 12 sends necessary operation instructions to the recording/reproducing mechanism 13 via the recording/reproducing controller 14 . When the recording/reproducing mechanism 13 reports the completion of the operation, the microprocessor 12 changes the completion status to [1].
The completion of the command is reported to the higher-level device 2 via the higher-level device connection section 11.

オペレータが保守パネル17から機能試験を指示すると
、マイクロプロセッサ12は装置を診断モードに設定し
、上位装置2からの命令を禁止する。ただし記録再生機
$13が複数台接続されている場合には保守パネル!7
から指示のあった記録再生機構に対する命令のみが禁止
され、他の記録再生機構に対するオンライン動作は可能
である。
When the operator instructs a functional test from the maintenance panel 17, the microprocessor 12 sets the device to a diagnostic mode and prohibits commands from the host device 2. However, if multiple recording/playback devices $13 are connected, the maintenance panel! 7
Only commands directed to the recording/reproducing mechanism are prohibited, and online operations for other recording/reproducing mechanisms are possible.

診断モードがセットされると、マイクロプロセッサ12
は、試験命令制御部15に対して命令記憶部16から命
令を読み出し、上位装置接続部11に命令とデータを送
出するよう指示する。命令はオンライン動作時と同様に
上位装置接続部11からマイクロプロセッサ12に転送
され実行される。
Once the diagnostic mode is set, the microprocessor 12
instructs the test command control unit 15 to read the command from the command storage unit 16 and send the command and data to the host device connection unit 11. The commands are transferred from the host device connection section 11 to the microprocessor 12 and executed in the same way as during online operation.

命令の動作が終了すると、マイクロプロセッサ12は次
の命令を試験命令制御部15に対して要求する。同様に
して命令記憶部16のすべての命令が終了すると、マイ
クロプロセッサ12は機能試験による診断が正常に終了
したことを保守パネル17に表示し、診断モードを解除
する0機能試験が途中異常終了すると、マイクロプロセ
ッサ12はステータスをマイクロプロセッサ12のメモ
リ内に編集し、機能試験が異常終了したことを保守パネ
ル17に表示する。終了ステータスは保守パネル17か
らマイクロプロセッサ12のメモリの内容を読み出すこ
とで調査出来る。また機能試験は上位装置2からの命令
によっても起動可能で、その際の終了ステータスは通常
の命令と同様に上位装置2に対して報告される。また、
試験命令制御部15は、上位装置2をシェミレートして
いるため一つの上位装置からの命令として扱うことが出
来る。従って他のチャネルバスから上位装置接続部11
に送出される機能試験対象以外の記録再生機構に対する
動作命令は、機能試験に平行して処理することが出来る
When the operation of the instruction is completed, the microprocessor 12 requests the test instruction control unit 15 for the next instruction. Similarly, when all the instructions in the instruction storage section 16 are completed, the microprocessor 12 displays on the maintenance panel 17 that the diagnosis by the function test has been completed normally, and if the function test ends abnormally in the middle of the diagnostic mode, , the microprocessor 12 edits the status into the memory of the microprocessor 12 and displays on the maintenance panel 17 that the functional test has ended abnormally. The completion status can be checked by reading the contents of the memory of the microprocessor 12 from the maintenance panel 17. Further, the functional test can also be started by a command from the host device 2, and the completion status at that time is reported to the host device 2 in the same way as a normal command. Also,
Since the test command control unit 15 simulates the higher-level device 2, it can handle the command as a command from one higher-level device. Therefore, from other channel buses to the upper device connection section 11.
Operation commands sent to recording and reproducing mechanisms other than the functional test target can be processed in parallel with the functional test.

(発明の効果) 以上説明したように本発明は、外部記憶装置において機
能試験制御部と、試験命令の記憶部を待たせることによ
り、外部記憶装置単体で上位装置をシュミレートし、柔
軟な自己機能試験診断を行うことが出来る他、装置オン
ライン中にも特定の記録再往部に対する試験が可能にな
る効果がある。
(Effects of the Invention) As explained above, the present invention allows the external storage device to simulate a host device by making the function test control unit and the test command storage unit wait in the external storage device, and allows flexible self-functioning. In addition to being able to perform test diagnosis, it also has the effect of allowing testing of a specific recording re-export section even while the device is online.

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

第1図は本発明の1実施例である磁気テープ処理装置の
ブロック図である。 ■・・・磁気テープ処理装置、2・・・上位装置、11
・・・上位装置接続部、 12・・・マイクロプロセッサ 13・・・記録再生機構、14・・・記録再生制御部、
15・・・試験命令制御部、16・・・命令記憶部、1
7・・・保守パネル。 代理人  弁理士  染 川 利 吉 第1図 71爪λテープ(理輩a【
FIG. 1 is a block diagram of a magnetic tape processing apparatus that is an embodiment of the present invention. ■...Magnetic tape processing device, 2...Host device, 11
. . . host device connection unit, 12 . . . microprocessor 13 . . . recording/reproduction mechanism, 14 .
15...Test instruction control unit, 16...Instruction storage unit, 1
7...Maintenance panel. Agent Patent Attorney Toshiyoshi Somekawa Figure 1 71 Nail λ Tape (Richard a [

Claims (1)

【特許請求の範囲】[Claims] 自己診断を行う外部記憶装置において、記録媒体に記録
再生を行う手段と、前記記録再生を行う手段に対する機
能試験命令列を記憶する手段と、前記機能試験命令列を
記憶する手段の内容を変更する手段と、前記機能試験命
令列を記憶する手段の内容を用いて上位装置の動作を疑
似的に行う手段とを有することを特徴とする外部記憶装
置。
In an external storage device that performs self-diagnosis, the contents of a means for recording and reproducing on a recording medium, a means for storing a functional test command sequence for the recording and reproducing means, and a means for storing the functional test command sequence are changed. and means for performing a pseudo operation of a host device using the contents of the means for storing the functional test command sequence.
JP63111811A 1988-05-09 1988-05-09 External storage device Pending JPH01281520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63111811A JPH01281520A (en) 1988-05-09 1988-05-09 External storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63111811A JPH01281520A (en) 1988-05-09 1988-05-09 External storage device

Publications (1)

Publication Number Publication Date
JPH01281520A true JPH01281520A (en) 1989-11-13

Family

ID=14570754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63111811A Pending JPH01281520A (en) 1988-05-09 1988-05-09 External storage device

Country Status (1)

Country Link
JP (1) JPH01281520A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04123365A (en) * 1990-09-13 1992-04-23 Fujitsu Ltd External storage device with self-diagnostic function
JPH05166351A (en) * 1991-12-12 1993-07-02 Fujitsu Ltd Library device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04123365A (en) * 1990-09-13 1992-04-23 Fujitsu Ltd External storage device with self-diagnostic function
JPH05166351A (en) * 1991-12-12 1993-07-02 Fujitsu Ltd Library device

Similar Documents

Publication Publication Date Title
JPH01281520A (en) External storage device
JPH09115229A (en) Library device
JPH02300682A (en) Recording medium driving device
JP3107015B2 (en) Intermittent fault diagnosis system
JPS598853B2 (en) external storage controller
JPS6238947A (en) Diagnostic method for processor unit
JP2938252B2 (en) Simulation method for detecting end of tape in magnetic tape unit
JPS63129434A (en) Program development supporting device
JP2746655B2 (en) How to check optical disk memory
JPH04147356A (en) Bus monitor
JPH04123365A (en) External storage device with self-diagnostic function
JPH081607B2 (en) Pseudo-fault occurrence method in information processing system
JPS58211227A (en) Testing system of peripheral equipment
JPS59160233A (en) Automatic recording system for input/output operating data of display device
JPS62229339A (en) Diagnosis system for microprogram
JPH0482049A (en) Magnetic disk device
JPH01318113A (en) Drive diagnostic system for library device system
JPH10326229A (en) Information storage device
JPH0619637A (en) Magnetic disk device
JPH02121048A (en) Peripheral controller
JPH0328936A (en) Diagnostic test system for information processor
JPH0322017A (en) Initialize program verifying system
JPH0644253B2 (en) Peripheral control device
JPH04106629A (en) System for analyzing abnormality of computer
JPH07311733A (en) Scsi controller