CN1678087A - Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module - Google Patents

Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module Download PDF

Info

Publication number
CN1678087A
CN1678087A CN 200410022180 CN200410022180A CN1678087A CN 1678087 A CN1678087 A CN 1678087A CN 200410022180 CN200410022180 CN 200410022180 CN 200410022180 A CN200410022180 A CN 200410022180A CN 1678087 A CN1678087 A CN 1678087A
Authority
CN
China
Prior art keywords
integrated circuit
circuit board
processing apparatus
hot
hot plug
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
CN 200410022180
Other languages
Chinese (zh)
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.)
MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd
Maipu Communication Technology Co Ltd
Original Assignee
MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co 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 MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd filed Critical MAIPU (SICHUAN) COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN 200410022180 priority Critical patent/CN1678087A/en
Publication of CN1678087A publication Critical patent/CN1678087A/en
Pending legal-status Critical Current

Links

Abstract

The invention is related to hot plug control technique for communication products specially. Through I2C bus, the main system controls hot plug state of cards. In the invention, hot plug control bus is separated from PCI bus, and a dedicated management channel in low speed is supplied for managing hot plug. At card side, receiving control command and controlling hot plug is completed through CPLD in hardware mode so as to raise response rate and stability for hot plug operation. The invention is based on general I2C bus architecture, possessing features of simple interface, good expandability and transportability. The disclosed card as general hardware unit can be integrated to same architecture so as to raise modular degree of hardware system.

Description

