JPH0512055A - Microprocessor unit selection control circuit - Google Patents
Microprocessor unit selection control circuitInfo
- Publication number
- JPH0512055A JPH0512055A JP3166597A JP16659791A JPH0512055A JP H0512055 A JPH0512055 A JP H0512055A JP 3166597 A JP3166597 A JP 3166597A JP 16659791 A JP16659791 A JP 16659791A JP H0512055 A JPH0512055 A JP H0512055A
- Authority
- JP
- Japan
- Prior art keywords
- interrupt signal
- data bus
- signal
- circuit
- internal diagnostic
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はコンピュータ通信回線に
よるマイクロ・プロセッサ・ユニット選択制御回路に関
し、特に2つのマイクロセッサ・ユニットを使用してい
る回路の内部診断制御に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprocessor unit selection control circuit by a computer communication line, and more particularly to an internal diagnostic control of a circuit using two microprocessor units.
【0002】[0002]
【従来の技術】図2は従来の一例を示すブロック図で、
RS−232C回線などのコンピュータ通信回線を用い
たマイクロ・プロセッサ・ユニット(以下MPUと記
す)選択制御回路を示している。図2に示すように2つ
のMPU1A,1Bに対してそれぞれRS−232Cイ
ンターフェイスを設けていて、1つの内部診断装置4で
各MPU1A,1Bの状態を診断しようとする場合には
RS−232Cケーブルを取り替えながら行っていた。
または、各MPU1A,1Bに対してそれぞれ内部診断
装置を用意して診断していた。2. Description of the Related Art FIG. 2 is a block diagram showing a conventional example.
2 shows a microprocessor unit (hereinafter referred to as MPU) selection control circuit using a computer communication line such as an RS-232C line. As shown in FIG. 2, RS-232C interfaces are provided for the two MPUs 1A and 1B, respectively, and when trying to diagnose the state of each MPU 1A, 1B with one internal diagnostic device 4, use an RS-232C cable. I was going while changing them.
Alternatively, an internal diagnostic device is prepared for each MPU 1A, 1B for diagnosis.
【0003】[0003]
【発明が解決しようとする課題】この従来の内部診断方
式では、内部診断装置から内部診断したいMPUを選択
することができないため、内部診断したいMPUに設け
られているRS−232Cケーブルを付け替えることが
必要であり、または2台の内部診断装置が必要となると
いう欠点があった。また、各MPUに対して1つのシリ
アル・インプット・アウトプット・チップ(以下SIO
と記す)およびRS−232Cコネクタを設けなければ
ならないので、回路自体が大きくなる等の問題点があっ
た。In this conventional internal diagnostic method, since the MPU desired to be internally diagnosed cannot be selected from the internal diagnostic device, the RS-232C cable provided in the MPU desired to be internally diagnosed may be replaced. It was either necessary or required two internal diagnostic devices. One serial input / output chip (hereinafter referred to as SIO) for each MPU.
However, there is a problem that the circuit itself becomes large.
【0004】[0004]
【課題を解決するための手段】本発明のマイクロ・プロ
セッサ・ユニット選択制御回路は、まずコンピュータ通
信用インターフェイスを1つにして回路の縮小を計ると
共にコンピュータ通信用ケーブルを1本にすることによ
ってケーブルの取り替えを無くした。そしてシリアルデ
ータ線とは別に1本の制御線を設け、この制御線上にデ
ータバス選択信号をのせてデータバス選択回路に入力す
ることにより、2つのMPUのうち、データ通信を行う
MPUとSIOとの間にデータバスを接続できるように
した。また、データ通信を行うMPUにだけ割込処理を
行わせるため、割込信号とデータバス選択信号の両信号
を割込信号選択回路に入力することにより、データ通信
を行うMPUにのみ割込信号が入力されるようにしてい
る。A microprocessor unit selection control circuit according to the present invention is designed so that a computer communication interface is first provided to reduce the size of the circuit and a computer communication cable is provided. I lost the replacement. Then, one control line is provided separately from the serial data line, and a data bus selection signal is placed on this control line and is input to the data bus selection circuit. The data bus can be connected between. In addition, since only the MPU performing data communication is to perform interrupt processing, by inputting both the interrupt signal and the data bus selection signal to the interrupt signal selection circuit, only the MPU performing data communication will receive the interrupt signal. Is input.
【0005】本発明は、複数のマイクロ・プロセッサ・
ユニットの1つとデータ通信を可能にするためにコンピ
ュータ通信回線を介して外部から入力したデータバス選
択信号によってデータ通信を行う前記マイクロ・プロセ
ッサ・ユニットとシリアル・インプット・アウトプット
・チップとの間のデータバスを接続するデータバス選択
回路と、データ通信を行う前記マイクロ・プロセッサ・
ユニットにだけ割込信号および前記データバス選択信号
を入力する割込信号選択回路とを備えている。The present invention is directed to a plurality of microprocessor
Between the microprocessor unit and the serial input / output chip for data communication according to a data bus select signal externally input via a computer communication line to enable data communication with one of the units. A data bus selection circuit for connecting a data bus, and the microprocessor for performing data communication.
Only the unit is provided with an interrupt signal selection circuit for inputting the interrupt signal and the data bus selection signal.
【0006】[0006]
【実施例】次に本発明についての図面を参照して説明す
る。図1は本発明のMPU選択回路の一実施例を示すブ
ロック図で、コンピュータ通信回線としてRS−232
C回線を使用した例を示す。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the MPU selection circuit of the present invention, which uses RS-232 as a computer communication line.
An example using the C line is shown.
【0007】図1において、2つのMPU1A,1Bが
それぞれRAM3A,3Bをアクセスしている状態の
時、RS−232C回線上に接続された内部診断装置4
がMPU1Aの内部診断を行おうとした場合の動作につ
いて説明する。まず内部診断を行うにあたり、MPU1
AとSIO2との間のデータ通信を可能な状態にするた
め、内部診断装置4からデータバス選択信号をシリアル
データ6とは別に設けた制御線のデータバス選択信号線
10にのせて出力する。このデータバス選択信号がデー
タバス選択回路8に入力されると、データバス選択回路
8はMPU1AとSIO2との間のデータバス5の接続
を行う。これにより、MPU1AとSIO2とのデータ
通信が可能状態となる。その後は、通常通りに内部診断
装置4から内部診断コマンドをシリアルデータ線6に出
力する。シリアルデータとして送信されたコマンドはS
IO2によってパラレルデータに変換され、SIO2は
RxRDY信号を割込信号生成回路7に出力し、割込信
号生成回路7は割込信号11を出力する。この割込信号
11と先に出力されているデータバス選択信号が割込信
号選択回路9に入力される。割込信号選択回路9はMP
U1Aにのみ割込信号を出力する。これにより、MPU
1Aにだけ割込処理を行わせることができる。以上のプ
ロセスにより、内部診断装置4からMPU1Aを選択し
データ通信を行うことができる。MPU1Bを選択する
ときも同様のプロセスにより可能となる。In FIG. 1, when the two MPUs 1A and 1B are accessing the RAMs 3A and 3B, respectively, an internal diagnostic device 4 connected to the RS-232C line is used.
The operation when the internal diagnosis of the MPU 1A is performed will be described. First, when performing internal diagnosis, MPU1
In order to enable the data communication between A and SIO2, the internal diagnostic device 4 outputs the data bus selection signal on the data bus selection signal line 10 of the control line provided separately from the serial data 6. When this data bus selection signal is input to the data bus selection circuit 8, the data bus selection circuit 8 connects the data bus 5 between the MPU 1A and SIO2. As a result, the data communication between the MPU 1A and SIO 2 becomes possible. After that, the internal diagnostic device 4 outputs the internal diagnostic command to the serial data line 6 as usual. The command sent as serial data is S
Converted to parallel data by IO2, SIO2 outputs the RxRDY signal to the interrupt signal generation circuit 7, and the interrupt signal generation circuit 7 outputs the interrupt signal 11. The interrupt signal 11 and the previously output data bus selection signal are input to the interrupt signal selection circuit 9. The interrupt signal selection circuit 9 is MP
The interrupt signal is output only to U1A. This allows the MPU
It is possible to have only 1A perform an interrupt process. Through the above process, the MPU 1A can be selected from the internal diagnostic device 4 and data communication can be performed. A similar process is possible when selecting the MPU 1B.
【0008】[0008]
【発明の効果】以上説明したように本発明は、コンピュ
ータ通信用インターフェイスを1つにして回路の縮小を
計ると共に、コンピュータ通信用ケーブルを一本にする
ことによってケーブルの取り替えを無くした。また、シ
リアルデータ信号線とは別に制御線を設け、これにデー
タバス選択信号を出力しておくだけでその後は通常通り
の内部診断コマンドを送信することにより、内部診断し
たいMPUにのみ内部診断動作を行わせることができる
という効果を有する。As described above, according to the present invention, one computer communication interface is used to reduce the size of the circuit, and one computer communication cable is used to eliminate replacement of the cable. In addition, a control line is provided separately from the serial data signal line, a data bus selection signal is output to this control line, and then an internal diagnostic command is sent as usual, so that internal diagnostic operation is performed only on the MPU for which internal diagnosis is desired. It has an effect that can be performed.
【図1】本発明のMPU選択制御回路の一実施例を示す
ブロック図である。FIG. 1 is a block diagram showing an embodiment of an MPU selection control circuit of the present invention.
【図2】従来の一例を示すブロック図である。FIG. 2 is a block diagram showing a conventional example.
1A,1B MPU 2 SIO 3A,3B RAM 4 内部診断装置 5 データバス 6 シリアルデータ線 7,7A,7B 割込信号生成回路 8 データバス選択回路 9 割込信号選択回路 10 データバス選択信号線 11,11A,11B 割込信号線 1A, 1B MPU 2 SIO 3A, 3B RAM 4 Internal diagnostic device 5 Data bus 6 Serial data line 7, 7A, 7B Interrupt signal generation circuit 8 Data bus selection circuit 9 Interrupt signal selection circuit 10 Data bus selection signal line 11, 11A, 11B interrupt signal line
Claims (1)
の1つとデータ通信を可能にするためにコンピュータ通
信回線を介して外部から入力したデータバス選択信号に
よってデータ通信を行う前記マイクロ・プロセッサ・ユ
ニットとシリアル・インプット・アウトプット・チップ
との間のデータバスを接続するデータバス選択回路と、
データ通信を行う前記マイクロ・プロセッサ・ユニット
にだけ割込信号および前記データバス選択信号を入力す
る割込信号選択回路とを備えることを特徴とするマイク
ロ・プロセッサ・ユニット選択制御回路。Claim: What is claimed is: 1. A microprocessor for performing data communication according to a data bus selection signal input from the outside via a computer communication line to enable data communication with one of a plurality of microprocessor units. A data bus selection circuit for connecting a data bus between the processor unit and the serial input / output chip,
A microprocessor unit selection control circuit, comprising: an interrupt signal selection circuit that inputs an interrupt signal and the data bus selection signal only to the microprocessor unit that performs data communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3166597A JPH0512055A (en) | 1991-07-08 | 1991-07-08 | Microprocessor unit selection control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3166597A JPH0512055A (en) | 1991-07-08 | 1991-07-08 | Microprocessor unit selection control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0512055A true JPH0512055A (en) | 1993-01-22 |
Family
ID=15834242
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3166597A Pending JPH0512055A (en) | 1991-07-08 | 1991-07-08 | Microprocessor unit selection control circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0512055A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010176602A (en) * | 2009-02-02 | 2010-08-12 | Nec Corp | Apparatus, system, method and program for duplication processing |
-
1991
- 1991-07-08 JP JP3166597A patent/JPH0512055A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010176602A (en) * | 2009-02-02 | 2010-08-12 | Nec Corp | Apparatus, system, method and program for duplication processing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0512055A (en) | Microprocessor unit selection control circuit | |
US5968187A (en) | Computer system and method including a portable portion that has a capability to diagnose and perform analysis for a stationary position and for a portable portion | |
JP3300214B2 (en) | Compound arithmetic unit | |
JP3394834B2 (en) | Debugging method for devices that make up a multiprocessor system | |
JP3479847B2 (en) | Input device, output device, and input / output device | |
JP3161174B2 (en) | Key telephone equipment | |
JP3183311B2 (en) | Data transfer system | |
JPH02245978A (en) | Picture processor | |
JPH0495116A (en) | Data transfer equipment between computers | |
JPS63270183A (en) | Data processor | |
JPH0514451A (en) | Line monitor method | |
JPH0589042A (en) | Data processing system | |
JPS63150739A (en) | Diagnosing device for microcomputer board | |
JPH06348536A (en) | Remote diagnostic device | |
JPH0520260A (en) | Serial bus control system | |
JPH04155464A (en) | Inter-memory transfer equipment | |
JPH05191422A (en) | Lan controller with network management function | |
JPH09237257A (en) | Signal processor | |
JPS62120781A (en) | Transmission system for color picture information | |
JPH01246641A (en) | Remote maintenance system | |
JPS6037050A (en) | Input and output controller | |
JPH01321542A (en) | Data converting circuit | |
JPH03271960A (en) | Intelligent inter-cpu adapter | |
JPS60105014A (en) | Signal input device of monitor device | |
JPH02289091A (en) | Image processor |