JPH01274259A - Universal interface controller - Google Patents

Universal interface controller

Info

Publication number
JPH01274259A
JPH01274259A JP63105055A JP10505588A JPH01274259A JP H01274259 A JPH01274259 A JP H01274259A JP 63105055 A JP63105055 A JP 63105055A JP 10505588 A JP10505588 A JP 10505588A JP H01274259 A JPH01274259 A JP H01274259A
Authority
JP
Japan
Prior art keywords
data
interface control
section
data buffer
internal
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
JP63105055A
Other languages
Japanese (ja)
Inventor
Yasuhisa Watanabe
渡邊 康久
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 JP63105055A priority Critical patent/JPH01274259A/en
Publication of JPH01274259A publication Critical patent/JPH01274259A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attach a sufficient diagnostic function on an interface controller which employs an LSI on the market with insufficient diagnostic function by constituting a closed loop consisting of a data buffer part, an interface control part, and an internal bus. CONSTITUTION:A universal interface controller is provided with a processor part 11, the data buffer part 12, and the interface control part 13 in its inside, and those parts are connected so as to constitute the closed loop by the internal buses (101-105). Internal diagnosis is performed by transferring data to the closed loop, fetching the data in the processor part 11, the data buffer part 12, and the interface control part 13, and comparing the data with sent data.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、汎用インタフェース制御装置に関し、特に、
装置内部の診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION FIELD OF INDUSTRIAL APPLICATION The present invention relates to a general-purpose interface control device, and in particular:
Regarding the diagnostic method inside the device.

従来の技術 従来、この種の汎用インタフェース制御装置は、特に、
インタフェース制御部に市販のLSIを採用して低コス
ト化分計るなどのために、診@機能を充分に備えていな
い。
Prior Art Conventionally, general-purpose interface control devices of this type have been designed, inter alia, with
In order to reduce costs by adopting a commercially available LSI for the interface control section, it does not have sufficient diagnostic functions.

発明が解決しようとする課題 上述した従来の汎用インタフェース制御装置は、相手装
置をつないだ診断を行わない限り、コスト上充分な内部
診断を行うことができないという欠点があった。
Problems to be Solved by the Invention The above-mentioned conventional general-purpose interface control device had a drawback in that sufficient internal diagnosis could not be performed in terms of cost unless diagnosis was performed by connecting the other device.

本発明は従来の技術に内在する上記欠点を解消する為に
なされたものであり、従って本発明の目的は、通常充分
な診断の困難な市販のLSIを採用したインタフェース
制御装置に対して、充分な診断機能をもたせることにあ
る。
The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, it is an object of the present invention to provide a sufficient solution to an interface control device employing a commercially available LSI, which is normally difficult to fully diagnose. The objective is to provide a diagnostic function.

課題を解決するための手段 上記目的を達成する為に1本発明に係る汎用インタフェ
ース制御装置は、内部にプロセッサ部とデータバッファ
部とインタフェース制御部をもち。
Means for Solving the Problems In order to achieve the above object, a general-purpose interface control device according to the present invention includes a processor section, a data buffer section, and an interface control section.

前記プロセッサ部とデータバッファ部とインタフェース
制御部が内部バスに接続され、かつ前記データバッファ
部とインタフェース制御部も接続バスをもち、前記内部
バス−インタフェース制御部−データバッファ部−内部
バスにて閉ループを構成してデータを転送させることに
より内部診断を容易に行える構成を有している。
The processor section, the data buffer section, and the interface control section are connected to an internal bus, and the data buffer section and the interface control section also have a connection bus, and a closed loop is established between the internal bus, the interface control section, the data buffer section, and the internal bus. It has a configuration that allows internal diagnosis to be easily performed by configuring and transferring data.

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

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図を参照するに、11はプロセッサ部を示し、該プ
ロセッサ部11は+02にて内部パス101に接続され
ている。 12はデータバッファ部であり、パス103
にて内部バス+01に接続され、13はインタフェース
制御部であり、パス104にて内部バス+01に接続さ
れている。データバッファ部12とインタフェース制御
部13はパス105にて接続され、更にインタフェース
制御部13はパス106にて外部インタフェースに接続
されている。
Referring to FIG. 1, 11 indicates a processor section, and the processor section 11 is connected to the internal path 101 at +02. 12 is a data buffer section, and a path 103
13 is an interface control unit, which is connected to the internal bus +01 via a path 104. The data buffer unit 12 and the interface control unit 13 are connected by a path 105, and the interface control unit 13 is further connected to an external interface by a path 106.