Veneer hot plug control method and integrated circuit board with hot-swappable control module
Technical field
The present invention relates to electronic technology, particularly communication product hot plug control technology.
Background technology
I 2C bus (or claiming I2C bus, iic bus) is a kind of two-wire serial bus by PHILIPS Co.'s exploitation, topmost advantage is its simplicity and validity, its occupation space is very little, thereby has reduced the space of circuit board and the quantity of chip pin, and then has reduced interconnected cost.While I 2C is a kind of general specification, all integrated this bus of most of flush bonding processors, the convenient transplanting on hardware systems.
Hot plug (HOT SWAP) technology is under a kind of situation that is used to be implemented in communication apparatus energising operate as normal, insert integrated circuit board (heat is inserted) in the integrated circuit board groove position of free time or in the integrated circuit board course of work, pull out integrated circuit board (hot removal), and make integrated circuit board (when heat is inserted) and communication apparatus maintenance (beginning) normal operation and the technology that do not need to restart from the communication apparatus main frame.
Hot plug technology generally is used for equipment that the stability of a system and continuous running are had higher requirements, is used to ensure that equipment still can run well under the situation that a certain integrated circuit board needs to repair, upgrade or add.At present, the communication product with veneer hot plug function becomes a basic demand to this series products gradually.For the communication apparatus of many integrated circuit boards, a kind of good hot plug control method will be the basis that its hot plug function realizes.
The hot plug scheme of using is generally all finished by pci interface chip and hardware circuit jointly at present, lacks effective unified management approach, and the scheme also difference because of the integrated circuit board hardware configuration is different, lacks good transplantability.
Summary of the invention
Technical problem to be solved by this invention is, a kind of easy realization is provided, easily transplants, expense is low, the hot plug control method of working stability.
The present invention solve the technical problem the technical scheme that is adopted, and a kind of veneer hot plug control method is provided, and main system is passed through I 2The hot-swappable state of C bus control integrated circuit board.
The present invention sets up on integrated circuit board has I 2The processing apparatus of C interface, processing apparatus monitor that CompactPCI (abbreviation CPCI) interface judges whether to take place heat and inserts, and insert then activation heat insertion program if heat takes place, and heat takes place the notice main system inserts, and after main system is received, passes through I 2The C bus acknowledge, and loading interface drives.Processing apparatus monitors the BD_SEL signal of CPCI interface, by this signal continuous sampling is judged whether integrated circuit board hot insert action takes place.After the download of all programmable device code was finished on BD_SEL level equalization and the plate, processing apparatus begins to send ENUM and the HSS signal is shown with heat insertion generation to host system table, till main system is replied; Main system is passed through I after receiving interrupt signal and hot pluggable condition signal 2The C bus sends order with the zero clearing of processing apparatus internal interrupt register, with interruption reset condition, and beginning load plate card driver, pass through I after finishing 2The C bus is represented corresponding registers set in the processing apparatus to load and is finished.On integrated circuit board, set up and have I 2The processing apparatus of C interface, processing apparatus monitor that the CPCI interface judges whether to take place hot removal, then report main system if hot removal takes place, and send interruption, and main system is passed through I 2The C bus sends order with the zero clearing of processing apparatus internal interrupt register, with interruption reset condition, and begins to unload the integrated circuit board interface drive program.In pulling out process, main system is passed through I earlier if need read chip register content on the integrated circuit board 2A fixing register in the C access process device judges that by the readout correctness integrated circuit board is whether also in slot.Processing apparatus is notified the user the current specific procedure stage that is in hot plug by signal lamp being arranged to different states.Described processing apparatus is CPLD or band I 2The single-chip microcomputer of C interface.
The present invention also provides a kind of integrated circuit board with hot-swappable control module, comprises slot, processing apparatus, integrated circuit board feature capability circuit, and processing apparatus, integrated circuit board feature capability circuit are connected with slot respectively, in being connected of processing apparatus and slot, exists based on I 2The coupling part of C bus architecture, the integrated circuit board functional circuit is connected with the part that is connected to based on pci bus architecture of slot.Also have power-supply controller of electric to be connected with the integrated circuit board functional circuit with processing apparatus between described integrated circuit board functional circuit and the slot, power-supply controller of electric is connected with slot.Described processing apparatus is CPLD or band I 2The single-chip microcomputer of C interface.
" processing apparatus " described herein comprises programmable logic device and band I 2Processors such as the single-chip microcomputer of C interface.
About " existing based on I 2The coupling part of C bus architecture " be explained as follows: with CPLD is example, after integrated circuit board is plugged backboard, by slot, has based on I between CPLD and the main system 2The annexation of C bus, when integrated circuit board independence, in other words, when not plugging backboard, being connected between CPLD and the main system isolated, but when slot being considered as parts, (is based on I between CPLD and the main system in the above-mentioned connection 2The connection of C bus), CPLD to the connection of this section of slot be objective reality, therefore " to exist based on I 2The coupling part of C bus architecture " explain it.
" the integrated circuit board functional circuit is connected with the part that is connected to based on pci bus architecture of slot " also explains equally.
ENUM described herein is the hot plug interrupt signal, and low level is effective; HSS is the hot pluggable condition signal, is used to represent that the action of current generation is to insert still to pull out.
The invention has the beneficial effects as follows, hot plug control bus and pci bus are isolated, for the hot plug management provides a proprietary low speed management channels, finish with hardware mode by CPLD at the integrated circuit board end simultaneously the reception and the hot plug of control command are controlled, improved response speed and the stability of integrated circuit board the hot plug action.Because this project is based on general I 2Therefore the C bus architecture has easy interface, and favorable expansibility and transplantability can be used as a kind of general purpose hardware unit and be incorporated on the veneer of same architecture, have reduced the duplication of labour, have improved the hardware system degree of modularity.Use CPLD not only under the situation of using a small amount of peripheral circuit, integrated circuit board is accelerated the response speed of hot plug action, because CPLD has many IO mouth resource and programmable characteristic, makes this project that favorable expansibility and flexibility be arranged, convenient upgrading and fault processing.
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Description of drawings
Fig. 1 is the flow chart of the embodiment of the invention.
Fig. 2 is the hardware configuration schematic diagram of the embodiment of the invention.
Embodiment
The determination methods that the hot pluggable condition that this paper relates to changes is fully with reference to CPCI standard hot-plug standard, referring to " PICMG 2.1 R2.0@HOTSWAP SPECIFICATION ", the existing definition of the CPCI pin that relates in the present embodiment with three kinds of length, wherein, the power pin that is connected to CPLD is that minute hand is uncontrolled power supply (early power), BD_SEL is a hour hand, promptly, in the insertion process, what connect at first is the power supply of integrated circuit board, that connect at last is BD_SEL, and what leave slot at first when pulling out is the BD_SEL pin, and what leave at last is power pin.Before BD_SEL connected, CPLD had been in the state that energized can be worked, and power supply is cut off at last when extracting.
The present invention is used to adopt the veneer hot plug control of the card insert type communication product of cpci bus framework, uses CPLD (CPLD), as I on the integrated circuit board 2C interface and the device that veneer control is provided, I 2The C bus has I as the control channel of main system to the integrated circuit board hot pluggable condition by integrated circuit board one end 2The CPLD of C interface finishes the supervision of integrated circuit board hot pluggable condition and setting, uses CPCI standard hot-plug signal ENUM and HSS as hot plug interrupt and status signal notice main system, realizes following function:
As Fig. 1, when integrated circuit board heat is inserted (or powering on), as the chip that powers at first on the integrated circuit board, CPLD is provided with status lamp, and the hour hand signal BD_SEL signal on the supervision CPCI interface, judged whether that by repeatedly sampling the heat insertion takes place, if BD_SEL re-powers for low level is considered to equipment always, activation heat insertion process not, main system normal load interface drives, otherwise activates, after all programmable device code is downloaded and finished on BD_SEL level equalization and plate, begin to send ENUM and HSS signal and be shown with heat insertion generation, till main system is replied to host system table.Main system is passed through I after receiving interrupt signal and hot pluggable condition signal 2The C bus sends order with the zero clearing of CPLD internal interrupt register, with interruption reset condition, and begins to dispose the integrated circuit board driver, passes through I after finishing 2The C bus with corresponding registers set in the CPLD represent the configuration finish the integrated circuit board normal operation.
The process of pulling out is with above-mentioned opposite, when integrated circuit board runs well, press hot plug button or the direct charged integrated circuit board (CPLD detects BD_SEL signal rising edge) of pulling out the user, CPLD sends ENUM and the HSS signal is shown with the hot removal generation to host system table, till main system is replied (perhaps integrated circuit board is pulled out).Main system is passed through I after receiving interrupt signal and hot pluggable condition signal 2The C bus sends order with the zero clearing of CPLD internal interrupt register, with interruption reset condition, and begins to unload the integrated circuit board driver, and in this process, main system need be passed through I earlier if need read chip register content on the integrated circuit board 2A fixing register in the C visit CPLD judge integrated circuit board whether also in slot by the readout correctness, thereby whether the decision main system can read other chip internal registers, with the assurance stability of a system.Pass through I after finishing 2The C bus with corresponding registers set in the CPLD represent the unloading finish.In above process, CPLD notifies the user the current program phase that is in hot plug by signal lamp being arranged to different states.
As shown in Figure 2, in the pin of CPCI slot, part is connected with the BD_SEL of CPLD, uncontrolled power supply, HSS, ENUM pin, and the external indicator light of CPLD, and a switch are as the hot removal switch.The integrated circuit board functional circuit is connected with the pin of slot, and the isolation logic circuit is arranged between integrated circuit board functional circuit and the slot.When slot injected backboard, the integrated circuit board functional circuit connected main system by pci bus, and CPLD connects main system by the I2C bus.
Light-emitting diode HOT LED is as prompting state of user lamp, and switch HOT BUTTON is as the hot removal button.The integrated circuit board hot plug process is as follows: when integrated circuit board inserted, CPLD control indicator light began flicker, and sent interrupt signal road main system, and the expression system does not allow to pull out card this moment just at loading procedure; After loading was finished, main system was by I2C bus notice CPLD, and this moment, CPLD was arranged to indicator light kept burning day and night, and the display plate card enters normal operation; When pulling out, when the user pressed the hot removal button, CPLD sent hot removal and interrupts, and indicator light is arranged to flicker, and expression is unloading driver, does not allow to pull out card this moment; After unloading was finished, main system was passed through I 2C bus notice CPLD, CPLD extinguishes indicator light, allows to pull out card this moment.Except above conventional process, this integrated circuit board has also been done processing according to foregoing invention to abnormal conditions, pulls out as not pressing switch, and CPLD sends to main system with interrupt signal, and main system is passed through I 2The visit of C bus determines that whether integrated circuit board is pulled out, and has guaranteed the stability of hot plug.

