CN116450421A - Detection method of adapter plate - Google Patents
Detection method of adapter plate Download PDFInfo
- Publication number
- CN116450421A CN116450421A CN202210007655.6A CN202210007655A CN116450421A CN 116450421 A CN116450421 A CN 116450421A CN 202210007655 A CN202210007655 A CN 202210007655A CN 116450421 A CN116450421 A CN 116450421A
- Authority
- CN
- China
- Prior art keywords
- bus
- management controller
- baseboard management
- device address
- adapter plate
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 12
- 230000004044 response Effects 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims description 17
- 238000012360 testing method Methods 0.000 claims description 16
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 claims description 7
- 238000009434 installation Methods 0.000 description 12
- 238000007796 conventional method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The detection method of the adapter plate is implemented by a baseboard management controller and comprises the following steps: a comparison table and a bus number of each connector are stored in advance; scanning each I2C bus; judging whether a response signal of each I2C bus device electrically connected with each I2C bus is received or not, and obtaining the bus number of each I2C bus and a device address of the I2C bus device corresponding to the I2C bus, wherein the response signal comprises the device address; searching the type of the adapter plate corresponding to the bus number and the device address in the lookup table, and judging the type of the adapter plate corresponding to the adapter plate connected with the I2C bus.
Description
[ field of technology ]
The present invention relates to a detection method, and more particularly to a detection method for an adapter plate.
[ background Art ]
One conventional server includes a motherboard, a baseboard management controller disposed on the motherboard, a plurality of interposer boards (Riser boards) detachably inserted on the motherboard, and a plurality of integrated circuit bus (Inter-Integrated Circuit Bus, I2C) devices respectively disposed on the interposer boards. The number of the adapter plates is two, for example, the two adapter plates have the same appearance, but because the two adapter plates are different in types (for example, the two adapter plates are different in types), the positions of the two connectors corresponding to the two connectors to be plugged on the main board cannot be mutually exchanged, so that the baseboard management controller can communicate with the adapter plates according to rules corresponding to the types of the adapter plates. Therefore, how to identify whether the server is properly installed is an important issue in the process of manufacturing and assembling the server.
Currently, the first conventional method is to use a pin of each of the two connectors and electrically connect a pull-up resistor to a voltage of logic 1 and a pull-down resistor to a ground potential on the two adapter plates, so that the baseboard management controller detects logic values of the two pins of the two connectors to determine whether the two adapter plates are mounted at the correct positions, and the pin of each of the connectors electrically connected to the pull-up resistor or the pull-down resistor is reserved specifically for transmitting the corresponding logic value to provide the basic management controller for determination. In other words, each of the connectors must be capable of providing an additional pin on the original transmission interface to perform this. The second conventional method is to store different identification numbers in two EEPROM on the two adapter plates, so that the baseboard management controller can detect the two identification numbers of the two EEPROM and correctly identify and obtain the two EEPROM. However, the first method requires additional pins of the connector, and the second method requires the two eeprom to record different data contents and to be correctly mounted on the corresponding interposer. Therefore, whether to have other simpler and convenient detection methods becomes a problem to be solved.
[ invention ]
The invention aims to provide a simple and convenient detection method of an adapter plate.
In order to solve the above-mentioned problems, the present invention provides a method for detecting an interposer, which is suitable for a computer device, wherein the computer device includes a motherboard, a baseboard management controller disposed on the motherboard, a plurality of interposers respectively detachably disposed on a plurality of connectors on the motherboard, and a plurality of integrated circuit (Inter-Integrated Circuit, I2C) bus devices respectively disposed on the interposers. The baseboard management controller is electrically connected with the connectors through a plurality of I2C buses respectively, and further electrically connected with the I2C bus devices on the adapter plates arranged on the mainboard respectively. The detection method of the adapter plate comprises the steps (A) - (D).
In step (a), a mapping table and a bus number of each connector are stored in advance by the baseboard management controller, wherein the mapping table includes a correspondence among a plurality of adapter board models, a plurality of I2C bus numbers, and a plurality of I2C addresses (addresses).
In step (B), each of the I2C buses is scanned by the baseboard management controller.
In step (C), the baseboard management controller determines whether a response signal of each I2C bus device electrically connected to each I2C bus is received, so as to obtain the bus number of each I2C bus and a device address of the I2C bus device, where the response signal includes the device address.
In step (D), the baseboard management controller searches the lookup table for the type of the interposer corresponding to the bus number and the device address, and determines the type of the interposer corresponding to the interposer to which the I2C bus is connected.
Preferably, in step (B), the baseboard management controller sends an IPMI command to each of the I2C buses.
Preferably, in step (C), when each of the I2C bus devices has received the IPMI command, the response signal is sent to the corresponding I2C bus, and when the baseboard management controller determines that the response signal has been received on the corresponding I2C bus, the device address corresponding to the bus number is determined.
Preferably, in step (C), when the baseboard management controller determines that the response signal is not received on the corresponding I2C bus, it is determined that the patch panel corresponding to the bus number is not set.
Preferably, the method further comprises a step (E) after the step (D), wherein the baseboard management controller further stores a correct mounting device address corresponding to each bus number in advance, and determines that the interposer corresponding to the bus number is mounted in error when the baseboard management controller determines that the device address corresponding to the bus number does not coincide with the correct mounting device address.
Preferably, the method for detecting an interposer further includes a step (F) after the step (E), when the baseboard management controller determines that the interposer corresponding to the bus number is installed in error, generating a warning signal, and transmitting the warning signal to a test server to inform the test server of the location of the interposer where the bus number is installed in error.
Compared with the prior art, the invention can determine the type of the adapter plate connected with each I2C bus by searching the comparison table stored in advance by the baseboard management controller when scanning each I2C bus to obtain the device address of each I2C bus device.
[ description of the drawings ]
Other features and advantages of the present invention will become apparent from the following description of the embodiments with reference to the drawings, in which:
FIG. 1 is a block diagram illustrating a computer device to which the detection method of the interposer of the present invention is applied; and
FIG. 2 is a flow chart illustrating an embodiment of a method for detecting an interposer according to the present invention.
[ detailed description ] of the invention
Before the present invention is described in detail, it should be noted that in the following description, like elements are denoted by the same reference numerals.
Referring to fig. 1 and 2, an embodiment of a method for inspecting an interposer of the present invention is suitable for a computer device, where the computer device includes a motherboard 1, a baseboard management controller (Baseboard management controller, BMC) 11 disposed on the motherboard 1, a plurality of interposers 3, 4 respectively detachably disposed on a plurality of connectors 21, 22 on the motherboard 1, and a plurality of integrated circuits (Inter-Integrated Circuit, I2C) bus devices 31, 41 respectively disposed on the interposers 3, 4. When the patch panels 3 and 4 are respectively disposed on the connectors 21 and 22, the baseboard management controller 11 is electrically connected to the I2C bus devices 31 and 41 through the connectors 21 and 22 by a plurality of I2C buses.
The patch panels (Riser boards) 3, 4 are also often referred to as patch cards. In addition, the following are to be specified: for convenience of description, in the present embodiment and fig. 1, the connectors 21, 22, the adapter plates 3, 4, the I2C bus devices 31, 41, and the I2C buses are illustrated by two, but not limited thereto.
The computer device is, for example, a server to be tested, and is in a process of manufacturing and testing, the baseboard management controller 11 establishes a connection with a testing server (not shown) through a network, and the testing server can transmit a testing instruction to the baseboard management controller 11 through the network, for example, instruct the baseboard management controller 11 to execute the method for detecting the interposer, and receive a testing result from the baseboard management controller 11. The detection method of the adapter plate comprises the steps S1 to S6
In step S1, a look-up table, a bus number corresponding to each of the connectors 21 and 22, and a correct mounting device address corresponding to each of the bus numbers are stored in advance by the baseboard management controller 11. The lookup table includes correspondence relationships among a plurality of patch panel models, a plurality of I2C bus numbers, and a plurality of I2C addresses (addresses), and is shown in the following table (one), for example. The two bus numbers of the two I2C buses to which the two connectors 21, 22 are electrically connected are #1 and #2, respectively. Next, step S1 is performed. In addition, the following are to be specified: the table, the bus numbers, and the correct device addresses stored in the baseboard management controller 11 are, for example, firmware programs stored in the baseboard management controller 11 in a parameter type distribution, or may be, for example, stored in a non-volatile memory (not shown) electrically connected to the baseboard management controller 11, or may be, for example, stored in a memory (not shown) inside the baseboard management controller 11.
Watch 1
In step S2, each of the I2C buses is scanned by the baseboard management controller 11, more specifically, the baseboard management controller 11 sends an IPMI command to each of the I2C buses. The IPMI instruction is, for example, "I2 cdetect-y 6", "I2 cdetect-y 8" …, etc., to refer to scan number 6 of the I2C bus, number 8 of the I2C bus …, etc. Next, step S3 is performed.
In step S3, the baseboard management controller 11 determines whether a response signal of each I2C bus device 31, 41 electrically connected to each I2C bus is received, so as to obtain the bus number of each I2C bus and a device address of each I2C bus device 31, 41, where the response signal includes the device address. Next, step S4 is performed.
In more detail, when each of the I2C bus devices 31, 41 receives the IPMI command, it sends the response signal to the corresponding I2C bus, so that the baseboard management controller 11 determines the device address corresponding to the bus number of the I2C bus when it determines that the response signal is received on the corresponding I2C bus. For example: the baseboard management controller 11 receives the response signal from the I2C bus device 31 via the I2C bus of the bus number #1, and determines the device address 0x90 corresponding to the bus number # 1.
When the baseboard management controller 11 determines that the corresponding I2C bus does not receive the response signal, it determines that the patch panels 3, 4 corresponding to the bus numbers are not set. For example, in other embodiments, when the interposer 3 is not disposed on the connector 21, the baseboard management controller 11 determines that the interposer 3 corresponding to the bus number #1 is not disposed when the I2C bus of the bus number #1 does not receive the response signal.
In step S4, the baseboard management controller 11 searches the lookup table for the type of the interposer corresponding to the bus number and the device address of the received response signal, and determines the type of the interposer corresponding to the interposer 3, 4 to which the I2C bus is connected. Continuing with the previous example, the baseboard management controller 11 searches the lookup table for the adapter board model corresponding to the I2C bus number equal to the bus number #1 and the I2C address equal to the device address 0x90, i.e. riser_r_g5.
In step S5, when the baseboard management controller 11 determines that the device address corresponding to the bus number does not match the correct device address, it determines that the patch panels 3 and 4 corresponding to the bus number are installed incorrectly. In the previous example, the two correct mounting device addresses corresponding to the two bus numbers #1 and #2 are 0x98 and 0x90, respectively, and the baseboard management controller 11 determines that the interposer 3 corresponding to the bus number #1 has a mounting error. In addition, when one of the device address corresponding to the bus number and the correctly installed device address is Null (i.e. indicates no installation), and the other is a value (e.g. 0x98 in the previous example) (i.e. indicates installation), the baseboard management controller 11 also determines that the two are not in conformity, and determines that the patch panels 3, 4 corresponding to the bus number are installed incorrectly.
In step S6, when the baseboard management controller 11 determines that the adapter plates 3, 4 corresponding to the bus numbers are installed incorrectly, a warning signal is generated and transmitted to the test server to inform the test server of the position of the adapter plates 3, 4 with the incorrect installation, for example, by using a display of the test server, or further, the test server can stop the test process of the computer device. Continuing with the previous example, the baseboard management controller 11 can inform the test server that the baseboard management controller 11 and the patch panel 3 corresponding to the bus number #1 has a mounting error. In addition, in other embodiments, when the baseboard management controller 11 determines that the adapter 3, 4 corresponding to the bus number is installed in error and generates the warning signal, the bus number in which the installation error occurs, the connector in which the computer device is detected to be not provided with the adapter, the current installation state of the connector in which the installation error is detected (for example, the adapter type corresponding to the adapter in which the connector in which the installation error is not provided or the adapter in which the connector in which the installation error is currently provided), the information of the adapter type corresponding to the adapter in which the installation is actually provided, and the adapter type corresponding to the address of the correct installation device corresponding to each bus number corresponding to each connector in which the installation error is not provided can be transmitted together, so as to assist the installer in more easily and intuitively correcting the installation error.
In addition, the following are to be specified: the I2C bus devices 31, 41 provided on either of the patch panels 3, 4 are, for example, an I2C Multiplexer (MUX), a Clock buffer (Clock buffer), a temperature sensor (Thermal sensor), or other devices supporting the I2C bus standard. Each of the I2C bus devices 31, 41 includes a plurality of address pins for determining the corresponding device address, and each address pin is electrically connected to a voltage of a pull-up resistor to logic 1 or a pull-down resistor to a ground potential, and each I2C bus device 31, 41 is capable of defining the device address corresponding to the logic value to which the address pins are electrically connected in advance. For example, when the number of address pins is 3 and the three logical values of the electrical connection are 100, the device address is 0x98. In other words, the present invention can obtain the device address and thus the type of the patch panel by using the addressing pins of the I2C bus devices 31, 41, i.e. compared with the first method in the prior art, the present invention does not need to occupy an extra pin of the connectors 21, 22.
In summary, by means of the table stored in advance in the baseboard management controller 11, when each I2C bus is scanned to obtain the device address of each I2C bus device 31, 41, the type of the interposer 3, 4 connected to each I2C bus can be determined according to the scan, and then whether the device is installed correctly or incorrectly can be determined and reported to the test server, so that the purpose of the present invention can be achieved.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (6)
1. The detection method of the adapter plate is suitable for a computer device, the computer device comprises a main board, a baseboard management controller arranged on the main board, a plurality of adapter plates respectively and detachably arranged on a plurality of connectors on the main board, and a plurality of integrated circuit bus devices respectively arranged on the adapter plates, wherein the baseboard management controller is respectively and electrically connected with the connectors by a plurality of I2C buses, and further is respectively and electrically connected with the I2C bus devices on the adapter plates arranged on the main board, and the detection method of the adapter plate is characterized by comprising the following steps:
(A) The baseboard management controller is used for storing a comparison table and a bus number of each connector in advance, wherein the comparison table comprises a corresponding relation among a plurality of adapter board models, a plurality of I2C bus numbers and a plurality of I2C addresses (addresses);
(B) Scanning each I2C bus by the baseboard management controller;
(C) Judging whether a response signal of each I2C bus device electrically connected with each I2C bus is received by the baseboard management controller, so as to obtain the bus number of each I2C bus and a device address of the I2C bus device, wherein the response signal comprises the device address; and
(D) Searching the type of the adapter plate corresponding to the bus number and the device address in the lookup table by the baseboard management controller, and judging the type of the adapter plate corresponding to the adapter plate connected with the I2C bus.
2. The method of claim 1, wherein in step (B), the baseboard management controller sends an IPMI command to each of the I2C buses.
3. The method of claim 2, wherein in step (C), when each of the I2C bus devices receives the IPMI command, the response signal is sent to the corresponding I2C bus, and when the baseboard management controller determines that the response signal is received on the corresponding I2C bus, the device address corresponding to the bus number is determined.
4. The method as claimed in claim 3, wherein in the step (C), when the baseboard management controller determines that the corresponding I2C bus does not receive the response signal, it is determined that the interposer corresponding to the bus number is not set.
5. The method according to claim 4, further comprising the step (E) after the step (D), wherein the baseboard management controller further stores a correct mounting device address corresponding to each bus number in advance, and determines that the interposer corresponding to the bus number is mounted in error when the baseboard management controller determines that the device address corresponding to the bus number does not coincide with the correct mounting device address.
6. The method of claim 5, further comprising the step (F) after the step (E), when the baseboard management controller determines that the interposer corresponding to the bus number is installed incorrectly, generating a warning signal, and transmitting the warning signal to a test server to inform the test server of the location of the interposer that is installed incorrectly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210007655.6A CN116450421A (en) | 2022-01-05 | 2022-01-05 | Detection method of adapter plate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210007655.6A CN116450421A (en) | 2022-01-05 | 2022-01-05 | Detection method of adapter plate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116450421A true CN116450421A (en) | 2023-07-18 |
Family
ID=87118833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210007655.6A Pending CN116450421A (en) | 2022-01-05 | 2022-01-05 | Detection method of adapter plate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116450421A (en) |
-
2022
- 2022-01-05 CN CN202210007655.6A patent/CN116450421A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6839055B1 (en) | Video data error detection | |
US6792378B2 (en) | Method for testing I/O ports of a computer motherboard | |
EP0403117B1 (en) | Feature board with automatic adjustment to slot position | |
US6701401B1 (en) | Method for testing a USB port and the device for the same | |
US5999997A (en) | Two computers cooperating via interconnected busses | |
US20040102917A1 (en) | Apparatus for testing I/O ports of a computer motherboard | |
CN111289922B (en) | Cable plugging detection method and related equipment | |
US20040088604A1 (en) | Methods and arrangements to enhance a bus | |
US5938776A (en) | Detection of SCSI devices at illegal locations | |
WO2020134340A1 (en) | Hard drive extension system and electronic device | |
US7111099B2 (en) | Information handling system with improved bus system | |
CN107239372B (en) | Electronic device and detection method thereof | |
CN114327571B (en) | File configuration method, chip testing machine and computer readable storage medium | |
CN111176913A (en) | Circuit and method for detecting Cable Port in server | |
US6944425B2 (en) | Method and apparatus for providing wireless diagnostics, authentication, and redundancy of wired circuitry | |
CN117630637A (en) | Testing device | |
CN116450421A (en) | Detection method of adapter plate | |
TWI815255B (en) | Detection method of riser board | |
US10592462B2 (en) | Cable detection | |
TWI781676B (en) | Method, apparatus, mainboard and related computer readable storage medium | |
CN115729872A (en) | Computing device and detection method for PCIE cable connection | |
US7009380B2 (en) | Interface device for product testing | |
CN204129732U (en) | Based on the board self-adaptation equipment of satellite time transfer machine frame system | |
CN112596983A (en) | Monitoring method for connector in server | |
US6530048B1 (en) | I2C test single chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |