JPH04253249A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH04253249A
JPH04253249A JP2791291A JP2791291A JPH04253249A JP H04253249 A JPH04253249 A JP H04253249A JP 2791291 A JP2791291 A JP 2791291A JP 2791291 A JP2791291 A JP 2791291A JP H04253249 A JPH04253249 A JP H04253249A
Authority
JP
Japan
Prior art keywords
control
fault
unit
channel
information
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
JP2791291A
Other languages
Japanese (ja)
Inventor
Yasuo Nakamura
中村 泰雄
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 Engineering Ltd
Original Assignee
NEC Engineering Ltd
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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP2791291A priority Critical patent/JPH04253249A/en
Publication of JPH04253249A publication Critical patent/JPH04253249A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To collect fault information and to execute fault analysis without interrupting a processing under execution at another channel when a fault is generated. CONSTITUTION:When the fault is generated at a unit 0, the processing of data transfer executed between a peripheral controller 3 and a main storage device not shown in the figure is stopped, and a transfer control circuit 20 detecting the fault loads interruption to a firmware executing means 26 and sets the contents of the detected fault to a fault information identification flag means 21. The firmware executing means 26 informs the fault generation of a unit control circuit 32 and successively instructs a select circuit 25 so as to store the control information of a control register group 24 in the case of the fault generation in a memory 27. Units 1-3 also successively store the control information of respective control registers in own memories 35, 41 and 51. The firmware executing means 26 reads fault information identification flag means 21, 34, 40 and 50, edits the information into the readable form of a firmware executing means 12 and sets it to a channel device fault flag 23. Afterwards, the fault state is reset.

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、主記憶装置と周辺制御
装置との間のデータ転送に利用する。本発明は、詳細な
障害情報を高速に収集することができるデータ転送装置
に関する。 【0002】 【従来の技術】図2は従来のデータ転送装置の構成を示
すブロック図である。従来のデータ転送装置は、チャネ
ル制御装置1およびチャネル装置2′により構成され、
チャネル制御装置1は、ファームウェア実行手段12に
より制御され、複数のチャネル装置2′との間のインタ
フェースを制御するチャネル装置制御回路11と、読み
出しデータおよび書き込みデータを制御するデータバッ
ファ10とを備える。 【0003】また、チャネル装置2′は、読み出しデー
タおよび書き込みデータを制御するデータバッファ62
と、チャネル制御装置1との転送の制御、およびチャネ
ル装置制御回路11からの動作指示を制御する転送制御
回路60と、チャネル制御装置1への割り込みを制御す
る割り込み制御回路61と、自装置の状態、および転送
に必要な情報を格納する制御レジスタ群63と、ファー
ムウェア実行手段12からの制御情報選択指示により制
御レジスタ群63の内容を選択する選択回路64とを備
える。 【0004】チャネル装置2′の各制御回路には、障害
を検証し割り込み制御回路61に割り込みを行う機能を
有する。ただし、図2には割り込み制御回路61に割り
込むための信号線は省略されている。 【0005】チャネル装置2′で障害が発生した場合、
障害を検出した転送制御回路60は、割り込み制御回路
61に割り込みを行う。割り込み制御回路61はインタ
フェース信号線200 を介してチャネル装置制御回路
11に障害が発生したことを通知する。チャネル装置制
御回路11は障害発生が通知されると、ファームウェア
実行手段12に割り込みを行い、障害処理ルーチンを割
り出す。 【0006】ファームウェア実行手段12はインタフェ
ース信号線201 を介して制御レジスタ群63を選択
する指示を順次与える。選択回路64は、制御レジスタ
群63を順次選択し、インタフェース信号線202 を
介してファームウェア実行手段12に転送する。 【0007】このように従来装置は、ファームウェア実
行手段12から限られた読み取り可能なレジスタの障害
情報以外に収集できない制御となっているため、情報量
は少ない。また、読み取り可能なレジスタ以外の障害情
報を収集する場合にはチャネル制御装置全体を占有して
から障害情報の収集を行っている。 【0008】 【発明が解決しようとする課題】上述した従来の障害情
報転送方式は、チャネル制御装置のファームウェア実行
手段から読み取り可能なレジスタの障害情報以外は収集
できない制御となっているために、限られた障害情報だ
けでは十分な障害解析ができず、また、チャネル装置の
詳細な障害情報が必要な場合、チャネル装置が接続され
ているチャネル制御装置全体を占有しなければ詳細な障
害が収集できない制御となっているために、他のチャネ
ルで実行されている処理をすべて中断しなければならな
い欠点がある。 【0009】本発明はこのような問題を解決するもので
、他のチャネルで実行中の処理を中断することなく必要
とする障害情報を収集し障害解析を行うことができる装
置を提供することを目的とする。 【0010】 【課題を解決するための手段】本発明は、主記憶装置に
接続されデータ転送を制御するチャネル制御装置と、周
辺制御装置に接続されデータ転送を制御する複数のチャ
ネル装置とを備え、前記チャネル制御装置に、ファーム
ウェアを実行するファームウェア実行手段と、前記複数
のチャネル装置との間のインタフェースを制御するチャ
ネル装置制御回路と、データを一時格納するデータバッ
ファとを含み、前記チャネル装置に、前記チャネル制御
装置からの動作指示に従いデータ転送を制御する転送制
御回路と、前記チャネル制御装置への割り込みを制御す
る割込み制御回路と、データを一時格納するデータバッ
ファと、制御情報を格納する複数の制御レジスタにより
構成された制御レジスタ群と、この制御レジスタ群に格
納されている制御情報を選択する選択回路とを含むデー
タ転送装置において、前記チャネル装置は、第一のユニ
ットおよび第二のユニットにより構成され、前記第一の
ユニットは、前記転送制御回路、割り込み制御回路、デ
ータバッファ、制御レジスタ群、および選択回路と、自
ユニットを制御する第二のファームウェア実行手段と、
前記選択回路で選択された制御情報を障害情報として格
納し、前記ファームウェア実行手段から与えられる読み
出しアドレスおよび転送バイトカウントにより読み出し
処理を制御するメモリと、このメモリまたは前記周辺制
御装置からの情報を選択し前記データバッファに格納す
る第二の選択回路と、自ユニットで障害が発生したとき
に、その障害の種類をフラグにセットし送出する障害情
報識別フラグ手段とを含み、前記第二のユニットは、前
記制御レジスタ群、ファームウェア実行手段、メモリ、
および障害情報識別フラグ手段と、前記制御レジスタ群
に格納されている制御情報を選択する第三の選択回路と
、前記第一のユニットからの動作指示に従いデータ転送
を制御し、前記第一のユニットへの障害情報格納完了指
示を制御するユニット制御回路とを含むことを特徴とす
る。前記第一のユニットのファームウェア実行手段は、
前記障害情報識別フラグ手段からのフラグを読み取り、
チャネル装置障害フラグに編集して前記チャネル制御装
置に送出する手段を含むことが望ましく、前記第二のユ
ニットは、複数のユニットにより構成することができる
。 【0011】 【作用】チャネル装置を構成する各ユニットのいずれか
で障害が発生したときに、制御レジスタ群の制御情報を
障害情報として各ユニットのメモリに退避させ、チャネ
ル装置障害フラグを作成し、障害によって動作不能とな
ったチャネル装置の各制御回路を一旦リセットして動作
可能状態にする。同時にチャネル制御装置がチャネル装
置からのチャネル装置障害フラグを判定し障害の内容を
確認し必要な情報だけを読み出し、通常のデータ転送と
同じ方法で主記憶装置に障害情報を転送する。  【0
012】これにより、他のチャネルで実行中の処理を中
断することなく、必要とされる障害情報だけを高速に読
み出し収集することができる。 【0013】 【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図である
。 【0014】本発明実施例は、図外の主記憶装置に接続
されデータ転送を制御するチャネル制御装置1と、周辺
制御装置3に接続されデータ転送を制御する複数のチャ
ネル装置2とを備え、チャネル制御装置1に、ファーム
ウェアを実行するファームウェア実行手段12と、複数
のチャネル装置2との間のインタフェースを制御するチ
ャネル装置制御回路11と、データを一時格納するデー
タバッファ10とを含み、チャネル装置2は第一のユニ
ット0および複数の第二のユニット1、2、3により構
成され、第一のユニット0は、チャネル制御装置1から
の動作指示に従いデータ転送を制御する転送制御回路2
0と、チャネル制御装置1への割り込みを制御する割込
み制御回路22と、データを一時格納するデータバッフ
ァ29と、制御情報を格納する複数の制御レジスタによ
り構成された制御レジスタ群24と、この制御レジスタ
群24に格納されている制御情報を選択する選択回路2
5と、自ユニットを制御するファームウェア実行手段2
6と、選択回路25で選択された制御情報を障害情報と
して格納し、ファームウェア実行手段26から与えられ
る読み出しアドレスおよび転送バイトカウントにより読
み出し処理を制御するメモリ27と、このメモリ27ま
たは周辺制御装置3からの情報を選択しデータバッファ
29に格納する選択回路28と、自ユニットで障害が発
生したときに、その障害の種類をフラグにセットし送出
する障害情報識別フラグ手段21とを含み、第二のユニ
ット1は、制御レジスタ群30、ファームウェア実行手
段33、メモリ35、および障害情報識別フラグ手段3
4と、制御レジスタ群30に格納されている制御情報を
選択する選択回路31と、第一のユニット0からの動作
指示に従いデータ転送を制御し、第一のユニット0への
障害情報格納完了指示を制御するユニット制御回路32
とを含み、第二のユニット2および3は、それぞれ障害
情報識別フラグ手段40および50と、メモリ41およ
び51と、第一のユニット0が備えるその他の構成要素
を有する。前記第一のユニット0のファームウェア実行
手段26は、障害情報識別フラグ手段21からのフラグ
を読み取り、チャネル装置障害フラグ23に編集してチ
ャネル制御装置1に送出する手段を含み、第二のユニッ
トは、複数のユニットにより構成される。 【0015】本実施例では、説明を簡単にするために図
1中の第二のユニット2および3は障害情報識別フラグ
40、50およびメモリ41、51以外の記入が省略さ
れている。障害情報を転送するための処理および動作は
ユニット1と同様に行われる。 【0016】ユニット0、1、2および3の各制御回路
には、障害を検出し、それぞれ自ユニットのファームウ
ェア実行手段に割り込む機能、検出した障害の内容を自
ユニットの障害情報識別フラグにセットする機能、およ
びファームウェア実行手段26からのリセット指示がユ
ニット1〜nのファームウェアに通知された後、ファー
ムウェアが自ユニットの各制御回路をリセットする機能
を有する。図1では、ファームウェア実行手段に割り込
むための信号線、障害情報識別フラグをセットするため
の信号線、およびファームウェア実行手段が各制御回路
をリセットするための信号線は省略されている。 【0017】次に、このように構成された本発明実施例
の動作について説明する。 【0018】ユニット0に障害が発生すると、周辺制御
装置3と図外の主記憶装置との間で行われていたデータ
転送処理を中止し、障害を検出した転送制御回路20は
ファームウェア実行手段26に割り込みをかけ、検出し
た障害の内容を障害情報識別フラグ手段21にセットす
る (図1中の信号線省略) 。ファームウェア実行手
段26は、障害が発生したことをデータパス118 を
介してユニット制御回路32に通知する。またファーム
ウェア実行手段26は、障害発生時の制御レジスタ群2
4の制御情報を障害情報としてメモリ27に格納するた
めに選択指示信号線106 を介して選択回路25にす
べての制御レジスタ番号を順次指示する。 【0019】制御レジスタ番号により選択された障害情
報は、データパス110 を介してファームウェア実行
手段26の内部レジスタに取り込まれ、データパス11
6 を介してメモリ27のユニット0障害情報格納領域
(0000−0FFF番地)に順次格納される。 【0020】一方、ユニット1では、ファームウェア実
行手段26からの障害発生通知により周辺制御装置3と
主記憶装置間でデータ転送が行われていたときには処理
を中止し、ユニット制御回路32がデータパス120 
を介してファームウェア実行手段33へ割り込む。ファ
ームウェア実行手段33は、この割り込みにより障害処
理ルーチンが割り出され、選択指示信号線108 を介
して選択回路31にすべての制御レジスタ番号を順次転
送する。 【0021】この制御レジスタ番号により選択された障
害情報は、データパス127 を介してファームウェア
実行手段33の内部レジスタに取り込まれ、データパス
121 を介してメモリ35に順次格納される。ファー
ムウェア実行手段26からの障害発生通知は、ユニット
2および3にも通知される。 【0022】この通知によりユニット2および3は、ユ
ニット1と同様に制御レジスタの制御情報を自ユニット
のメモリ41および51に順次格納する。 【0023】ユニット1のファームウェア実行手段33
は、全制御レジスタの情報をメモリ35に格納すると、
データパス120 を介してユニット制御回路32に障
害情報格納完了を通知する。ユニット制御回路32は、
この通知によりファームウェア実行手段26にデータパ
ス118を介して障害情報格納完了を通知する。ファー
ムウェア実行手段26は、ユニット1、2、3からの障
害情報格納完了通知およびユニット0の障害情報の格納
完了を検出すると、ユニット0、1、2、3の障害情報
識別フラグ手段21、34、40、50をそれぞれデー
タパス113 、119 、123 、125 を介し
て読み取り、ファームウェア実行手段12の読み取り可
能な形式に編集する。 【0024】編集した結果をデータパス111 を介し
てチャネル装置障害フラグ23にセットし、データパス
112 を介して割り込み制御回路22にチャネル装置
障害フラグ作成完了を通知する。 【0025】フラグの作成が完了するとファームウェア
実行手段26は、障害発生で動作不可能となったチャネ
ル装置の障害状態をリセットするために、データバス1
18 を介してユニット制御回路32にユニット1リセ
ット指示を通知する。このリセット指示によりユニット
制御回路32は、データパス120 を介してファーム
ウェア実行手段33に割り込み、障害状態リセット処理
ルーチンを割り出す。 【0026】ファームウェア実行手段33は、メモリ3
5以外の制御回路をリセットし、データパス120 、
ユニット制御回路32およびデータパス118 を介し
てファームウェア実行手段26にユニット1リセット完
了を通知する。同様にファームウェア実行手段26は、
ユニット2および3にもそれぞれユニット2リセット指
示、ユニット3リセット指示を通知する。この通知によ
りユニット2および3のファームウェア実行手段は、メ
モリ41およびメモリ51以外の制御回路をリセットし
、ファームウェア実行手段26にそれぞれユニット2リ
セット完了およびユニット3リセット完了を通知する。 【0027】一方、ユニット0では、ファームウェア実
行手段26がメモリ27およびチャネル装置障害フラグ
23以外の制御回路をリセットする。ファームウェア実
行手段26は、ユニット0のリセットが完了するとユニ
ット1、2、および3からの通知要因をチェックし、そ
れぞれリセット完了が通知されていると、ユニット1、
2、および3のメモリ35、41、51の障害情報をメ
モリ27に格納するために、各ユニットのユニット制御
回路に障害情報移動指示を通知する。 【0028】データパス118 を介してこの通知を受
け取ったユニット制御回路32は、データパス120 
を介してファームウェア実行手段33に障害情報移動指
示を通知する。ファームウェア実行手段33は、この通
知によりメモリ35に格納されている障害情報をデータ
パス121 を介してすべて読み出し、データパス12
0 、ユニット制御回路32、データパス118 を介
してファームウェア実行手段26に転送する。 【0029】ファームウェア実行手段26は、データパ
ス116 を介して、メモリ27のユニット1障害情報
格納領域(1000−1FFF番地)に読み出した障害
情報を格納する。ファームウェア実行手段26からの障
害情報移動指示は、ユニット2およびユニット3にも通
知され、それぞれユニット1と同様に、メモリ41に格
納されている障害情報は、メモリ27のユニット2障害
情報格納領域(2000−2FFF番地)に格納され、
メモリ51に格納されている障害情報も、メモリ27の
ユニット3障害情報格納領域(3000−3FFF番地
)に格納される。 各ユニットの障害情報をメモリ27に移動し、格納が完
了するとファームウェア実行手段26は、データパス1
12 を介して割り込み制御回路22に障害情報移動完
了を通知する。 【0030】割り込み制御回路22は、ファームウェア
実行手段26からのチャネル装置障害フラグ作成完了通
知および障害情報移動完了を検出すると、インタフェー
ス信号線102 を介してチャネル装置制御回路11に
割り込む。 チャネル装置制御回路11は、チャネル装置2からの割
り込みでデータパス109 を介してファームウェア実
行手段12に割り込む。この割り込みによりファームウ
ェア実行手段12は、インタフェース信号線103 を
介してチャネル装置障害フラグ23を読み出し、障害の
種類を判定する。 【0031】この判定によりあらかじめ準備されている
制御テーブル (障害の種類とチャネル装置のメモリの
読み出しアドレスと転送する障害情報のバイトカウント
とを対応させたテーブル) からチャネル装置2のメモ
リに格納された障害情報を読み出すための読み出しアド
レスと転送バイトカウントを作成する。ファームウェア
実行手段12は、作成した読み出しアドレスおよび転送
バイトカウントをデータパス109 を介してチャネル
装置制御回路11に与える。 【0032】チャネル装置制御回路11は、インタフェ
ース信号線101 を介して、転送制御回路20に読み
出しアドレス (例として“0500”番地から読み出
す)と転送バイトカウント(例として“2048”バイ
ト転送)および障害情報転送開始指示を通知する。 【0033】転送制御回路20は、この障害情報転送開
始指示によりデータパス114 を介してファームウェ
ア実行手段26に割り込み、障害情報転送処理ルーチン
を割り出す。ファームウェア実行手段26は、データパ
ス114 を介して転送制御回路20から読み出しアド
レスおよび転送バイトカウントを読み取り、この読み出
しアドレスに従ってデータパス116を介してメモリ2
7にアドレス(“0500”)および転送バイトカウン
ト(“2048”)を与え、選択指示信号線107 を
介して選択回路28にメモリ27を選択する指示を与え
る。 【0034】メモリ27は、“0500”番地から“2
048”バイトの障害情報を読み出す制御をする。読み
出された障害情報は、通常のデータ転送と同じ方法でデ
ータバッファ29およびデータパス115 を介して転
送制御回路20に転送され、さらにインタフェース信号
線100 を介してデータバッファ10に格納され、イ
ンタフェース信号線104 を介して主記憶装置に転送
される。 【0035】 【発明の効果】以上説明したように本発明によれば、チ
ャネル装置を構成する各ユニットのいずれかで障害が発
生した場合、制御レジスタ群の制御情報を障害情報とし
て各ユニットのメモリに退避させ、チャネル装置障害フ
ラグを作成して障害によって動作不能となったチャネル
装置の各制御回路 (チャネル装置障害フラグ、メモリ
を除く) を一旦リセットすることにより、チャネル装
置を動作可能にし、また、チャネル制御装置がチャネル
装置障害フラグを判定し障害の内容を知ることにより、
必要な情報だけをチャネル装置から読み出すことができ
る。 さらに、障害情報を通常のデータ転送と同じ方法で読み
出し主記憶装置に転送することにより、チャネル制御装
置全体を占有することなく、各ユニットのメモリに退避
させた詳細な障害情報を多量に、かつ高速に収集できる
効果がある。
DETAILED DESCRIPTION OF THE INVENTION [0001] The present invention is utilized for data transfer between a main storage device and a peripheral control device. The present invention relates to a data transfer device that can collect detailed failure information at high speed. 2. Description of the Related Art FIG. 2 is a block diagram showing the configuration of a conventional data transfer device. A conventional data transfer device is composed of a channel control device 1 and a channel device 2',
The channel control device 1 is controlled by a firmware execution means 12 and includes a channel device control circuit 11 that controls an interface with a plurality of channel devices 2', and a data buffer 10 that controls read data and write data. The channel device 2' also includes a data buffer 62 for controlling read data and write data.
, a transfer control circuit 60 that controls transfer with the channel control device 1 and operation instructions from the channel device control circuit 11, an interrupt control circuit 61 that controls interrupts to the channel control device 1, and It includes a control register group 63 that stores the status and information necessary for transfer, and a selection circuit 64 that selects the contents of the control register group 63 in response to a control information selection instruction from the firmware execution means 12. Each control circuit of the channel device 2' has a function of verifying a fault and issuing an interrupt to the interrupt control circuit 61. However, a signal line for interrupting the interrupt control circuit 61 is omitted in FIG. [0005] If a failure occurs in the channel device 2',
The transfer control circuit 60 that has detected the failure issues an interrupt to the interrupt control circuit 61 . The interrupt control circuit 61 notifies the channel device control circuit 11 via the interface signal line 200 that a failure has occurred. When the channel device control circuit 11 is notified of the occurrence of a failure, it interrupts the firmware execution means 12 and determines a failure handling routine. The firmware execution means 12 sequentially gives instructions to select the control register group 63 via the interface signal line 201. The selection circuit 64 sequentially selects the control register group 63 and transfers it to the firmware execution means 12 via the interface signal line 202. [0007] As described above, the conventional device is controlled so that it cannot collect anything other than failure information from registers that can be read from the firmware execution means 12, so the amount of information is small. Furthermore, when collecting fault information other than readable registers, the entire channel control device is occupied before collecting the fault information. [0008] The above-mentioned conventional fault information transfer method has limitations because it is controlled so that only fault information in registers that can be read from the firmware execution means of the channel control device can be collected. It is not possible to perform a sufficient fault analysis with only the fault information provided, and if detailed fault information of a channel device is required, detailed fault information cannot be collected unless the entire channel control device to which the channel device is connected is occupied. Since it is in control, it has the disadvantage that all processes being executed on other channels must be interrupted. [0009] The present invention solves these problems, and aims to provide a device that can collect necessary failure information and perform failure analysis without interrupting processes being executed on other channels. purpose. [0010] The present invention comprises a channel control device connected to a main storage device and controlling data transfer, and a plurality of channel devices connected to a peripheral control device controlling data transfer. , the channel control device includes a firmware execution unit that executes firmware, a channel device control circuit that controls an interface between the plurality of channel devices, and a data buffer that temporarily stores data; , a transfer control circuit that controls data transfer according to operation instructions from the channel control device, an interrupt control circuit that controls interrupts to the channel control device, a data buffer that temporarily stores data, and a plurality of buffers that store control information. In the data transfer device, the channel device includes a control register group configured of control registers, and a selection circuit that selects control information stored in the control register group. The first unit includes the transfer control circuit, interrupt control circuit, data buffer, control register group, and selection circuit, and second firmware execution means for controlling the own unit;
Selecting a memory that stores the control information selected by the selection circuit as fault information and controls read processing based on the read address and transfer byte count given from the firmware execution means, and information from this memory or the peripheral control device. and a fault information identification flag means for setting and transmitting a flag indicating the type of fault when a fault occurs in the own unit; , the control register group, firmware execution means, memory,
and a fault information identification flag means; a third selection circuit that selects control information stored in the control register group; and a third selection circuit that controls data transfer according to an operation instruction from the first unit; and a unit control circuit that controls an instruction to complete storage of fault information to the unit. The firmware execution means of the first unit includes:
reading a flag from the fault information identification flag means;
It is preferable to include means for editing the channel device failure flag and sending it to the channel control device, and the second unit can be composed of a plurality of units. [Operation] When a failure occurs in any of the units constituting the channel device, the control information in the control register group is saved as failure information in the memory of each unit, and a channel device failure flag is created. Each control circuit of a channel device that has become inoperable due to a failure is once reset to an operable state. At the same time, the channel control device determines the channel device fault flag from the channel device, confirms the content of the fault, reads only necessary information, and transfers the fault information to the main storage device using the same method as normal data transfer. 0
[012] Thereby, only the necessary fault information can be read out and collected at high speed without interrupting the processing being executed on other channels. [Embodiment] Next, an embodiment of the present invention will be explained based on the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. The embodiment of the present invention includes a channel control device 1 that is connected to a main storage device (not shown) and controls data transfer, and a plurality of channel devices 2 that are connected to a peripheral control device 3 and control data transfer. A channel control device 1 includes a firmware execution means 12 for executing firmware, a channel device control circuit 11 for controlling an interface between a plurality of channel devices 2, and a data buffer 10 for temporarily storing data. 2 is composed of a first unit 0 and a plurality of second units 1, 2, and 3, and the first unit 0 is a transfer control circuit 2 that controls data transfer according to operation instructions from the channel control device 1.
0, an interrupt control circuit 22 for controlling interrupts to the channel control device 1, a data buffer 29 for temporarily storing data, a control register group 24 composed of a plurality of control registers for storing control information, and a control register group 24 for controlling interrupts. Selection circuit 2 that selects control information stored in register group 24
5, and firmware execution means 2 that controls the own unit.
6, a memory 27 that stores the control information selected by the selection circuit 25 as failure information and controls the read process based on the read address and transfer byte count given from the firmware execution means 26; and this memory 27 or the peripheral control device 3. a selection circuit 28 that selects information from the unit and stores it in the data buffer 29; and a failure information identification flag means 21 that sets the type of failure in a flag and sends it when a failure occurs in its own unit; The unit 1 includes a control register group 30, a firmware execution means 33, a memory 35, and a failure information identification flag means 3.
4, a selection circuit 31 that selects control information stored in the control register group 30, and a selection circuit 31 that controls data transfer according to operation instructions from the first unit 0 and instructs the first unit 0 to complete storage of failure information. A unit control circuit 32 that controls
The second units 2 and 3 have fault information identification flag means 40 and 50, memories 41 and 51, and other components included in the first unit 0, respectively. The firmware execution means 26 of the first unit 0 includes means for reading the flag from the fault information identification flag means 21, editing it into a channel device fault flag 23, and sending it to the channel control device 1. , consists of multiple units. In this embodiment, in order to simplify the explanation, entries other than the fault information identification flags 40, 50 and memories 41, 51 are omitted from the second units 2 and 3 in FIG. Processing and operations for transferring fault information are performed in the same way as in unit 1. Each of the control circuits of units 0, 1, 2, and 3 has a function of detecting a fault and interrupting the firmware execution means of its own unit, and setting the content of the detected fault to the fault information identification flag of its own unit. After the firmware of the units 1 to n is notified of the function and the reset instruction from the firmware execution means 26, the firmware has a function of resetting each control circuit of its own unit. In FIG. 1, a signal line for interrupting the firmware execution means, a signal line for setting a fault information identification flag, and a signal line for the firmware execution means to reset each control circuit are omitted. Next, the operation of the embodiment of the present invention constructed as described above will be explained. When a failure occurs in the unit 0, the data transfer process being performed between the peripheral control device 3 and the main storage device (not shown) is stopped, and the transfer control circuit 20 that has detected the failure executes the firmware execution means 26. and sets the details of the detected failure in the failure information identification flag means 21 (signal lines are omitted in FIG. 1). The firmware execution means 26 notifies the unit control circuit 32 via the data path 118 that a failure has occurred. The firmware execution means 26 also controls the control register group 2 when a failure occurs.
In order to store the control information of No. 4 in the memory 27 as failure information, all control register numbers are sequentially instructed to the selection circuit 25 via the selection instruction signal line 106. The fault information selected by the control register number is taken into the internal register of the firmware execution means 26 via the data path 110.
The unit 0 fault information storage area (addresses 0000-0FFF) of the memory 27 is sequentially stored through the memory 27 via the memory 27. On the other hand, in the unit 1, when data transfer is being performed between the peripheral control device 3 and the main storage device due to a fault occurrence notification from the firmware execution means 26, the processing is stopped, and the unit control circuit 32 transfers data to the data path 120.
The firmware execution means 33 is interrupted via the . The firmware execution means 33 is issued a failure handling routine by this interrupt, and sequentially transfers all control register numbers to the selection circuit 31 via the selection instruction signal line 108. The fault information selected by this control register number is taken into the internal register of the firmware execution means 33 via the data path 127 and sequentially stored in the memory 35 via the data path 121. The failure occurrence notification from the firmware execution means 26 is also notified to the units 2 and 3. With this notification, units 2 and 3, like unit 1, sequentially store the control information in the control register in their own memories 41 and 51. Firmware execution means 33 of unit 1
When the information of all control registers is stored in the memory 35,
The unit control circuit 32 is notified via the data path 120 of the completion of storing the fault information. The unit control circuit 32 is
This notification notifies the firmware execution means 26 via the data path 118 of the completion of storing the fault information. When the firmware execution means 26 detects the failure information storage completion notification from the units 1, 2, and 3 and the failure information storage completion of the unit 0, the firmware execution means 26 detects the failure information identification flag means 21, 34 of the units 0, 1, 2, and 3. 40 and 50 are read via data paths 113 , 119 , 123 , and 125 , respectively, and edited into a format readable by firmware execution means 12 . The edited result is set in the channel device fault flag 23 via the data path 111, and the completion of channel device fault flag creation is notified to the interrupt control circuit 22 via the data path 112. When the flag creation is completed, the firmware execution means 26 executes the data bus 1 in order to reset the failure state of the channel device that has become inoperable due to the occurrence of a failure.
18 to notify the unit control circuit 32 of the unit 1 reset instruction. In response to this reset instruction, the unit control circuit 32 interrupts the firmware execution means 33 via the data path 120 and issues a failure state reset processing routine. [0026] The firmware execution means 33 stores the memory 3
Reset the control circuits other than 5, and reset the data path 120,
Completion of unit 1 reset is notified to firmware execution means 26 via unit control circuit 32 and data path 118. Similarly, the firmware execution means 26
Units 2 and 3 are also notified of the unit 2 reset instruction and unit 3 reset instruction, respectively. In response to this notification, the firmware execution means of units 2 and 3 reset the control circuits other than the memory 41 and memory 51, and notify the firmware execution means 26 of completion of unit 2 reset and completion of unit 3 reset, respectively. On the other hand, in the unit 0, the firmware execution means 26 resets the memory 27 and the control circuits other than the channel device failure flag 23. When the reset of unit 0 is completed, the firmware execution means 26 checks the notification factors from units 1, 2, and 3, and if the reset completion is notified, the firmware execution means 26 executes the
In order to store the fault information of the memories 35, 41, and 51 of Nos. 2 and 3 in the memory 27, a fault information movement instruction is notified to the unit control circuit of each unit. Upon receiving this notification via data path 118, unit control circuit 32
The fault information movement instruction is notified to the firmware execution means 33 via. In response to this notification, the firmware execution means 33 reads out all the fault information stored in the memory 35 via the data path 121 .
0, the unit control circuit 32, and the firmware execution means 26 via the data path 118. The firmware execution means 26 stores the read failure information in the unit 1 failure information storage area (addresses 1000-1FFF) of the memory 27 via the data path 116. The fault information movement instruction from the firmware execution means 26 is also notified to the unit 2 and unit 3, and similarly to the unit 1, the fault information stored in the memory 41 is transferred to the unit 2 fault information storage area of the memory 27 ( 2000-2FFF address),
The fault information stored in the memory 51 is also stored in the unit 3 fault information storage area (addresses 3000-3FFF) of the memory 27. The fault information of each unit is moved to the memory 27, and when the storage is completed, the firmware execution means 26 moves the fault information of each unit to the memory 27.
12 to notify the interrupt control circuit 22 of the completion of the failure information movement. When the interrupt control circuit 22 detects the channel device failure flag creation completion notification and failure information movement completion from the firmware execution means 26, it interrupts the channel device control circuit 11 via the interface signal line 102. The channel device control circuit 11 interrupts the firmware execution means 12 via the data path 109 in response to an interrupt from the channel device 2. This interrupt causes the firmware execution means 12 to read the channel device fault flag 23 via the interface signal line 103 and determine the type of fault. Based on this determination, a control table prepared in advance (a table that associates the type of failure, the read address of the memory of the channel device, and the byte count of the failure information to be transferred) is stored in the memory of the channel device 2. Create a read address and transfer byte count to read fault information. Firmware execution means 12 provides the created read address and transfer byte count to channel device control circuit 11 via data path 109 . The channel device control circuit 11 sends a read address (for example, reading from address "0500"), a transfer byte count (for example, "2048" byte transfer), and a fault to the transfer control circuit 20 via the interface signal line 101. Notify information transfer start instruction. The transfer control circuit 20 interrupts the firmware execution means 26 via the data path 114 in response to this fault information transfer start instruction, and issues a fault information transfer processing routine. The firmware execution means 26 reads the read address and the transfer byte count from the transfer control circuit 20 via the data path 114, and reads the read address and transfer byte count from the transfer control circuit 20 via the data path 114, and reads the read address and transfer byte count from the memory 2 via the data path 116.
7 is given an address (“0500”) and a transfer byte count (“2048”), and an instruction to select the memory 27 is given to the selection circuit 28 via the selection instruction signal line 107. The memory 27 stores data from address “0500” to “2”.
The read fault information is transferred to the transfer control circuit 20 via the data buffer 29 and the data path 115 in the same manner as normal data transfer, and is further transferred to the interface signal line. 100, and is transferred to the main memory device via the interface signal line 104. [Effects of the Invention] As explained above, according to the present invention, a channel device is configured. If a failure occurs in any of the units, the control information in the control register group is saved as failure information in the memory of each unit, a channel device failure flag is created, and each control of the channel device that has become inoperable due to the failure is By once resetting the circuit (excluding the channel device fault flag and memory), the channel device can be made operational, and by the channel control device determining the channel device fault flag and knowing the details of the fault,
Only the necessary information can be read from the channel device. Furthermore, by transferring fault information to the read main memory using the same method as normal data transfer, it is possible to store a large amount of detailed fault information saved in the memory of each unit without occupying the entire channel control device. It has the effect of being able to collect data quickly.

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