Claims (11)

1, veneer hot plug control method is characterized in that, main system is passed through I 2The hot-swappable state of C bus control integrated circuit board.
2, veneer hot plug control method as claimed in claim 1 is characterized in that, sets up to have I on integrated circuit board 2The processing apparatus of C interface, processing apparatus monitor that the CompactPCI interface judges whether to take place heat and inserts, and activation heat inserts program if generation heat is inserted then, and the heat insertion takes place the notice main system, after main system is received, passes through I 2The C bus acknowledge, and loading interface drives.
3, veneer hot plug control method as claimed in claim 2 is characterized in that, processing apparatus monitors the BD_SEL signal of CPCI interface, by this signal continuous sampling is judged whether integrated circuit board hot insert action takes place.
4, veneer hot plug control method as claimed in claim 3, it is characterized in that, after the download of all programmable device code was finished on BD_SEL level equalization and the plate, processing apparatus begins to send ENUM and the HSS signal is shown with heat insertion generation to host system table, till main system is replied; Main system is passed through I after receiving interrupt signal and hot pluggable condition signal 2The C bus sends order with the zero clearing of processing apparatus internal interrupt register, with interruption reset condition, and beginning load plate card driver, pass through I after finishing 2The C bus is represented corresponding registers set in the processing apparatus to load and is finished.
5, veneer hot plug control method as claimed in claim 1 is characterized in that, sets up to have I on integrated circuit board 2The processing apparatus of C interface, processing apparatus monitor that the CPCI interface judges whether to take place hot removal, then report main system if hot removal takes place, and send interruption, and main system is passed through I 2The C bus sends order with the zero clearing of processing apparatus internal interrupt register, with interruption reset condition, and begins to unload the integrated circuit board interface drive program.
6, veneer hot plug control method as claimed in claim 5 is characterized in that, in pulling out process, main system is passed through I earlier if need read chip register content on the integrated circuit board 2A fixing register in the C access process device judges that by the readout correctness integrated circuit board is whether also in slot.
As claim 4 or 6 described veneer hot plug control methods, it is characterized in that 7, processing apparatus is notified the user the current specific procedure stage that is in hot plug by signal lamp being arranged to different states.
As the described veneer hot plug of claim 1-7 control method, it is characterized in that 8, described processing apparatus is CPLD or band I 2The single-chip microcomputer of C interface.
9, the integrated circuit board that has hot-swappable control module comprises slot, processing apparatus, integrated circuit board functional circuit and memory, and processing apparatus is connected with memory device, and processing apparatus, integrated circuit board functional circuit are connected with slot respectively, is I between processing apparatus and the slot 2Between the connection of C bus, integrated circuit board functional circuit and slot is to meet being connected of cpci bus standard.
10, also have being connected of power-supply controller of electric and processing apparatus and integrated circuit board functional circuit between the integrated circuit board with hot-swappable control module as claimed in claim 9, described integrated circuit board functional circuit and slot, power-supply controller of electric is connected with slot.
11, as claim 9 or 10 described integrated circuit boards with hot-swappable control module, described processing apparatus is CPLD or band I 2The single-chip microcomputer of C interface.
CN 200410022180 2004-03-31 2004-03-31 Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module Pending CN1678087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410022180 CN1678087A (en) 2004-03-31 2004-03-31 Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410022180 CN1678087A (en) 2004-03-31 2004-03-31 Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module

