CN106354685A - Implementation method of PSU and ME communication I2C bus hang recovery - Google Patents

Implementation method of PSU and ME communication I2C bus hang recovery Download PDF

Info

Publication number
CN106354685A
CN106354685A CN201610689471.7A CN201610689471A CN106354685A CN 106354685 A CN106354685 A CN 106354685A CN 201610689471 A CN201610689471 A CN 201610689471A CN 106354685 A CN106354685 A CN 106354685A
Authority
CN
China
Prior art keywords
bus
communication
psu
power supply
implementation method
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
CN201610689471.7A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610689471.7A priority Critical patent/CN106354685A/en
Publication of CN106354685A publication Critical patent/CN106354685A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an implementation method of PSU and ME communication I2C bus hang recovery. The method comprises the steps that a power supply is communicated with the system through a PMBus, a communication signal between the power supply and the system is detected, and when it is judged that communication is abnormal, the power supply forces a bus to be reset, that is to say, a communication bus state is recovered through a self-recovery function of the power PMBus, wherein the bus is the I2C bus. Compared with the prior art, according to the implementation method of the PSU and ME communication I2C bus hang recovery, the bus hang problem is effectively solved, and improvement of reliability of communication between the power supply and a server is greatly promoted; by means of the mode that PSU sends a pulse signal to activate a communication bus, interrupted communication can be effectively recovered, and it is guaranteed that power supply information is read normally.

Description