【図1】  本発明実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】  従来例の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of a conventional example.

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

1    チャネル制御装置 2、2′    チャネル装置 3    周辺制御装置 10、29、62    データバッファ11    
チャネル装置制御回路 12、26、33    ファームウェア実行手段20
、60    転送制御回路 21、34、40、50    障害情報識別フラグ手
段22、61    割り込み制御回路 23    チャネル装置障害フラグ 24、30、63    制御レジスタ群25、28、
31、64    選択回路27、35、41、51 
   メモリ(ユニット0)32    ユニット制御
回路
1 Channel control device 2, 2' Channel device 3 Peripheral control device 10, 29, 62 Data buffer 11
Channel device control circuit 12, 26, 33 Firmware execution means 20
, 60 Transfer control circuit 21, 34, 40, 50 Fault information identification flag means 22, 61 Interrupt control circuit 23 Channel device fault flag 24, 30, 63 Control register group 25, 28,
31, 64 selection circuit 27, 35, 41, 51
Memory (unit 0) 32 Unit control circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  主記憶装置に接続されデータ転送を制
御するチャネル制御装置と、周辺制御装置に接続されデ
ータ転送を制御する複数のチャネル装置とを備え、前記
チャネル制御装置に、ファームウェアを実行するファー
ムウェア実行手段と、前記複数のチャネル装置との間の
インタフェースを制御するチャネル装置制御回路と、デ
ータを一時格納するデータバッファとを含み、前記チャ
ネル装置に、前記チャネル制御装置からの動作指示に従
いデータ転送を制御する転送制御回路と、前記チャネル
制御装置への割り込みを制御する割込み制御回路と、デ
ータを一時格納するデータバッファと、制御情報を格納
する複数の制御レジスタにより構成された制御レジスタ
群と、この制御レジスタ群に格納されている制御情報を
選択する選択回路とを含むデータ転送装置において、前
記チャネル装置は、第一のユニットおよび第二のユニッ
トにより構成され、前記第一のユニットは、前記転送制
御回路、割り込み制御回路、データバッファ、制御レジ
スタ群、および選択回路と、自ユニットを制御する第二
のファームウェア実行手段と、前記選択回路で選択され
た制御情報を障害情報として格納し、前記ファームウェ
ア実行手段から与えられる読み出しアドレスおよび転送
バイトカウントにより読み出し処理を制御するメモリと
、このメモリまたは前記周辺制御装置からの情報を選択
し前記データバッファに格納する第二の選択回路と、自
ユニットで障害が発生したときに、その障害の種類をフ
ラグにセットし送出する障害情報識別フラグ手段とを含
み、前記第二のユニットは、前記制御レジスタ群、ファ
ームウェア実行手段、メモリ、および障害情報識別フラ
グ手段と、前記制御レジスタ群に格納されている制御情
報を選択する第三の選択回路と、前記第一のユニットか
らの動作指示に従いデータ転送を制御し、前記第一のユ
ニットへの障害情報格納完了指示を制御するユニット制
御回路とを含むことを特徴とするデータ転送装置。
1. A channel control device connected to a main storage device to control data transfer, and a plurality of channel devices connected to a peripheral control device to control data transfer, wherein firmware is executed on the channel control device. firmware execution means, a channel device control circuit that controls an interface between the plurality of channel devices, and a data buffer that temporarily stores data; a control register group consisting of a transfer control circuit for controlling transfer, an interrupt control circuit for controlling interrupts to the channel control device, a data buffer for temporarily storing data, and a plurality of control registers for storing control information; , and a selection circuit that selects control information stored in the control register group, wherein the channel device includes a first unit and a second unit, and the first unit includes: storing the transfer control circuit, the interrupt control circuit, the data buffer, the control register group, the selection circuit, a second firmware execution means for controlling the own unit, and the control information selected by the selection circuit as fault information; a memory that controls read processing based on a read address and a transfer byte count given from the firmware execution means; a second selection circuit that selects information from this memory or the peripheral control device and stores it in the data buffer; and a self-unit unit. and a fault information identification flag means for setting and transmitting a flag indicating the type of fault when a fault occurs in the system, and the second unit includes the control register group, firmware execution means, memory, and fault information identification flag means. a flag means; a third selection circuit for selecting control information stored in the control register group; and a third selection circuit for controlling data transfer according to an operation instruction from the first unit, and providing fault information to the first unit. A data transfer device comprising: a unit control circuit that controls a storage completion instruction.
【請求項2】  前記第一のユニットのファームウェア
実行手段は、前記障害情報識別フラグ手段からのフラグ
を読み取り、チャネル装置障害フラグに編集して前記チ
ャネル制御装置に送出する手段を含む請求項1記載のデ
ータ転送装置。
2. The firmware execution means of the first unit includes means for reading the flag from the fault information identification flag means, editing it into a channel device fault flag, and sending it to the channel control device. data transfer equipment.
【請求項3】  前記第二のユニットは、複数のユニッ
トにより構成される請求項1記載のデータ転送装置。
3. The data transfer device according to claim 1, wherein the second unit is composed of a plurality of units.
JP2791291A 1991-01-29 1991-01-29 Data transfer device Pending JPH04253249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2791291A JPH04253249A (en) 1991-01-29 1991-01-29 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2791291A JPH04253249A (en) 1991-01-29 1991-01-29 Data transfer device

