JP2630520B2 - Board hot-swap method - Google Patents

Board hot-swap method

Info

Publication number
JP2630520B2
JP2630520B2 JP3289726A JP28972691A JP2630520B2 JP 2630520 B2 JP2630520 B2 JP 2630520B2 JP 3289726 A JP3289726 A JP 3289726A JP 28972691 A JP28972691 A JP 28972691A JP 2630520 B2 JP2630520 B2 JP 2630520B2
Authority
JP
Japan
Prior art keywords
board
connector
hot
swap
cpu
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.)
Expired - Lifetime
Application number
JP3289726A
Other languages
Japanese (ja)
Other versions
JPH05127777A (en
Inventor
浩司 及川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3289726A priority Critical patent/JP2630520B2/en
Publication of JPH05127777A publication Critical patent/JPH05127777A/en
Application granted granted Critical
Publication of JP2630520B2 publication Critical patent/JP2630520B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Mounting Of Printed Circuit Boards And The Like (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、基板を活線状態で挿抜
する方式に関し、特にバス接続された基板を挿抜する際
に、バスライン上に擾乱が発生することを防止した、基
板活線挿抜方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for inserting and removing a board in a live state, and more particularly to a method for preventing a disturbance from occurring on a bus line when inserting or removing a board connected to a bus. It relates to the insertion / extraction method.

【0002】CPUを用いた制御装置等においては、そ
の回路を複数の基板に分割して、基板間をバス接続する
方式が多く用いられている。このような場合、その中の
1枚の基板に障害が発生した場合、そのために装置全体
を停止させるのは非常に効率が悪いので、活線状態でそ
の基板を抜き取って、修理または交換を行ない、その
後、再び活線状態で良品の基板を挿入することによって
障害を復旧する、基板活線挿抜方式がとられる。
2. Description of the Related Art In a control device or the like using a CPU, a method of dividing a circuit into a plurality of substrates and connecting the substrates with a bus is often used. In such a case, if a failure occurs in one of the boards, it is very inefficient to stop the entire apparatus. Therefore, the board is removed in a live state and repaired or replaced. Thereafter, a failure is restored by inserting a non-defective board in a live state again, and a board live insertion / removal method is adopted.

【0003】このような基板活線挿抜方式においては、
基板の挿抜に伴ってバス上にノイズが発生することがな
く、従って他の動作中の基板の、正常動作を妨げないも
のであることが要望される。
In such a board hot-swap method,
It is desired that no noise is generated on the bus when the board is inserted or removed, and therefore, the normal operation of other operating boards is not hindered.

【0004】[0004]

【従来の技術】活線状態で基板の挿抜を行なう際に、バ
スライン上に擾乱を与えないようにするために有効な方
法として、従来、知られているのは、挿抜時にも基板に
電源を供給することによって、基板上のバスドライバを
ハイインピーダンス状態に保つ方法である。
2. Description of the Related Art As an effective method for preventing disturbance on a bus line when a board is inserted or removed in a live state, a conventionally known method is to supply power to a board even when the board is inserted or removed. Is supplied to keep the bus driver on the board in a high impedance state.

【0005】そのためには、基板に挿抜時の電源供給用
コネクタを設けて、可撓性のケーブルを介して電源を接
続したまま、基板を挿抜できるようにする必要がある
が、このような活線挿抜の方法については、従来、種々
の提案がなされている。
To this end, it is necessary to provide a power supply connector for insertion and removal on the board so that the board can be inserted and removed while the power supply is connected via a flexible cable. Conventionally, various proposals have been made for the method of wire insertion / removal.

【0006】図5は、従来の基板活線挿抜方式の一例を
示したものであって、11は基板を示し、実装状態で
は、バス接続用のコネクタ(A)12を介して、バック
ボード側のバスおよび電源5Vと接地GNDとに接続さ
れるようになっている。
FIG. 5 shows an example of a conventional board hot-swap method. Reference numeral 11 denotes a board. In a mounted state, a back board side is connected via a bus connection connector (A) 12. And the power supply 5V and the ground GND.

【0007】基板11をコネクタ(A)12に対して挿
抜する際には、活線挿抜時電源供給用のコネクタ(B)
13を接続することによって、電源5Vと接地GNDと
を接続して、動作用の電源を供給する。そしてスイッチ
14を操作して、バスドライバ15に対して、ローレベ
ルの入力を与えることによって、これをハイインピーダ
ンス状態に保持して、この状態で基板11の挿抜を行な
う。バスドライバ15は、コネクタ(A)12を介して
バスに接続されているが、ハイインピーダンス状態に保
持されているので、基板11の挿抜によってバス上にノ
イズを発生することはない。
When the board 11 is inserted into and removed from the connector (A) 12, the power supply connector (B)
13 connects the power supply 5V to the ground GND to supply power for operation. Then, the switch 14 is operated to supply a low-level input to the bus driver 15 to maintain the input in a high-impedance state, and the board 11 is inserted and removed in this state. Although the bus driver 15 is connected to the bus via the connector (A) 12, the bus driver 15 is kept in a high impedance state, so that no noise is generated on the bus when the board 11 is inserted or removed.

【0008】図6は、従来の基板活線挿抜方式の他の例
を示したものであって、図5におけると同じものを同じ
番号で示し、16はコネクタ(B)13の接続時におけ
る、電源5Vの存在を検出するための電圧検出部であ
る。
FIG. 6 shows another example of the conventional board hot-swap method, in which the same components as those in FIG. It is a voltage detection unit for detecting the presence of the power supply 5V.

【0009】この例では、活線挿抜時電源供給用のコネ
クタ(B)を接続することによって、電圧検出部16
は、電源5Vの存在を検出して出力を発生する。バスド
ライバ15は、電圧検出部16の出力によって、ハイイ
ンピーダンス状態に保持されるので、この状態で基板1
1の挿抜を行なう。
In this example, by connecting a connector (B) for supplying power at the time of hot-swap, the voltage detecting section 16 is connected.
Detects the presence of the power supply 5V and generates an output. The bus driver 15 is maintained in a high impedance state by the output of the voltage detection unit 16, and in this state, the substrate 1
1 is inserted and removed.

【0010】このように従来の基板活線挿抜方式では、
コネクタ(B)を接続することによって、またはさらに
スイッチを操作することによって、バスに接続されるバ
スドライバをハイインピーダンス状態にすることができ
るので、この状態で基板を挿抜すれば、バスに擾乱を与
えることはない。基板の挿抜時にコネクタ(B)に接続
する電源は、その装置の主電源部や、外部の電源装置か
ら供給される。
As described above, in the conventional board hot-swap method,
By connecting the connector (B) or further operating a switch, the bus driver connected to the bus can be brought into a high impedance state. I will not give. Power to be connected to the connector (B) when the board is inserted or removed is supplied from a main power supply unit of the device or an external power supply device.

【0011】[0011]

【発明が解決しようとする課題】図5および図6に示さ
れたような従来の基板活線挿抜方式では、バスドライバ
をハイインピーダンス状態に保持するためには、スイッ
チ操作または活線挿抜時電源供給用のコネクタの接続
を、例えば手動操作によって機械的に行なうことが必要
である。
In the conventional board hot-swap method as shown in FIGS. 5 and 6, in order to maintain the bus driver in a high impedance state, a power supply for switch operation or hot-swap operation is required. It is necessary to connect the supply connector mechanically, for example by manual operation.

【0012】一方、基板に対するCPUのバスアクセス
が行なわれても、通常は、これを外部から認識すること
ができない。そのため、基板に対するバスアクセス中に
挿抜が行なわれて、バスドライバがハイインピーダンス
状態になる可能性があるが、このような場合、CPUの
正常動作は保証されないことになるという問題があっ
た。
On the other hand, even if the CPU accesses the board with respect to the board, it cannot usually be recognized from the outside. Therefore, there is a possibility that the bus driver is brought into a high impedance state during the bus access to the board and the bus driver is brought into a high impedance state. However, in such a case, there is a problem that the normal operation of the CPU cannot be guaranteed.

【0013】また、活線挿抜を行なう基板に対して電源
を供給するために、装置の主電源部に接続用のコネクタ
を設けたり、またはそのために、外部電源を用意するこ
とが必要であった。
Further, in order to supply power to a board on which hot-swapping is performed, it is necessary to provide a connector for connection in a main power supply unit of the apparatus, or to prepare an external power supply. .

【0014】本発明はこのような従来技術の課題を解決
しようとするものであって、バスアクセス中に、バスド
ライバをハイインピーダンス状態にすることがないよう
にして、基板の活線挿抜時のCPUの誤動作を防止でき
るようにするとともに、電源供給用として主電源部に接
続するコネクタを設けたり、または外部電源を用意する
必要がないようにすることを目的としている。
An object of the present invention is to solve such a problem of the prior art, and to prevent a bus driver from being in a high impedance state during a bus access so as to prevent a bus driver from being hot-swapped. It is an object of the present invention to prevent malfunction of the CPU and to eliminate the need for providing a connector for supplying power to the main power supply unit or preparing an external power supply.

【0015】[0015]

【課題を解決するための手段】図1は、本発明の原理的
構成を示したものである。本発明は、CPUに接続され
た共通バスと電源にそれぞれ第1のコネクタ1を介して
接続される複数の基板において、基板に電源を供給する
第2のコネクタ2と、基板の活線挿抜時操作を行なうス
イッチ3と、スイッチ3の操作時CPUに対する割り込
みを発生する割り込み発生回路4と、第1のコネクタ1
が接続されていることを検出して第1のコネクタ着脱信
号を発生する第1の着脱検出回路5と、第2のコネクタ
2が接続されていることを検出して第2のコネクタ着脱
信号を発生する第2の着脱検出回路6と、基板の活線挿
抜を許可するCPUからの活線挿抜許可を保持して活線
挿抜許可信号を発生するライトレジスタ7と、第1のコ
ネクタ着脱信号と、第2のコネクタ着脱信号と、活線挿
抜許可信号とのそれぞれの状態から所定の論理に基づい
て共通バスに接続されたバスドライバ8をハイインピー
ダンス状態にするバスドライバ制御回路9とを備え、活
線挿抜許可の発行時、CPUがバスアクセスを停止する
ことによって、基板の活線状態での挿抜を可能にするも
のである。
FIG. 1 shows the basic configuration of the present invention. The present invention includes a second connector 2 for supplying power to a board, and a plurality of boards connected to a common bus and a power supply connected to the CPU via the first connector 1, respectively. A switch 3 for performing an operation, an interrupt generation circuit 4 for generating an interrupt to the CPU when the switch 3 is operated, and a first connector 1
Are connected to each other to generate a first connector attaching / detaching signal, and a first connector attaching / detaching circuit 5 detecting that the second connector 2 is connected to generate a second connector attaching / detaching signal. A second attach / detach detection circuit 6 that is generated, a write register 7 that holds a hot-swap permission from a CPU that permits hot-swap of the board and generates a hot-swap permission signal, and a first connector attach / detach signal. A bus driver control circuit 9 for setting the bus driver 8 connected to the common bus to a high impedance state based on a predetermined logic based on the respective states of the second connector attaching / detaching signal and the hot-swap permission signal, The CPU stops bus access when a hot-swap permission is issued, thereby enabling the hot-swap of the board.

【0016】また本発明は、上記の発明において、第2
のコネクタ2が、基板内から電源供給を行なう回路と、
基板に対して電源供給を受ける回路とを有し、挿抜を行
なわない基板と挿抜を行なう基板とにおけるそれぞれの
コネクタ2をケーブルを介して接続することによって、
挿抜を行なわない基板から挿抜を行なう基板に電源を供
給するものである。
Further, the present invention provides the above-mentioned invention,
A connector 2 for supplying power from within the board;
A circuit for receiving power supply to the board, and connecting the respective connectors 2 of the board that does not perform insertion and removal and the board that performs insertion and removal via a cable,
Power is supplied from a board that does not perform insertion and removal to a board that performs insertion and removal.

【0017】さらに本発明は、これらの場合に、割り込
み発生回路4からの割り込みに基づくCPUからの活線
挿抜許可の発生が、CPUにおけるソフトウェア制御に
基づいて行なわれるものである。
Further, according to the present invention, in these cases, generation of a hot-swap permission from the CPU based on an interrupt from the interrupt generation circuit 4 is performed based on software control in the CPU.

【0018】[0018]

【作用】CPUに接続された共通バスと電源にそれぞれ
第1のコネクタ1を介して接続される複数の基板におい
て、第2のコネクタ2を設けて、基板に電源を供給す
る。基板に設けられたスイッチ3の操作時CPUに対す
る割り込みを発生して、この割り込みに基づくCPUか
らの、基板の活線挿抜許可をライトレジスタ7に保持し
て活線挿抜許可信号を発生し、また、第1のコネクタ1
が接続されていることを検出して第1のコネクタ着脱信
号を発生し、第2のコネクタ2が接続されていることを
検出して第2のコネクタ着脱信号を発生する。そして、
第1のコネクタ着脱信号と、第2のコネクタ着脱信号
と、活線挿抜許可信号とのそれぞれの状態から、所定の
論理に基づいて、共通バスに接続されたバスドライバ8
をハイインピーダンス状態にする。
A second connector is provided on a plurality of boards connected to a common bus and a power supply connected to a CPU via a first connector, respectively, to supply power to the boards. When the switch 3 provided on the board is operated, an interrupt to the CPU is generated, and the hot swapping permission of the board from the CPU based on the interrupt is held in the write register 7 to generate a hot swapping permission signal. , First connector 1
Are detected to generate a first connector attachment / detachment signal, and that the second connector 2 is connected is detected to generate a second connector attachment / detachment signal. And
A bus driver 8 connected to the common bus based on a predetermined logic based on the respective states of the first connector attachment / detachment signal, the second connector attachment / detachment signal, and the hot swapping permission signal.
To a high impedance state.

【0019】CPUは基板の活線挿抜許可を発行したと
きは、バスアクセスを停止するので、従ってこの状態で
基板の挿抜を行なうことによって、バスアクセス中に、
バスドライバがハイインピーダンス状態になることはな
く、基板の活線挿抜時におけるCPUの誤動作を防止す
ることができる。
The CPU stops the bus access when it issues the board hot-swap permission. Therefore, by inserting and removing the board in this state, the bus access is stopped.
The bus driver does not go into a high impedance state, and it is possible to prevent a malfunction of the CPU at the time of hot-swap of the board.

【0020】この場合、第2のコネクタ2が、基板内か
ら電源供給を行なうとともに、基板に対して電源供給を
受けるように構成されているので、挿抜を行なわない基
板と挿抜を行なう基板とにおけるそれぞれのコネクタ2
を、ケーブルを介して接続することによって、挿抜を行
なわない基板から挿抜を行なう基板に電源を供給するこ
とができる。
In this case, since the second connector 2 is configured to supply power from the inside of the board and to receive power from the board, the second connector 2 is connected to the board that does not insert or remove the board. Each connector 2
Can be connected via a cable, so that power can be supplied from a board that does not perform insertion and removal to a board that performs insertion and removal.

【0021】従って本発明によれば、電源供給用として
主電源部に接続するコネクタを設けたり、または外部電
源を用意する必要がない。
Therefore, according to the present invention, there is no need to provide a connector for supplying power to the main power supply unit or prepare an external power supply.

【0022】なお、これらの場合に、割り込みに基づく
CPUからの活線挿抜許可の発生を、CPUにおけるソ
フトウェア制御に基づいて行なうようにすることができ
る。
In these cases, generation of the hot-swap permission from the CPU based on the interrupt can be performed based on software control in the CPU.

【0023】[0023]

【実施例】図2は、本発明の一実施例の構成を示したも
のであって、同等の基板21と基板22とが示されてい
るが、基板の数は任意である。以下においては、基板2
1を挿抜を行なう基板とし、基板22を挿抜を行なわな
い基板として説明する。基板21は、バックボード側に
設けられたバス23と接続するためのコネクタ24と、
活線挿抜時電源供給用のコネクタ25とを有している。
基板22も同様の構成を有しているが、図2において
は、活線挿抜時電源供給用のコネクタ26のみが示され
ている。
FIG. 2 shows the structure of an embodiment of the present invention, in which equivalent substrates 21 and 22 are shown, but the number of substrates is arbitrary. In the following, the substrate 2
1 will be described as a board for performing insertion and removal, and the board 22 will be described as a board for not performing insertion and removal. The board 21 includes a connector 24 for connecting to a bus 23 provided on the backboard side,
And a connector 25 for supplying power during hot-swap.
Although the substrate 22 has the same configuration, FIG. 2 shows only the connector 26 for supplying power during hot-swap.

【0024】図2において、27は活線挿抜用の接続ケ
ーブル、28はCPUに対する割り込み発生操作用のス
イッチ、29はCPUに対する割り込み発生回路、30
1,302 は基板21内のバス、31はCPUからの命令
を書き込むライトレジスタ、32はバスドライバ、、3
3はバスドライバ32のディセーブル,イネーブルを制
御するバスドライバ制御回路、34はバスドライバ32
のハイインピーダンス状態を表示する表示灯、35は抵
抗、36はインバータ、37は抵抗、38はインバータ
である。
In FIG. 2, 27 is a connection cable for hot-swap, 28 is a switch for generating an interrupt for the CPU, 29 is an interrupt generating circuit for the CPU, 30
1, 30 2 bus in the substrate 21, 31 is a write register write instruction from the CPU, 32 a bus driver ,, 3
Reference numeral 3 denotes a bus driver control circuit for controlling disabling and enabling of the bus driver 32, and reference numeral 34 denotes a bus driver 32.
, A reference numeral 35 denotes a resistor, 36 denotes an inverter, 37 denotes a resistor, and 38 denotes an inverter.

【0025】また、図3は、バスドライバ制御回路の動
作を説明するものであって、第1のコネクタ着脱信号
,第2のコネクタ着脱信号,活線挿抜許可信号お
よびディセーブル信号の真理値表を示したものであ
る。
FIG. 3 explains the operation of the bus driver control circuit, and shows a truth table of a first connector attaching / detaching signal, a second connector attaching / detaching signal, a hot-swap enabling signal and a disable signal. It is shown.

【0026】第1のコネクタ着脱信号は、コネクタ2
4が挿入されているとき、“1”となり、第2のコネク
タ着脱信号は、コネクタ25が挿入されているとき、
“1”となる。また活線挿抜許可信号は、CPUから
の活線挿抜許可がライトレジスタ31に書き込まれたと
き、“1”となる。バスドライバのディセーブル信号
は、ディセーブル(ハイインピーダンス状態)時、
“1”となり、イネーブル時、“0”となる。
The first connector attaching / detaching signal is
When the connector 25 is inserted, the signal becomes “1” when the connector 25 is inserted.
It becomes “1”. The hot-swap permission signal becomes “1” when the hot-swap permission from the CPU is written into the write register 31. When the disable signal of the bus driver is disabled (high impedance state),
It becomes "1" and becomes "0" when enabled.

【0027】いま、基板21を引き抜こうとするとき
は、基板21におけるコネクタ25と、基板22におけ
るコネクタ26とを、ケーブル27を用いて接続して、
基板22から基板21側へ電源を供給する。その後、基
板21上のスイッチ28を操作することによって、割り
込み発生回路29から、CPUに対する割り込みを発生
する。この割り込みは、バス23を経て図示されないC
PUへ送られて、基板21において活線挿抜が行なわれ
ることをCPUに通知する。
When the board 21 is to be pulled out, the connector 25 on the board 21 and the connector 26 on the board 22 are connected using a cable 27, and
Power is supplied from the substrate 22 to the substrate 21 side. Thereafter, by operating the switch 28 on the board 21, an interrupt to the CPU is generated from the interrupt generation circuit 29. This interrupt is sent via bus 23 to a C (not shown).
Sent to the PU to notify the CPU that hot-swap is performed on the board 21.

【0028】CPUは、バスアクセス終了後、バス23
を経て基板21に対する活線挿抜許可を発行する。この
情報は、基板21において、バス301,302 を経てラ
イトレジスタ31に書き込まれる。CPUはその後、バ
スアクセスを停止する。CPUのこのような一連の動作
は、例えばCPUの有するソフトウェアに基づいて行な
われる。
After the bus access is completed, the CPU
Then, a hot-swap permission for the board 21 is issued. This information, in the substrate 21, is written in the write register 31 through the bus 30 1, 30 2. Thereafter, the CPU stops the bus access. Such a series of operations of the CPU is performed based on, for example, software of the CPU.

【0029】バスドライバ制御回路32には、コネクタ
24の接続によって、第1のコネクタ着脱信号が入力
され、コネクタ25,26の接続によって、第2のコネ
クタ着脱信号が入力されている。ライトレジスタ31
に活線挿抜許可が書き込まれたことによって、活線挿抜
許可信号が発生すると、図3において(1)に示され
るように、バスドライバ制御回路33から、バスドライ
バ32に対してディセーブル信号が出力される。これ
によって、バスドライバ32は、ハイインピーダンス状
態となる。これと同時に、バスドライバ制御回路33に
よって、表示灯34が点灯して、活線挿抜可能な状態に
なったことを表示する。
A first connector attaching / detaching signal is input to the bus driver control circuit 32 by the connection of the connector 24, and a second connector attaching / detaching signal is input by the connection of the connectors 25 and 26. Write register 31
When the hot-swap permission signal is generated by writing the hot-swap permission to the bus driver control circuit 33, a disable signal is sent from the bus driver control circuit 33 to the bus driver 32 as shown in (1) in FIG. Is output. As a result, the bus driver 32 enters a high impedance state. At the same time, the indicator light 34 is turned on by the bus driver control circuit 33 to indicate that hot-swapping is possible.

【0030】この状態で、ケーブル27を接続したま
ま、基板21をコネクタ24から引き抜くと、コネクタ
24からの電源供給は停止するが、コネクタ25から電
源が供給されているので、バスドライバ32をハイイン
ピーダンス状態に保ったまま、基板21を抜きとること
ができる。
In this state, when the board 21 is pulled out from the connector 24 while the cable 27 is connected, the power supply from the connector 24 is stopped. However, since the power is supplied from the connector 25, the bus driver 32 is The substrate 21 can be removed while maintaining the impedance state.

【0031】基板21を挿入するときは、コネクタ24
を接続しない状態で、コネクタ25とコネクタ26の間
をケーブル27で接続して、基板22から電源を供給す
る。これによって、第2のコネクタ着脱信号が発生す
るので、図3において(2)に示されるように、バスド
ライバ制御回路33から、バスドライバ32に対してデ
ィセーブル信号が出力され、バスドライバ32は、ハ
イインピーダンス状態になる。
When the board 21 is inserted, the connector 24
Are not connected, the connector 25 and the connector 26 are connected by the cable 27, and power is supplied from the board 22. As a result, a second connector attach / detach signal is generated. As shown in (2) in FIG. 3, a disable signal is output from the bus driver control circuit 33 to the bus driver 32, and the bus driver 32 In a high impedance state.

【0032】ここでケーブル27を接続したまま、コネ
クタ24を接続することによって、バスドライバ32を
ハイインピーダンス状態に保ったまま、基板21の挿入
を行なうことができる。コネクタ24の接続によって、
第1のコネクタ着脱信号が入力されるので、図3にお
いて(3)に示されるように、バスドライバ制御回路3
3から、バスドライバ32に対するディセーブル信号
の出力が停止され、バスドライバ32はイネーブルとな
って、動作可能な状態となる。
Here, by connecting the connector 24 with the cable 27 connected, the board 21 can be inserted while the bus driver 32 is kept in a high impedance state. By connecting the connector 24,
Since the first connector attachment / detachment signal is input, as shown in (3) in FIG.
From 3, the output of the disable signal to the bus driver 32 is stopped, and the bus driver 32 is enabled and becomes operable.

【0033】なお、活線挿抜時、リセットすることが必
要な他のデバイス等が基板内に含まれているときは、上
述のバスドライバに対するディセーブル信号を利用し
て、これらのデバイスを同時にリセットすることができ
る。
When other devices or the like that need to be reset are included in the board at the time of hot-swap, these devices are reset simultaneously by using the above-described disable signal to the bus driver. can do.

【0034】図4は、本発明の適用例を示したものであ
って、CPU40を搭載した基板41と、その周辺回路
を搭載した複数の基板42,43,44とが、共通バス
45を介して相互に接続されたシステムが示されてい
る。
FIG. 4 shows an application example of the present invention. A board 41 on which a CPU 40 is mounted and a plurality of boards 42, 43, 44 on which peripheral circuits are mounted are connected via a common bus 45. And interconnected systems are shown.

【0035】図4に示されたシステムにおいて、例えば
基板42を活線挿抜する場合には、活線挿抜用接続ケー
ブル46によって、基板42と例えば隣接する基板43
とを接続した状態で、図2の実施例において説明したよ
うな手順で操作を行なうことによって、CPU40のバ
スアクセスになんら支障を与えることなく、基板42の
挿抜を行なうことができる。
In the system shown in FIG. 4, for example, when the board 42 is hot-plugged, the hot-swap connection cable 46 is used to connect the board 42 to the board 43 adjacent thereto, for example.
By performing the operation according to the procedure described in the embodiment of FIG. 2 in a state where the connection is established, the board 42 can be inserted and removed without any hindrance to the bus access of the CPU 40.

【0036】なお、活線挿抜用接続ケーブル46を接続
するコネクタを、基板41〜44のすべてに同様に設け
ておくことによって、どの基板を挿抜する場合でも、隣
接する基板との間に活線挿抜用接続ケーブル46を接続
することによって、同様の操作によって、基板の活線挿
抜を行なうことができる。従って、本発明によれば、装
置の主電源部に活線挿抜用接続ケーブルを接続するため
のコネクタを設けたり、またはそのために、外部電源を
用意することが必要でない。
By providing the connectors for connecting the hot-swap connection cables 46 on all of the boards 41 to 44 in the same manner, no matter which board is to be inserted or removed, the hot-plug between the adjacent board is required. By connecting the connecting / disconnecting connection cable 46, hot-swapping of the board can be performed by the same operation. Therefore, according to the present invention, it is not necessary to provide a connector for connecting the connection cable for hot-swap to the main power supply unit of the apparatus, or to provide an external power supply for that purpose.

【0037】[0037]

【発明の効果】以上説明したように本発明によれば、バ
スに挿抜可能に接続された複数の基板において、基板の
活線挿抜時、バスドライバをハイインピーダンスにする
タイミングは、CPUのバスアクセス時以外となるの
で、基板の活線挿抜に基づくCPUの誤動作を防止する
ことができるとともに、挿抜しない基板から電源を供給
するので、接続用のケーブルを用意するだけで、活線挿
抜を行なうことが可能となる。
As described above, according to the present invention, when a plurality of boards are detachably connected to a bus, when a board is hot-swapped, the timing for setting the bus driver to high impedance is determined by the bus access of the CPU. It is possible to prevent malfunction of the CPU due to hot swapping of the board because it is not the case, and also to supply power from the board that is not inserted or removed, so that hot plugging can be performed only by preparing a connection cable Becomes possible.

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

【図1】本発明の原理的構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明の一実施例の構成を示す図である。FIG. 2 is a diagram showing a configuration of one embodiment of the present invention.

【図3】バスドライバ制御回路の動作を説明する図であ
る。
FIG. 3 is a diagram illustrating an operation of a bus driver control circuit.

【図4】本発明の適用例を示す図である。FIG. 4 is a diagram showing an application example of the present invention.

【図5】従来の基板活線挿抜方式の一例を示す図であ
る。
FIG. 5 is a diagram showing an example of a conventional board hot-swap method.

【図6】従来の基板活線挿抜方式の他の例を示す図であ
る。
FIG. 6 is a diagram showing another example of the conventional board hot-swap method.

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

1 第1のコネクタ 2 第2のコネクタ 3 スイッチ 4 割り込み発生回路 5 第1の着脱検出回路 6 第2の着脱検出回路 7 ライトレジスタ 8 バスドライバ 9 バスドライバ制御回路 DESCRIPTION OF SYMBOLS 1 1st connector 2 2nd connector 3 switch 4 interrupt generation circuit 5 1st attachment / detachment detection circuit 6 2nd attachment / detachment detection circuit 7 write register 8 bus driver 9 bus driver control circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 CPUに接続された共通バスと電源にそ
れぞれ第1のコネクタ(1)を介して接続される複数の
基板において、 該基板に電源を供給する第2のコネクタ(2)と、 該基板の活線挿抜時操作を行なうスイッチ(3)と、 該スイッチ(3)の操作時CPUに対する割り込みを発
生する割り込み発生回路(4)と、 前記第1のコネクタ(1)が接続されていることを検出
して第1のコネクタ着脱信号を発生する第1の着脱検出
回路(5)と、 前記第2のコネクタ(2)が接続されていることを検出
して第2のコネクタ着脱信号を発生する第2の着脱検出
回路(6)と、 該基板の活線挿抜を許可するCPUからの活線挿抜許可
を保持して活線挿抜許可信号を発生するライトレジスタ
(7)と、 前記第1のコネクタ着脱信号と、第2のコネクタ着脱信
号と、活線挿抜許可信号とのそれぞれの状態から所定の
論理に基づいて前記共通バスに接続されたバスドライバ
(8)をハイインピーダンスにするバスドライバ制御回
路(9)とを備え、 前記活線挿抜許可の発行時、CPUがバスアクセスを停
止することによって前記基板の活線状態での挿抜を可能
にすることを特徴とする基板活線挿抜方式。
1. A plurality of boards connected to a common bus and a power supply connected to a CPU via a first connector (1), respectively, a second connector (2) for supplying power to the boards, A switch (3) for performing an operation for hot-swapping the board, an interrupt generation circuit (4) for generating an interrupt to the CPU when the switch (3) is operated, and the first connector (1) connected A first connector detection signal (5) for detecting that the second connector (2) is connected, and a second connector connection signal for detecting that the second connector (2) is connected. A write register (7) for holding a hot-swap permission from a CPU permitting hot-swap of the board and generating a hot-swap permission signal; A first connector attaching / detaching signal; A bus driver control circuit (9) for setting a bus driver (8) connected to the common bus to high impedance based on a predetermined logic based on a state of each of the connector attaching / detaching signal and the hot-swap permission signal; A board hot-swap method, wherein the CPU stops bus access when the hot-swap permission is issued, thereby enabling the board to be hot-swapped.
【請求項2】 前記第2のコネクタ(2)が、該基板内
から電源供給を行なう回路と、該基板に対して電源供給
を受ける回路とを有し、挿抜を行なわない基板と挿抜を
行なう基板とにおけるそれぞれのコネクタ(2)をケー
ブルを介して接続することによって、挿抜を行なわない
基板から挿抜を行なう基板に電源を供給することを特徴
とする請求項1に記載の基板活線挿抜方式。
2. The second connector (2) has a circuit for supplying power from inside the board and a circuit for receiving power from the board, and performs insertion and removal with a board that does not perform insertion and removal. 2. The board hot-swap method according to claim 1, wherein power is supplied to the board to be inserted and removed from the board which is not inserted and removed by connecting respective connectors (2) to the board via a cable. .
【請求項3】 前記割り込み発生回路(4)からの割り
込みに基づくCPUからの活線挿抜許可の発生が、該C
PUにおけるソフトウェア制御に基づいて行なわれるこ
とを特徴とする請求項1または2に記載の基板活線挿抜
方式。
3. The generation of a hot-swap permission from the CPU based on an interrupt from the interrupt generation circuit (4) is performed by the C
3. The method according to claim 1, wherein the control is performed based on software control in the PU.
JP3289726A 1991-11-06 1991-11-06 Board hot-swap method Expired - Lifetime JP2630520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3289726A JP2630520B2 (en) 1991-11-06 1991-11-06 Board hot-swap method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3289726A JP2630520B2 (en) 1991-11-06 1991-11-06 Board hot-swap method

Publications (2)

Publication Number Publication Date
JPH05127777A JPH05127777A (en) 1993-05-25
JP2630520B2 true JP2630520B2 (en) 1997-07-16

Family

ID=17746963

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3289726A Expired - Lifetime JP2630520B2 (en) 1991-11-06 1991-11-06 Board hot-swap method

Country Status (1)

Country Link
JP (1) JP2630520B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5964855A (en) * 1997-04-07 1999-10-12 International Business Machines Corporation Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
JP5158042B2 (en) * 2009-08-31 2013-03-06 富士通株式会社 Multi-board unit and reset method

Also Published As

Publication number Publication date
JPH05127777A (en) 1993-05-25

Similar Documents

Publication Publication Date Title
JP3418128B2 (en) EMS enhancement circuit for USB system
EP0974085B1 (en) Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
JP3304292B2 (en) Automatic detection device for detecting attachment or identification of an external device, information processing device, and external device
JP2752247B2 (en) Information storage device
US6170029B1 (en) Voltage overshoot control in hot plug system
US6438639B1 (en) Computer system bus network providing concurrent communication and connection transition of peripheral devices
JPH03187169A (en) Ic card connecting device
US7000153B2 (en) Computer apparatus and method of diagnosing the computer apparatus and replacing, repairing or adding hardware during non-stop operation of the computer apparatus
CA2018069A1 (en) Method and apparatus for a rapid interconnection to a computer bus
JP2630520B2 (en) Board hot-swap method
US7127621B2 (en) Peer power control
KR950004201B1 (en) System safety apparatus and method therefor
JPS60134924A (en) Option unit connecting system
JP3270392B2 (en) Hot-swap protection
CN111984296B (en) Dual BIOS monitoring system of COMe board card
JP2980454B2 (en) State protection method
JP2002278913A (en) Information processing system and control method therefor
JP3243687B2 (en) Hot swapping system
JP3190820B2 (en) Disk array device
JPH0720972A (en) Hot-line inserting and extracting device
JP3110790B2 (en) Data processing device
JPH07253834A (en) Module insertion withdrawal controller
JP3335171B2 (en) Electronic equipment
JP2697660B2 (en) System operation assurance circuit for hot swapping
JPH07162173A (en) Electronic circuit board

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970121