Publications (1)

Publication Number Publication Date
CN1678087A true CN1678087A (en) 2005-10-05

Family

ID=35050346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410022180 Pending CN1678087A (en) 2004-03-31 2004-03-31 Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module

Country Status (1)

Country Link
CN (1) CN1678087A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996498A (en) * 2009-08-25 2011-03-30 西安立人科技股份有限公司 PCI (Programmable Communications Interface) direct-type traffic light acquisition card
CN101567810B (en) * 2008-11-11 2011-11-16 武汉虹信通信技术有限责任公司 Method for realizing self-detection of hot-plug board card
CN102325081A (en) * 2011-07-15 2012-01-18 福建星网锐捷网络有限公司 Hot-pluggable isolation method, device and master control board
CN102393791A (en) * 2011-07-06 2012-03-28 杭州华三通信技术有限公司 Device and method for realizing power supply control on hardware modules
CN101727430B (en) * 2009-11-11 2012-06-06 中兴通讯股份有限公司 Method and device for hot plug of card
CN102508755A (en) * 2011-09-26 2012-06-20 迈普通信技术股份有限公司 Device and method for simulating interface card hot-plugging
CN103792864A (en) * 2012-11-02 2014-05-14 苏州工业园区新宏博通讯科技有限公司 Frame type multifunctional acquisition terminal
CN108055117A (en) * 2017-12-27 2018-05-18 郑州云海信息技术有限公司 A kind of BMC and CPLD interconnected communication method of efficient full duplex
CN108255764A (en) * 2018-01-24 2018-07-06 郑州云海信息技术有限公司 A kind of circuit and its control method of hot-swappable clock board
CN109165181A (en) * 2018-08-07 2019-01-08 南京翼辉信息技术有限公司 A kind of more boards are from configuration and task from compartment system and method
CN110990316A (en) * 2019-10-31 2020-04-10 苏州浪潮智能科技有限公司 Method and programmable logic circuit for outputting hot-swap device status
CN111417034A (en) * 2020-03-13 2020-07-14 苏州浪潮智能科技有限公司 Switch and hot plug method, device and system for switch board card thereof
CN112379611B (en) * 2019-10-22 2021-10-15 北京城建智控科技有限公司 Environment monitoring control equipment

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567810B (en) * 2008-11-11 2011-11-16 武汉虹信通信技术有限责任公司 Method for realizing self-detection of hot-plug board card
CN101996498B (en) * 2009-08-25 2012-12-19 西安立人科技股份有限公司 PCI (Programmable Communications Interface) direct-type traffic light acquisition card
CN101996498A (en) * 2009-08-25 2011-03-30 西安立人科技股份有限公司 PCI (Programmable Communications Interface) direct-type traffic light acquisition card
CN101727430B (en) * 2009-11-11 2012-06-06 中兴通讯股份有限公司 Method and device for hot plug of card
CN102393791B (en) * 2011-07-06 2015-03-11 杭州华三通信技术有限公司 Device and method for realizing power supply control on hardware modules
CN102393791A (en) * 2011-07-06 2012-03-28 杭州华三通信技术有限公司 Device and method for realizing power supply control on hardware modules
CN102325081A (en) * 2011-07-15 2012-01-18 福建星网锐捷网络有限公司 Hot-pluggable isolation method, device and master control board
CN102508755A (en) * 2011-09-26 2012-06-20 迈普通信技术股份有限公司 Device and method for simulating interface card hot-plugging
CN102508755B (en) * 2011-09-26 2014-03-05 迈普通信技术股份有限公司 Device and method for simulating interface card hot-plugging
CN103792864A (en) * 2012-11-02 2014-05-14 苏州工业园区新宏博通讯科技有限公司 Frame type multifunctional acquisition terminal
CN108055117A (en) * 2017-12-27 2018-05-18 郑州云海信息技术有限公司 A kind of BMC and CPLD interconnected communication method of efficient full duplex
CN108255764A (en) * 2018-01-24 2018-07-06 郑州云海信息技术有限公司 A kind of circuit and its control method of hot-swappable clock board
CN109165181A (en) * 2018-08-07 2019-01-08 南京翼辉信息技术有限公司 A kind of more boards are from configuration and task from compartment system and method
CN112379611B (en) * 2019-10-22 2021-10-15 北京城建智控科技有限公司 Environment monitoring control equipment
CN110990316A (en) * 2019-10-31 2020-04-10 苏州浪潮智能科技有限公司 Method and programmable logic circuit for outputting hot-swap device status
CN110990316B (en) * 2019-10-31 2021-10-01 苏州浪潮智能科技有限公司 Method and programmable logic circuit for outputting hot-swap device status
CN111417034A (en) * 2020-03-13 2020-07-14 苏州浪潮智能科技有限公司 Switch and hot plug method, device and system for switch board card thereof