Publications (1)

Publication Number Publication Date
JPH04253249A true JPH04253249A (en) 1992-09-09

Family

ID=12234099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2791291A Pending JPH04253249A (en) 1991-01-29 1991-01-29 Data transfer device

Country Status (1)

Country Link
JP (1) JPH04253249A (en)

Similar Documents

Publication Publication Date Title
JPH04253249A (en) Data transfer device
JPH1027115A (en) Fault information sampling circuit for computer system
JPH04242850A (en) Fault information transfer system
JPH04165444A (en) Trouble information transfer system
JP3273191B2 (en) Data transfer device
EP1380954B1 (en) Computer system and data processing method
US20060026310A1 (en) Computer system having an I/O module directly connected to a main storage for DMA transfer
JPH04328646A (en) Fault information collecting system
JPH06177896A (en) File transfer system
JP2752834B2 (en) Data transfer device
JPH0380470A (en) Storage controller
JPH086909A (en) Parallel computer system
JPH05241852A (en) Interruption generating device for information processing system
JPH05233482A (en) Data transfer system
JPH0578859B2 (en)
JPS6143739B2 (en)
JPH03226823A (en) Disk controller
JPS6232795A (en) Exchange of multiprocessor system
JPH01188959A (en) Information history memory
JPH0619733B2 (en) Tracer device
JPH02202619A (en) Controller for auxiliary memory device
JPH02207360A (en) Information history storage
JPH01136258A (en) Memory control system for information processor
JPH069037B2 (en) Data transfer device
JPS60129841A (en) Interruption control circuit