A kind of psu and me communication i2c bus hangs the dead implementation method recovered
Technical field
The present invention relates to field of computer technology, specifically a kind of practical, psu and me communication i2c bus extension The dead implementation method recovered.
Background technology
With the fast development of internet economy, the status of server is obviously improved, and server power supply is as in server Vitals also increasingly paid attention to by everybody, the information for power supply reads also more and more frequent, and psu and me communication Bridge, i.e. i2c bus, its reliability become information reading pith, realize highly reliable communication link be service The important support point of device and power source communications.
Currently, the reading of power information mainly has both of which: one, bmc and psu direction communication, and this communication pattern can Higher by property, project plan comparison is ripe, directly by bmc process when communication failure, easily and effectively;2nd, me and psu leads to Letter, bmc reads power information from me, and this pattern is commercially also particularly common, scheme also comparative maturity, but communicates out When now abnormal, due to me cannot voluntarily process problem, can only be processed by way of bmc reset me, this mode mesh Front discovery has hiding risk and cannot solve in the short time, thus, it is desirable to go to recover the communication of i2c by way of new.
In order to solve the problems, such as that between psu and me, communication disruption or communication are bad, improve the reliability of communication, the present invention The implementation method that a kind of psu and me communicates the dead recovery of i2c bus extension is provided.
Content of the invention
The technical assignment of the present invention is for above weak point, provides a kind of practical, psu and me communication i2c total The dead implementation method recovered hung by line.
A kind of psu and me i2c bus that communicates hangs the dead implementation method recovered, and it is realized process and is: it is total that power supply passes through pmbus Line and system communication, detection power supply and system between communication signal, judge communication abnormality when, power supply to bus forced resetting, I.e. by using the self-recovering function of power supply pmbus bus, again recover communication bus state, bus here refers to that i2c is total Line.
Communication signal between power supply and system is clock signal scl data signal sdl, and two kinds of signals are high electricity Flat pulse signal, when data communication is abnormal, the clock signal of pmbus bus, data signal can be changed to low level, according to this Characteristic can determine that whether communication is normal.
Judge whether communication is just referring to the 35ms persistent period whether specifying when bus low level more than smbus, at that time When clock signal, data signal continue more than 3 times that the low level time is 35ms, to bus forced resetting.
The every 10ms of power supply detects i2c clock signal, a bus level for data signal, if low level continues 100ms, Then clock signal, data signal send activation signal activation bus;If low level continues less than 100ms, do not process continuation Cycle detection.
A kind of psu and me communication i2c bus of the present invention hangs the dead implementation method recovered, and has the advantage that
A kind of psu and me of the present invention i2c bus that communicates hangs the dead implementation method recovered, breach server be main frame, psu be The theory of slave, when psu and me communication bus hangs dead, psu is become main frame and sends pulse signal to activate bus, Thus recovering proper communication, after bus recovers proper communication, psu becomes slave mode again, it is to avoid produce impact to communication, improves logical The reliability of letter, solves the problems, such as between psu and me that communication disruption or communication are bad, practical it is easy to popularization.
Brief description
Accompanying drawing 1 recovers schematic block diagram for i2c bus.
Accompanying drawing 2 is forced to hang dead and recovery process waveform for mainboard scl.
Accompanying drawing 3 is forced to hang dead and recovery process waveform for mainboard sda.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
Start the extensive application in the Internet and other markets with server, the communication reliability before psu with me becomes Capture power information for client and ensure the normal key run of machine room, it is extremely extensive that we predict that this psu and me communication i2c bus is hung Multiple method for designing, plays the role of good for the communication realizing server and power supply high reliability.
As shown in Figure 1, the present invention provides the implementation method that a kind of psu and me communicates the dead recovery of i2c bus extension, passes through The mode that psu sends pulse signal activates communication bus, that is, when psu and me communication bus hangs dead, psu is become main frame And send pulse signal to activate bus.Thus recovering proper communication.
It realizes process:
The mode of main frame will be become in the psu short time by slave, be forced to when communication disruption bus send sda or Sdl high level pulse signal is until bus recovers proper communication.Psu and me communication i2c bus hangs the dead detailed process recovered, such as Shown in Fig. 1.
When power supply pmbus is normal with system communication, clock signal (scl) data signal (sdl) is all high voltage signal, When data communication is abnormal, the clock of pmbus bus, data signal can be changed to low level, can determine that communication is according to this characteristic No normal.The detection to communication bus state for the power supply increase, the 35ms persistent period specifying more than smbus when bus low level, When clock signal, data signal continue more than 3 times that the low level time is 35ms, power supply is to bus forced resetting, again extensive Multiple communication bus state.
Plan-validation: clock signal (scl) will be communicated, data signal (sda) forces shorted to earth, respectively by using electricity The pmbus bus self-recovering function in source, checking can recover bus to normal condition, as shown in Figures 2 and 3.
By plan-validation, this scheme can hang dead problem with effectively solving bus, communicates for improving power supply server Reliability have very great help.
Therefore, psu and me communication i2c bus proposed by the invention is hung the dead method for designing recovered and is led in server power supply Can play an important role on letter and management function.
Using scheme of the present invention, i.e. the mode of psu transmission activating pulse signal communication bus, in can effectively recovering Disconnected communication, ensures that power information is normally read.
Above-mentioned specific embodiment is only the concrete case of the present invention, and the scope of patent protection of the present invention includes but is not limited to Above-mentioned specific embodiment, a kind of any psu and me communication i2c bus meeting the present invention hangs the power of the dead implementation method recovered The suitable change or replacement that sharp claim and any described technical field those of ordinary skill is done to it, all should fall into this The scope of patent protection of invention.

Claims (4)

1. a kind of psu and me i2c bus that communicates hangs the dead implementation method recovered it is characterised in that it realizes process is: power supply leads to Cross pmbus bus and system communication, the communication signal between detection power supply and system, when judging communication abnormality, power supply is to bus Forced resetting, that is, by using the self-recovering function of power supply pmbus bus, recovers communication bus state, bus here again Refer to i2c bus.
2. a kind of psu and me according to claim 1 communicate i2c bus hang the dead implementation method recovered it is characterised in that Communication signal between power supply and system is clock signal scl data signal sdl, and two kinds of signals are high level pulse letter Number, when data communication is abnormal, the clock signal of pmbus bus, data signal can be changed to low level, can be sentenced according to this characteristic Whether fixed communication is normal.
3. a kind of psu and me according to claim 1 communicate i2c bus hang the dead implementation method recovered it is characterised in that Judge whether communication is just referring to the 35ms persistent period whether specifying when bus low level more than smbus, when clock signal, number It is believed that when number lasting low level time is more than 3 times of 35ms, to bus forced resetting.
4. a kind of psu and me according to claim 1 communicate i2c bus hang the dead implementation method recovered it is characterised in that The every 10ms of power supply detects i2c clock signal, a bus level for data signal, if low level continues 100ms, clock is believed Number, data signal send activation signal activation bus;If low level continues less than 100ms, do not process and continue cycling through inspection Survey.
CN201610689471.7A 2016-08-19 2016-08-19 Implementation method of PSU and ME communication I2C bus hang recovery Pending CN106354685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610689471.7A CN106354685A (en) 2016-08-19 2016-08-19 Implementation method of PSU and ME communication I2C bus hang recovery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610689471.7A CN106354685A (en) 2016-08-19 2016-08-19 Implementation method of PSU and ME communication I2C bus hang recovery