Similar Documents

Publication Publication Date Title
CN1678087A (en) Single-plate hot-plug-pull controlling method and board with hot plug-pull controlling module
CN101876962B (en) Method and device for controlling hot plug of master/slave board
US7475178B2 (en) Hot-plug link apparatus and method using a direction line to indicate presence of a hot-plug device
EP0962863A2 (en) Dasd concurrent maintenance for a pci based dasd subsystem
EP0674274A1 (en) Backplane unit isolation system
US6237048B1 (en) Adapter card with vendor unique differentiation and customization using PCI sideband signals
EP2538649A1 (en) Method and device for power management and control of advanced telecom computing architecture system
CN102446149A (en) Processing method and system capable of achieving hot plug of compact PCI product
US6883055B2 (en) Hot swap method
CN106598902A (en) CPU (Central Processing Unit) control board capable of realizing hot plug of board card and implementation method thereof
CN102004525A (en) Computer including a carrier board and methods of assembly
CN110419035A (en) Usb host automatically switches to host
CN1321381C (en) Ebedded computer system
CN201369043Y (en) Testing device for mainboard
CN101377753A (en) Accessory test device and method
CN102385566A (en) Hot swapping method based on multiple terminal communication adapter (MTCA) platform and multiple terminal communication adapter (MTCA) platform
CN106326063B (en) A kind of substrate management control card and substrate
CN100504834C (en) Method and device for controlling impact external-equipment interconnected bus interface board circuit
CN208985150U (en) Increase the PCIE Riser card of warm connection function for mainboard
CN1466029A (en) Sequence electric system and method for clauster system
CN206162367U (en) Computer power -off control device based on USB interface
CN209674302U (en) A kind of computer main board
CN112988203B (en) Spliced screen drive board upgrading method and spliced screen
CN109537178A (en) A kind of control function automatic switchover system, sewing machine control and sewing machine
CN220820480U (en) Industrial control board

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20051005