次に本実施例の動作について説明する。本実施例の場合
、通常入力転送のデータはパス106に接続された外部
インタフェース106からインタフェース制御部13を
経由し、パス105を通してデータバッファ部12にて
バッファリングされ、パス103にて、内部バス+01
に転送される。一方、出力転送のデータは前記入力転送
の逆のコースをたどり、内部バス+01からパス+03
を通してデータバッファ部12にてバッファリングされ
、パス105を通してインタフェース制御部13を経由
してパス106に接続された外部インタフェースに送出
される。
Next, the operation of this embodiment will be explained. In the case of this embodiment, data for normal input transfer is transmitted from the external interface 106 connected to the path 106 via the interface control unit 13, through the path 105, buffered in the data buffer unit 12, and transferred to the internal bus through the path 103. +01
will be forwarded to. On the other hand, data for output transfer follows the reverse course of the input transfer, from internal bus +01 to path +03.
The data is buffered in the data buffer section 12 through the path 105, and sent to the external interface connected to the path 106 via the interface control section 13.

本装置の診断を行う場合には、まず、プロセッサ部11
の起動により内部を診断モードにセットする0診断モー
ドのセットによりインタフェース制御部13内の例えば
特定の2個のレジスタがデータバッファ部12とのパス
+05と接続され、一方はインタフェース制御部13か
らデータバッファ部12ヘデータを送出する(これをレ
ジスタAと呼ぶこととする)。他方は、データバッファ
部12からのデータを受信する(これをレジスタBと呼
ぶこととする)、続いて、プロセッサ部11からインタ
フェース制御部13及びデータバッファ部12に対して
入力転送(外部インタフェースから本装置がデータを受
信する方向)制御を起動し、特定パターンのデータを内
部バス101 を経由してインタフェース制御部13の
レジスタAにセットする。セットされたデータは入力転
送制御動作によりデータバッファ部12に送られ、更に
データバッファ部12から内部バス10!に送出される
ことにより再びプロセッサ部12にとり込むことができ
る。プロセッサ部12では取り込んだデータとレジスタ
Aにセットされたデータを比較することにより通過バス
及び入力転送制御動作に関わる全回路の良否を判定する
ことができる。
When diagnosing this device, first, the processor section 11
By starting the 0 diagnostic mode, for example, two specific registers in the interface control unit 13 are connected to the path +05 to the data buffer unit 12, and one of the registers receives data from the interface control unit 13. Data is sent to the buffer section 12 (this will be referred to as register A). The other side receives data from the data buffer section 12 (this will be referred to as register B), and then transfers input from the processor section 11 to the interface control section 13 and data buffer section 12 (from the external interface). (direction in which this device receives data) control is activated, and a specific pattern of data is set in register A of the interface control unit 13 via the internal bus 101. The set data is sent to the data buffer section 12 by the input transfer control operation, and further from the data buffer section 12 to the internal bus 10! By sending the data to the processor section 12, the data can be taken into the processor section 12 again. The processor section 12 can determine the quality of all circuits related to the pass bus and input transfer control operation by comparing the fetched data and the data set in the register A.

同様に、プロセッサ部12からインタフェース制御部1
3及びデータバッファ部12に対して出力転送(本装置
から外部インタフェースへデータを送信する方向)制御
を起動し、特定パターンのデータを内部バスを経由して
、データバッファ部12に送出する。送出されたデータ
は出力転送制御動作にによりインタフェース制御部13
に送られ、その内部のレジスタBにセットされる。その
後プロセッサ部11は内部バス101を経由して、レジ
スタBの内容を読み出し、データバッファ部12に送出
したデータと比較することにより通過パス及び出力転送
制御動作に関わる全回路の良否を判定することができる
Similarly, from the processor section 12 to the interface control section 1
3 and the data buffer unit 12, and starts output transfer (direction of transmitting data from the device to the external interface) control, and sends a specific pattern of data to the data buffer unit 12 via the internal bus. The sent data is transferred to the interface control unit 13 by the output transfer control operation.
and is set in its internal register B. Thereafter, the processor unit 11 reads the contents of register B via the internal bus 101 and compares it with the data sent to the data buffer unit 12 to determine the quality of all circuits related to the pass path and output transfer control operation. I can do it.