Publications (1)

Publication Number Publication Date
CN106354685A true CN106354685A (en) 2017-01-25

Family

ID=57843561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610689471.7A Pending CN106354685A (en) 2016-08-19 2016-08-19 Implementation method of PSU and ME communication I2C bus hang recovery

Country Status (1)

Country Link
CN (1) CN106354685A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179911A (en) * 2017-05-19 2017-09-19 郑州云海信息技术有限公司 A kind of method and apparatus for restarting management engine
CN107276832A (en) * 2017-08-03 2017-10-20 郑州云海信息技术有限公司 A kind of lifting PSU and system communication reliability method and device
CN109032876A (en) * 2018-08-28 2018-12-18 郑州云海信息技术有限公司 A kind of processing method, power supply and system
CN109271273A (en) * 2018-10-15 2019-01-25 郑州云海信息技术有限公司 A kind of method, abnormal restoring equipment and storage medium that communication abnormality restores
CN110488960A (en) * 2019-07-12 2019-11-22 苏州浪潮智能科技有限公司 A kind of Power Supply Monitoring optimization system and method
CN111124981A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Management system and method for server I2C equipment
CN111694340A (en) * 2020-06-05 2020-09-22 浪潮电子信息产业股份有限公司 Automatic test fixture and method for PSU BootLoader
CN112114992A (en) * 2020-09-21 2020-12-22 济南浪潮高新科技投资发展有限公司 I2C anti-hang-up design method
WO2021056913A1 (en) * 2019-09-27 2021-04-01 苏州浪潮智能科技有限公司 Fault locating method, apparatus and system based on i2c communication
WO2022057372A1 (en) * 2020-09-18 2022-03-24 苏州浪潮智能科技有限公司 Iic hang link restoration circuit and method based on pca9511 chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118528A (en) * 2007-08-31 2008-02-06 中兴通讯股份有限公司 Method and apparatus for recovering I2C bus locked by slave device
US20120151233A1 (en) * 2010-12-14 2012-06-14 Hon Hai Precision Industry Co., Ltd. Network device for controlling power consumption and method employing the same
CN102521187A (en) * 2011-11-29 2012-06-27 广东东研网络科技有限公司 Method for solving communication deadlock of I2C (Inter-Integrated Circuit) bus
CN104461647A (en) * 2014-12-22 2015-03-25 浪潮电子信息产业股份有限公司 Implementation method for remotely refreshing server power modules in batch
CN105467163A (en) * 2015-11-23 2016-04-06 浪潮电子信息产业股份有限公司 Equipment connecting I2C card and PMBUS interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118528A (en) * 2007-08-31 2008-02-06 中兴通讯股份有限公司 Method and apparatus for recovering I2C bus locked by slave device
US20120151233A1 (en) * 2010-12-14 2012-06-14 Hon Hai Precision Industry Co., Ltd. Network device for controlling power consumption and method employing the same
CN102521187A (en) * 2011-11-29 2012-06-27 广东东研网络科技有限公司 Method for solving communication deadlock of I2C (Inter-Integrated Circuit) bus
CN104461647A (en) * 2014-12-22 2015-03-25 浪潮电子信息产业股份有限公司 Implementation method for remotely refreshing server power modules in batch
CN105467163A (en) * 2015-11-23 2016-04-06 浪潮电子信息产业股份有限公司 Equipment connecting I2C card and PMBUS interface

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179911A (en) * 2017-05-19 2017-09-19 郑州云海信息技术有限公司 A kind of method and apparatus for restarting management engine
CN107276832B (en) * 2017-08-03 2020-10-20 苏州浪潮智能科技有限公司 Method and device for improving communication reliability of PSU and system
CN107276832A (en) * 2017-08-03 2017-10-20 郑州云海信息技术有限公司 A kind of lifting PSU and system communication reliability method and device
CN109032876A (en) * 2018-08-28 2018-12-18 郑州云海信息技术有限公司 A kind of processing method, power supply and system
CN109271273A (en) * 2018-10-15 2019-01-25 郑州云海信息技术有限公司 A kind of method, abnormal restoring equipment and storage medium that communication abnormality restores
CN110488960A (en) * 2019-07-12 2019-11-22 苏州浪潮智能科技有限公司 A kind of Power Supply Monitoring optimization system and method
CN110488960B (en) * 2019-07-12 2021-04-02 苏州浪潮智能科技有限公司 Power supply monitoring optimization system and method
WO2021056913A1 (en) * 2019-09-27 2021-04-01 苏州浪潮智能科技有限公司 Fault locating method, apparatus and system based on i2c communication
CN111124981A (en) * 2019-11-29 2020-05-08 苏州浪潮智能科技有限公司 Management system and method for server I2C equipment
CN111694340A (en) * 2020-06-05 2020-09-22 浪潮电子信息产业股份有限公司 Automatic test fixture and method for PSU BootLoader
CN111694340B (en) * 2020-06-05 2023-08-18 浪潮电子信息产业股份有限公司 PSU BootLoader automatic test fixture and method
WO2022057372A1 (en) * 2020-09-18 2022-03-24 苏州浪潮智能科技有限公司 Iic hang link restoration circuit and method based on pca9511 chip
US11990895B2 (en) 2020-09-18 2024-05-21 Inspur Suzhou Intelligent Technology Co., Ltd. IIC hang link restoration circuit and method based on PCA9511 chip
CN112114992A (en) * 2020-09-21 2020-12-22 济南浪潮高新科技投资发展有限公司 I2C anti-hang-up design method
CN112114992B (en) * 2020-09-21 2023-11-14 山东浪潮科学研究院有限公司 I2C anti-hanging dead design method

Similar Documents

Publication Publication Date Title
CN106354685A (en) Implementation method of PSU and ME communication I2C bus hang recovery
CN101976217B (en) Anomaly detection method and system for network processing unit
CN101359309B (en) Status indication apparatus for hard disc of serial connection small computer system interface and method
CN104103323A (en) Seagate hard disk circuit board detection equipment and detection method
CN102404141B (en) Method and device of alarm inhibition
CN107240381B (en) A kind of display methods and display device of display device
CN102681907B (en) Multifunctional watchdog circuit
CN106603265A (en) Management methods, service controller devices, and non-transient computer-readable media
CN102387074B (en) Line processing unit (LPU) card in-place detecting and resetting method and main processing unit (MPU) card and LPU card
TW200809521A (en) Fault-isolating SAS expander
CN102073613A (en) Device and method for removing deadlock of I<2>C (Inter-Integrated Circuit) bus
CN105589776A (en) Fault location method and server
CN102087621A (en) Processor device with self-diagnosis function
CN101996128A (en) Hard disk state indicator lamp control system
CN109032863A (en) Determination method, the system of a kind of NVMe solid state hard disk and its failure cause
CN106021066A (en) Fault information detection method and electronic device
CN103246585A (en) Storage controller fault detecting method
CN109217922A (en) A kind of method and device that optical module reports Received Loss Of Signal to alert
CN102768561B (en) Design method for twinbridge piece mainboard redundancy
CN104112413A (en) LED display screen dead pixel point inspection system
CN104333414B (en) The method and device that a kind of optic communication links failure is reported
CN105426276A (en) Fault detection method for double control storage controllers and storage controllers
CN102281105A (en) Method and device for detecting optical fiber state
CN112069023B (en) Storage link monitoring system and method
CN104516839A (en) Embedded type application system

Legal Events

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

Application publication date: 20170125