発明の詳細 な説明したように、本発明によれば、データバッファ部
とインタフェース制御部と内部バスによる閉ループを構
成することにより、通常充分な診断の困難な市販のLS
Iを採用したインタフェース制御装置に対して、充分な
診断機能をもたせることができるという効果が得られる
As described in detail, according to the present invention, by configuring a closed loop with a data buffer section, an interface control section, and an internal bus, commercially available LS, which is normally difficult to fully diagnose, can be
The effect is that an interface control device employing I can be provided with a sufficient diagnostic function.

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

第1図は本発明の一実施例を示すブロック構成図である
。 11・・・プロセッサ部、12・・・データバッファ部
、13・・・インタフェース制御部、101・・・内部
バス、102〜106・・・接続パス 特許出願人   日本電気株式会社 代 理 人   弁理士 熊谷雄太部
FIG. 1 is a block diagram showing one embodiment of the present invention. DESCRIPTION OF SYMBOLS 11... Processor section, 12... Data buffer section, 13... Interface control section, 101... Internal bus, 102-106... Connection path Patent applicant NEC Corporation Agent Patent attorney Yutabe Kumagai

Claims (1)

【特許請求の範囲】[Claims] 内部にプロセッサ部とデータバッファ部とインタフェー
ス制御部をもち、前記プロセッサ部とデータバッファ部
とインタフェース制御部が内部バスに接続され、かつ前
記データバッファ部とインタフェース制御部も接続バス
をもち、前記内部バス−インタフェース制御部−データ
バッファ部−内部バスにて閉ループを構成してデータを
転送させることにより内部診断を行えることを特徴とし
た汎用インタフェース制御装置。
It has a processor section, a data buffer section, and an interface control section inside, the processor section, the data buffer section, and the interface control section are connected to an internal bus, and the data buffer section and the interface control section also have a connection bus, and the internal A general-purpose interface control device characterized in that internal diagnosis can be performed by configuring a closed loop between a bus, an interface control unit, a data buffer unit, and an internal bus to transfer data.
JP63105055A 1988-04-26 1988-04-26 Universal interface controller Pending JPH01274259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63105055A JPH01274259A (en) 1988-04-26 1988-04-26 Universal interface controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63105055A JPH01274259A (en) 1988-04-26 1988-04-26 Universal interface controller

Publications (1)

Publication Number Publication Date
JPH01274259A true JPH01274259A (en) 1989-11-02

Family

ID=14397299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63105055A Pending JPH01274259A (en) 1988-04-26 1988-04-26 Universal interface controller

Country Status (1)

Country Link
JP (1) JPH01274259A (en)

Similar Documents

Publication Publication Date Title
JP2996440B2 (en) Diagnosis method of data processing system
JPH01274259A (en) Universal interface controller
JPS5887612A (en) Controlling and diagnosing device for input and output
JPH04209064A (en) Inter-processor connection controller
JPH04138750A (en) Communication controller diagnostic system
JP3427776B2 (en) Bus interface circuit diagnostic method and bus interface circuit
JPH04138749A (en) Communication controller diagnostic system
JPH01277952A (en) General purpose interface controller
JP2718763B2 (en) Self-diagnosis activation method
JPH0667923A (en) Self diagnostic system
JPS60147553A (en) Control apparatus having self-diagnosing function
JPH07104795B2 (en) Error detection method
JPH0417050A (en) One-chip microcomputer
JPS58137038A (en) Diagnostic system for serial interface
JPH01280852A (en) General-purpose interface controller
JPH0681158B2 (en) Data transfer control device
JPS6073755A (en) Diagnostic interface system
JPH081620B2 (en) Remote control device
JPH02211551A (en) Information processor
JPS62241041A (en) Information processor
JPH0470951A (en) Method and circuit for inter-cpu communication
JPH0540728A (en) Bus control method
JPS633346B2 (en)
JPS59106022A (en) Bus connecting system
JPS6278660A (en) Data transfer device