TWI815255B - Detection method of riser board - Google Patents

Detection method of riser board Download PDF

Info

Publication number
TWI815255B
TWI815255B TW110148245A TW110148245A TWI815255B TW I815255 B TWI815255 B TW I815255B TW 110148245 A TW110148245 A TW 110148245A TW 110148245 A TW110148245 A TW 110148245A TW I815255 B TWI815255 B TW I815255B
Authority
TW
Taiwan
Prior art keywords
bus
adapter board
management controller
baseboard management
adapter
Prior art date
Application number
TW110148245A
Other languages
Chinese (zh)
Other versions
TW202326459A (en
Inventor
羅維毅
Original Assignee
神雲科技股份有限公司
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 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW110148245A priority Critical patent/TWI815255B/en
Publication of TW202326459A publication Critical patent/TW202326459A/en
Application granted granted Critical
Publication of TWI815255B publication Critical patent/TWI815255B/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)
  • Small-Scale Networks (AREA)
  • Paper (AREA)
  • Cultivation Of Seaweed (AREA)

Abstract

A detection method of riser board is implemented by a baseboard management controller(BMC) and includes: pre-storing a lookup table and a bus number for each connector; scanning every I2C bus; determining whether a response signal of each I2C bus device electrically connected to each I2C bus is received, and obtaining the bus number corresponding to each I2C bus and a device address of the I2C bus device; searching for an riser board model corresponding to the bus number and the device address in the lookup table, and determining the riser board model corresponding to a riser board connected to the I2C bus.

Description

轉接板的偵測方法 Detection method of adapter board

本發明是有關於一種偵測方法,特別是指一種轉接板的偵測方法。 The present invention relates to a detection method, in particular to a detection method of an adapter board.

現有的一種伺服器包含一主板、設置在該主板上的一基板管理控制器、可分離地插設在主板上的多個轉接板(Riser Board)、及分別設置在該等轉接板上的多個積體電路匯流排(Inter-Integrated Circuit Bus,簡稱I2C)裝置。該等轉接板的數量例如是兩個,該兩個轉接板的外觀雖然是一樣的,但由於兩個轉接板的種類不同(例如:兩個轉接板的型號不同),因此對應要插設在該主板上的兩個連接器的位置不能互相交換,這樣,該基板管理控制器才能以該轉接板的種類所對應的規則來與轉接板溝通。因此,在該伺服器製造與組裝的過程中,如何辨識是否已正確安裝便成為一個重要的課題。 An existing server includes a motherboard, a baseboard management controller disposed on the motherboard, a plurality of riser boards (Riser Boards) detachably inserted on the motherboard, and riser boards respectively disposed on the riser boards. Multiple integrated circuit bus (Inter-Integrated Circuit Bus, referred to as I2C) devices. The number of these adapter boards is, for example, two. Although the appearance of the two adapter boards is the same, due to the different types of the two adapter boards (for example: the two adapter boards have different models), the corresponding The positions of the two connectors to be plugged into the motherboard cannot be exchanged with each other, so that the baseboard management controller can communicate with the adapter board according to rules corresponding to the type of the adapter board. Therefore, in the process of manufacturing and assembling the server, how to identify whether it has been installed correctly has become an important issue.

習知的第一種作法是藉由佔用該兩個連接器的各自一個 腳位,並分別電連接至該兩個轉接板上的一上拉電阻至邏輯1的電壓及一下拉電阻至接地電位,使得該基板管理控制器偵測該兩個連接器的該兩個腳位的邏輯值而獲知該兩個轉接板是否安裝在正確的位置,且電連接該上拉電阻或該下拉電阻的每一該連接器的該腳位是特別保留以用來傳輸對應的邏輯值而提供該基本管理控制器作判斷。換句話說,每一該連接器在原本的傳送介面上,必須能夠提供額外的一個針腳,才能實施此作法。習知的第二種作法是分別在該兩個轉接板上的兩個電子抹除式可複寫唯讀記憶體(EEPROM)中儲存不同的一識別序號,使得該基板管理控制器偵測該兩個電子抹除式可複寫唯讀記憶體的該兩個識別序號而能夠正確辨識而獲知。然而,第一種作法需要額外佔用連接器的腳位,而第二種作法需要該兩個電子抹除式可複寫唯讀記憶體燒錄不同的資料內容,且正確安裝在對應的轉接板上。因此,是否具備其他更簡單且方便的偵測方法,便成為一個待解決的問題。 The first known method is to occupy one of the two connectors pins, and are respectively electrically connected to a pull-up resistor on the two adapter boards to a voltage of logic 1 and a pull-down resistor to the ground potential, so that the baseboard management controller detects the two The logic value of the pin is used to know whether the two adapter boards are installed in the correct position, and the pin of each connector that is electrically connected to the pull-up resistor or the pull-down resistor is specially reserved for transmitting the corresponding Logical values are provided to the basic management controller for judgment. In other words, each connector must be able to provide an additional pin on the original transmission interface to implement this approach. The second conventional method is to store a different identification number in two electronically erasable rewritable read-only memories (EEPROM) on the two adapter boards, so that the baseboard management controller detects the The two identification serial numbers of the two electronically erasable rewritable read-only memories can be correctly identified and obtained. However, the first method requires additional connector pins, while the second method requires the two electronically erasable rewritable read-only memories to burn different data contents and be correctly installed on the corresponding adapter board. superior. Therefore, whether there are other simpler and more convenient detection methods has become a problem to be solved.

因此,本發明的目的,即在提供一種簡單且方便的轉接板的偵測方法。 Therefore, the object of the present invention is to provide a simple and convenient method for detecting an adapter board.

於是,本發明提供一種轉接板的偵測方法,適用於一電腦設備,該電腦設備包含一主板、設置在該主板上的一基板管理控制器、分別可分離地設置在該主板上的多個連接器的多個轉接板、 及分別設置在該等轉接板上的多個積體電路(Inter-Integrated Circuit,I2C)匯流排裝置。該基板管理控制器藉由多個I2C匯流排分別電連接該等連接器,進而分別電連接已設置在該主板上的該等轉接板上的該等I2C匯流排裝置。該轉接板的偵測方法包含步驟(A)~(D)。 Therefore, the present invention provides a method for detecting an adapter board, which is suitable for a computer device. The computer device includes a motherboard, a baseboard management controller disposed on the motherboard, and multiple circuit breakers that are detachably disposed on the motherboard. Multiple adapter boards for connectors, And a plurality of integrated circuit (Inter-Integrated Circuit, I2C) bus devices respectively provided on the adapter boards. The baseboard management controller is electrically connected to the connectors through a plurality of I2C buses, and then is electrically connected to the I2C bus devices on the adapter boards on the motherboard. The detection method of the adapter board includes steps (A) ~ (D).

於步驟(A),藉由該基板管理控制器預先儲存一對照表及每一該連接器的一匯流排編號,該對照表包括多個轉接板型號、多個I2C匯流排編號、及多個I2C位址(Address)之間的對應關係。 In step (A), the baseboard management controller pre-stores a comparison table and a bus number for each connector. The comparison table includes multiple adapter board models, multiple I2C bus numbers, and multiple Correspondence between I2C addresses (Address).

於步驟(B),藉由該基板管理控制器掃描每一該I2C匯流排。 In step (B), each I2C bus is scanned by the baseboard management controller.

於步驟(C),藉由該基板管理控制器判斷是否接收到每一該I2C匯流排所電連接的每一該I2C匯流排裝置的一回應信號,而獲得對應每一該I2C匯流排的該匯流排編號及該I2C匯流排裝置的一裝置位址,該回應信號包含該裝置位址。 In step (C), the baseboard management controller determines whether a response signal from each I2C bus device electrically connected to each I2C bus is received to obtain the corresponding I2C bus device. The bus number and a device address of the I2C bus device, and the response signal includes the device address.

於步驟(D),藉由該基板管理控制器在該對照表搜尋對應該匯流排編號及該裝置位址的該轉接板型號,並判定為對應該I2C匯流排所連接的該轉接板的該轉接板型號。 In step (D), the baseboard management controller searches the comparison table for the adapter board model corresponding to the bus number and the device address, and determines that it corresponds to the adapter board connected to the I2C bus. The adapter board model.

在一些實施態樣中,其中,在步驟(B)中,該基板管理控制器是藉由發送一IPMI指令至每一該I2C匯流排。 In some implementations, in step (B), the baseboard management controller sends an IPMI command to each of the I2C buses.

在一些實施態樣中,其中,在步驟(C)中,當每一該I2C 匯流排裝置有接收到該IPMI指令時,發送該回應信號至對應的該I2C匯流排,當該基板管理控制器判斷在對應的該I2C匯流排有接收到該回應信號時,決定對應該匯流排編號的該裝置位址。 In some implementations, in step (C), when each I2C When the bus device receives the IPMI command, it sends the response signal to the corresponding I2C bus. When the baseboard management controller determines that the response signal is received on the corresponding I2C bus, it determines the corresponding bus. The numbered address of the device.

在一些實施態樣中,其中,在步驟(C)中,當該基板管理控制器判斷在對應的該I2C匯流排沒有接收到該回應信號時,決定對應該匯流排編號的該轉接板未設置。 In some implementations, in step (C), when the baseboard management controller determines that the response signal is not received at the corresponding I2C bus, it determines that the adapter board corresponding to the bus number has not received the response signal. settings.

在一些實施態樣中,該轉接板的偵測方法還包含在步驟(D)之後的步驟(E),該基板管理控制器還預先儲存對應每一該匯流排編號的一正確安裝裝置位址,當該基板管理控制器判斷對應該匯流排編號的該裝置位址與該正確安裝裝置位址不符合時,決定對應該匯流排編號的該轉接板安裝錯誤。 In some implementations, the detection method of the adapter board also includes step (E) after step (D). The baseboard management controller also pre-stores a correct installation device position corresponding to each bus number. address, when the baseboard management controller determines that the device address corresponding to the bus number does not match the correctly installed device address, it determines that the adapter board corresponding to the bus number is installed incorrectly.

在一些實施態樣中,該轉接板的偵測方法還包含在步驟(E)之後的步驟(F),當該基板管理控制器判斷對應該匯流排編號的該轉接板安裝錯誤,產生一警告信號,並將該警告信號傳送至一測試伺服器,以通知該測試伺服器安裝錯誤的該轉接板的位置。 In some implementations, the detection method of the adapter board also includes step (F) after step (E). When the baseboard management controller determines that the adapter board corresponding to the bus number is installed incorrectly, an error occurs. A warning signal is sent to a test server to notify the test server of the incorrectly installed location of the adapter board.

本發明的功效在於:藉由該基板管理控制器預先儲存的該對照表,以在掃描每一該I2C匯流排而獲得每一該I2C匯流排裝置的該裝置位址時,據以查找而能夠判定每一該I2C匯流排所連接的該轉接板的該轉接板型號。 The effect of the present invention is to use the comparison table pre-stored by the baseboard management controller to scan each I2C bus to obtain the device address of each I2C bus device, and search accordingly. Determine the adapter board model of the adapter board connected to each I2C bus.

1:主板 1: Motherboard

11:基板管理控制器 11:Baseboard management controller

21、22:連接器 21, 22: Connector

3、4:轉接板 3, 4: Adapter board

31、41:I2C匯流排裝置 31, 41: I2C bus device

S1~S6:步驟 S1~S6: steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明本發明轉接板的偵測方法所適用的一電腦設備;及圖2是一流程圖,說明本發明轉接板的偵測方法的一實施例。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a block diagram illustrating a computer device to which the detection method of the adapter board of the present invention is applicable; and Figure 2 is a flow chart illustrating an embodiment of the detection method of the adapter board of the present invention.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are designated with the same numbering.

參閱圖1與圖2,本發明轉接板的偵測方法之一實施例,適用於一電腦設備,該電腦設備包含一主板1、設置在該主板1上的一基板管理控制器(Baseboard management controller,BMC)11、分別可分離地設置在該主板1上的多個連接器21、22的多個轉接板3、4、及分別設置在該等轉接板3、4上的多個積體電路(Inter-Integrated Circuit,以下簡稱I2C)匯流排裝置31、41。當該等轉接板3、4分別設置在該等連接器21、22時,該基板管理控制器11藉由多個I2C匯流排分別經由該等連接器21、22而電連接該等I2C匯流排裝置31、41。 Referring to Figures 1 and 2, one embodiment of the adapter board detection method of the present invention is applicable to a computer equipment. The computer equipment includes a motherboard 1 and a baseboard management controller (Baseboard management controller) disposed on the motherboard 1. controller (BMC) 11, a plurality of adapter boards 3 and 4 respectively detachably provided with a plurality of connectors 21 and 22 on the motherboard 1, and a plurality of adapter boards 3 and 4 respectively provided on the adapter boards 3 and 4. Integrated circuit (Inter-Integrated Circuit, hereinafter referred to as I2C) bus devices 31 and 41. When the adapter boards 3 and 4 are disposed at the connectors 21 and 22 respectively, the baseboard management controller 11 electrically connects the I2C buses through the connectors 21 and 22 through a plurality of I2C buses. Row devices 31, 41.

該轉接板(Riser board)3、4也常被稱為轉接卡。另外要 特別說明的是:為方便說明起見,在本實施例及圖1中,該等連接器21、22、該等轉接板3、4、該等I2C匯流排裝置31、41、及該等I2C匯流排的數量都是以兩個作舉例說明,但並不以此作為數量的限制。 The riser boards 3 and 4 are also often called riser cards. In addition It is particularly noted that: for the convenience of explanation, in this embodiment and Figure 1, the connectors 21 and 22, the adapter boards 3 and 4, the I2C bus devices 31 and 41, and the The number of I2C buses is two as an example, but this is not a limit to the number.

該電腦設備例如是一待測伺服器,並處於一生產製造與測試的過程中,該基板管理控制器11經由網路與一測試伺服器(圖未示)建立連線,且該測試伺服器能夠經由網路對該基板管理控制器11傳達測試指令,例如指示該基板管理控制器11執行該轉接板的偵測方法,並由該基板管理控制器11接收測試結果。該轉接板的偵測方法包含步驟S1~S6 The computer equipment is, for example, a server to be tested and is in the process of manufacturing and testing. The baseboard management controller 11 establishes a connection with a test server (not shown) through the network, and the test server Test instructions can be transmitted to the baseboard management controller 11 via the network, for example, instructing the baseboard management controller 11 to execute the detection method of the adapter board, and the baseboard management controller 11 receives the test results. The detection method of the adapter board includes steps S1~S6

於步驟S1,藉由該基板管理控制器11預先儲存一對照表、對應每一該連接器21、22的一匯流排編號、及對應每一該匯流排編號的一正確安裝裝置位址。該對照表包括多個轉接板型號、多個I2C匯流排編號、及多個I2C位址(Address)之間的對應關係,並舉例如下列的表(一)所示。該兩個連接器21、22所分別電連接的的該兩個I2C匯流排的該兩個匯流排編號分別是#1及#2。接著,執行步驟S1。另外要特別補充說明的是:該基板管理控制器11所儲存的該對照表、該等匯流排編號、及該等正確安裝裝置位址例如是以參數的型態分布的儲存在該基板管理控制器11的韌體程式,或者,也可以例如是儲存在與基板管理控制器11電連接的一非揮發性 記憶體(圖未示)中,或者,也可以例如是儲存在該基板管理控制器11內部的一記憶體(圖未示)中。 In step S1, the baseboard management controller 11 pre-stores a comparison table, a bus number corresponding to each connector 21, 22, and a correct installation device address corresponding to each bus number. The comparison table includes correspondences between multiple adapter board models, multiple I2C bus numbers, and multiple I2C addresses, as shown in the following table (1). The two bus numbers of the two I2C buses to which the two connectors 21 and 22 are respectively electrically connected are #1 and #2 respectively. Next, step S1 is executed. In addition, it should be noted that the comparison table, the bus numbers, and the correct installation device addresses stored in the baseboard management controller 11 are, for example, distributed and stored in the baseboard management controller in the form of parameters. The firmware program of the controller 11 may, for example, be stored in a non-volatile device electrically connected to the baseboard management controller 11 In a memory (not shown), or, for example, it can be stored in a memory (not shown) inside the baseboard management controller 11 .

Figure 110148245-A0305-02-0008-1
Figure 110148245-A0305-02-0008-1

於步驟S2,藉由該基板管理控制器11掃描每一該I2C匯流排,更具體地說,該基板管理控制器11是藉由發送一IPMI指令至每一該I2C匯流排。該IPMI指令例如是「i2cdetect-y 6」、「i2cdetect-y 8」…等等,以表示掃描編號6的該I2C匯流排、編號8的該I2C匯流排...等等。接著,執行步驟S3。 In step S2, each I2C bus is scanned by the baseboard management controller 11. More specifically, the baseboard management controller 11 sends an IPMI command to each I2C bus. The IPMI command is, for example, "i2cdetect-y 6", "i2cdetect-y 8", etc., indicating that the I2C bus numbered 6, the I2C bus numbered 8, etc. are scanned. Next, step S3 is executed.

於步驟S3,藉由該基板管理控制器11判斷是否接收到每一該I2C匯流排所電連接的每一該I2C匯流排裝置31、41的一回應信號,而獲得對應每一該I2C匯流排的該匯流排編號及該I2C匯流排裝置31、41的一裝置位址,該回應信號包含該裝置位址。接著,執行步驟S4。 In step S3, the baseboard management controller 11 determines whether a response signal from each I2C bus device 31, 41 electrically connected to each I2C bus is received, and obtains a response signal corresponding to each I2C bus. The bus number and a device address of the I2C bus device 31, 41, and the response signal includes the device address. Next, step S4 is executed.

更詳細地說,當每一該I2C匯流排裝置31、41有接收到該IPMI指令時,發送該回應信號至對應的該I2C匯流排,進而使得當該基板管理控制器11判斷在對應的該I2C匯流排有接收到該回 應信號時,決定對應該I2C匯流排的該匯流排編號的該裝置位址。舉例來說:該基板管理控制器11接收到來自該I2C匯流排裝置31且經由該匯流排編號#1的該I2C匯流排的該回應信號,決定對應該匯流排編號#1的該裝置位址0x90。 More specifically, when each of the I2C bus devices 31 and 41 receives the IPMI command, it sends the response signal to the corresponding I2C bus, so that when the baseboard management controller 11 determines that the corresponding I2C bus is The I2C bus has received the response In response to the signal, the device address corresponding to the bus number of the I2C bus is determined. For example: the baseboard management controller 11 receives the response signal from the I2C bus device 31 via the I2C bus of bus number #1, and determines the device address corresponding to the bus number #1. 0x90.

而當該基板管理控制器11判斷在對應的該I2C匯流排沒有接收到該回應信號時,決定對應該匯流排編號的該轉接板3、4未設置。舉例來說,在其他的實施例中,當該轉接板3未設置在該連接器21時,該基板管理控制器11經由該匯流排編號#1的該I2C匯流排不會接收到該回應信號,則決定對應該匯流排編號#1的該轉接板3未設置。 When the baseboard management controller 11 determines that the response signal is not received at the corresponding I2C bus, it determines that the adapter boards 3 and 4 corresponding to the bus number are not installed. For example, in other embodiments, when the adapter board 3 is not disposed on the connector 21 , the baseboard management controller 11 will not receive the response via the I2C bus numbered #1. signal, it is determined that the adapter board 3 corresponding to the bus number #1 is not set.

於步驟S4,藉由該基板管理控制器11在該對照表搜尋對應接收到該回應信號的該匯流排編號及該裝置位址的該轉接板型號,並判定為對應該I2C匯流排所連接的該轉接板3、4的該轉接板型號。承續前例,該基板管理控制器11在該對照表中,尋找該I2C匯流排編號等於該匯流排編號#1且該I2C位址等於該裝置位址0x90所對應的該轉接板型號,即Riser_R_G5。 In step S4, the baseboard management controller 11 searches the comparison table for the adapter board model corresponding to the bus number and the device address that received the response signal, and determines that it corresponds to the I2C bus connected. The model of the adapter board 3 and 4. Continuing the previous example, the baseboard management controller 11 searches 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 in the comparison table, that is, Riser_R_G5.

於步驟S5,當該基板管理控制器11判斷對應該匯流排編號的該裝置位址與該正確安裝裝置位址不符合時,決定對應該匯流排編號的該轉接板3、4安裝錯誤。承續前例,再例如分別對應該兩個匯流排編號#1及#2的該兩個正確安裝裝置位址分別是0x98及 0x90,則該基板管理控制器11會決定對應該匯流排編號#1的該轉接板3發生安裝錯誤。此外,當對應該匯流排編號的該裝置位址與該正確安裝裝置位址之其中一者是一空值(Null)(即表示不安裝),且其中另一者是一數值(如前例的0x98)(即表示有安裝)時,該基板管理控制器11也會判斷出是屬於兩者不符合,而決定對應的該匯流排編號的該轉接板3、4是安裝錯誤。 In step S5, when the baseboard management controller 11 determines that the device address corresponding to the bus number does not match the correctly installed device address, it determines that the adapter boards 3 and 4 corresponding to the bus number are installed incorrectly. Continuing the previous example, for another example, the two correct installation device addresses corresponding to the two bus numbers #1 and #2 are respectively 0x98 and 0x90, the baseboard management controller 11 will determine that the adapter board 3 corresponding to the bus number #1 has an installation error. In addition, when one of the device address corresponding to the bus number and the correct installation device address is a null value (that is, not installed), and the other one is a numerical value (such as 0x98 in the previous example) ) (that is, installed), the baseboard management controller 11 will also determine that the two are inconsistent, and determine that the corresponding adapter boards 3 and 4 of the bus number are installed incorrectly.

於步驟S6,當該基板管理控制器11判斷對應該匯流排編號的該轉接板3、4安裝錯誤時,產生一警告信號,並將該警告信號傳送至該測試伺服器,以通知該測試伺服器安裝錯誤的該轉接板3、4的位置,例如藉由該測試伺服器的一顯示器作顯示,或者,還能夠進而使得該測試伺服器中止該電腦設備的測試過程。承續前例,該基板管理控制器11能夠通知該測試伺服器是該基板管理控制器11且對應該匯流排編號#1的該轉接板3發生安裝錯誤。此外,在其他的實施態樣中,當該基板管理控制器11判斷對應該匯流排編號的該轉接板3、4安裝錯誤,而產生該警告信號時,還能夠一併傳送發生安裝錯誤的該匯流排編號、該電腦設備被檢測出未設置該轉接板的該連接器、安裝錯誤的該連接器目前的安裝狀態(例如為未安裝或是安裝錯誤的該連接器目前實際安裝的該轉接板所對應的該轉接板型號)、實際安裝的該轉接板所對應的該轉接板型號的資訊、及每個未安裝或是錯誤安裝的該連接器所對應的每一該匯流排 編號的該正確安裝裝置位址對應的該轉接卡型號,以協助安裝人員更為簡易且直觀的修正安裝錯誤的問題。 In step S6, when the baseboard management controller 11 determines that the adapter boards 3 and 4 corresponding to the bus number are installed incorrectly, a warning signal is generated, and the warning signal is sent to the test server to notify the test The position of the adapter board 3 and 4 in which the server is installed incorrectly may be displayed, for example, on a monitor of the test server, or may further cause the test server to terminate the testing process of the computer equipment. Following the previous example, the baseboard management controller 11 can notify the test server that the adapter board 3 corresponding to the bus number #1 has an installation error. In addition, in other embodiments, when the baseboard management controller 11 determines that the adapter boards 3 and 4 corresponding to the bus number are installed incorrectly and generates the warning signal, it can also transmit the error message. The bus number, the connector on which the adapter plate is not installed on the computer equipment, and the current installation status of the incorrectly installed connector (for example, the connector is not installed or the incorrectly installed connector is currently installed). The adapter board model corresponding to the adapter board), the information of the adapter board model corresponding to the actually installed adapter board, and each of the connectors corresponding to the connector that is not installed or installed incorrectly. busbar The numbered address of the correct installation device corresponds to the adapter card model to help the installer correct the installation error more easily and intuitively.

另外要特別補充說明的是:設置在任何一個該轉接板3、4上的該I2C匯流排裝置31、41例如是一I2C多工器(MUX)、一時脈緩衝器(Clock buffer)、一溫度感測器(Thermal sensor)、或其他支援I2C匯流排標準的裝置。每一該I2C匯流排裝置31、41包含用於決定對應的該裝置位址的多個定址接腳,且每一該定址接腳藉由電連接至一上拉電阻至邏輯1的電壓或一下拉電阻至接地電位,且每一該I2C匯流排裝置31、41能夠事先定義該等定址接腳所電連接的邏輯值所對應的該裝置位址。舉例來說,該等定址接腳的數量是3個,且所電連接的三個邏輯值是100時,該裝置位址是0x98。換句話說,本發明能夠藉由該I2C匯流排裝置31、41原本就具有的該等定址腳位,而獲知該裝置位址進而獲知該轉接板型號,亦即相較於習知技術的第一種作法,本發明不需要額外佔用該連接器21、22的一個針腳。 In addition, it should be noted that the I2C bus devices 31 and 41 provided on any of the adapter boards 3 and 4 are, for example, an I2C multiplexer (MUX), a clock buffer (Clock buffer), a Temperature sensor (Thermal sensor), or other devices that support the I2C bus standard. Each of the I2C bus devices 31 and 41 includes a plurality of addressing pins for determining the corresponding device address, and each of the addressing pins is electrically connected to a pull-up resistor to a voltage of logic 1 or a voltage of logic 1. The resistor is pulled to the ground potential, and each of the I2C bus devices 31 and 41 can pre-define the device address corresponding to the logic value electrically connected to the addressing pins. For example, when the number of these addressing pins is 3 and the three electrically connected logic values are 100, the device address is 0x98. In other words, the present invention can obtain the device address and then the adapter board model through the addressing pins that the I2C bus devices 31 and 41 originally have. That is, compared with the conventional technology, In the first approach, the present invention does not need to occupy an additional pin of the connectors 21 and 22 .

綜上所述,藉由該基板管理控制器11預先儲存的該對照表,以在掃描每一該I2C匯流排而獲得每一該I2C匯流排裝置31、41的該裝置位址時,能夠據以查找而判定每一該I2C匯流排所連接的該轉接板3、4的該轉接板型號,進而判定是否安裝正確或錯誤,並回報至該測試伺服器,故確實能達成本發明的目的。 In summary, through the comparison table pre-stored by the baseboard management controller 11, when scanning each I2C bus to obtain the device address of each I2C bus device 31, 41, it can be based on the comparison table. By searching and determining the adapter board models of the adapter boards 3 and 4 connected to each I2C bus, and then determining whether the installation is correct or incorrect, and reporting it to the test server, the invention can indeed be achieved. Purpose.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。 However, the above are only examples of the present invention. They cannot be used to limit the scope of the present invention. All simple equivalent changes and modifications made based on the patent scope of the present invention and the contents of the patent specification are still within the scope of the present invention. within the scope covered by the patent of this invention.

S1~S6:步驟 S1~S6: steps

Claims (6)

一種轉接板的偵測方法,適用於一電腦設備,該電腦設備包含一主板、設置在該主板上的一基板管理控制器、分別可分離地設置在該主板上的多個連接器的多個轉接板、及分別設置在該等轉接板上的多個積體電路(Inter-Integrated Circuit,I2C)匯流排裝置,該基板管理控制器藉由多個I2C匯流排分別電連接該等連接器,進而分別電連接已設置在該主板上的該等轉接板上的該等I2C匯流排裝置,該轉接板的偵測方法包含:(A)藉由該基板管理控制器預先儲存一對照表及每一該連接器的一匯流排編號,該對照表包括多個轉接板型號、多個I2C匯流排編號、及多個I2C位址(Address)之間的對應關係;(B)藉由該基板管理控制器掃描每一該I2C匯流排;(C)藉由該基板管理控制器判斷是否接收到每一該I2C匯流排所電連接的每一該I2C匯流排裝置的一回應信號,而獲得對應每一該I2C匯流排的該匯流排編號及該I2C匯流排裝置的一裝置位址,該回應信號包含該裝置位址;及(D)藉由該基板管理控制器在該對照表搜尋對應該匯流排編號及該裝置位址的該轉接板型號,並判定為對應該I2C匯流排所連接的該轉接板的該轉接板型號。 An adapter board detection method is applicable to a computer device. The computer device includes a motherboard, a baseboard management controller provided on the motherboard, and multiple connectors that are detachably provided on the motherboard. An adapter board, and a plurality of integrated circuit (Inter-Integrated Circuit, I2C) bus devices respectively provided on the adapter board, and the baseboard management controller is electrically connected to the plurality of I2C bus devices through a plurality of I2C bus devices. The connectors are then electrically connected to the I2C bus devices on the adapter boards provided on the motherboard. The detection method of the adapter board includes: (A) Pre-storing by the baseboard management controller A comparison table and a bus number for each connector. The comparison table includes correspondences between multiple adapter board models, multiple I2C bus numbers, and multiple I2C addresses; (B ) Scan each I2C bus through the baseboard management controller; (C) Determine whether a response from each I2C bus device electrically connected to each I2C bus is received through the baseboard management controller signal to obtain the bus number corresponding to each I2C bus and a device address of the I2C bus device, the response signal including the device address; and (D) through the baseboard management controller in the The comparison table searches for the adapter board model corresponding to the bus number and the device address, and determines it to be the adapter board model corresponding to the adapter board connected to the I2C bus. 如請求項1所述的轉接板的偵測方法,其中,在步驟(B)中,該基板管理控制器是藉由發送一IPMI指令至每一該 I2C匯流排。 The detection method of the adapter board as described in claim 1, wherein in step (B), the baseboard management controller sends an IPMI command to each of the I2C bus. 如請求項2所述的轉接板的偵測方法,其中,在步驟(C)中,當每一該I2C匯流排裝置有接收到該IPMI指令時,發送該回應信號至對應的該I2C匯流排,當該基板管理控制器判斷在對應的該I2C匯流排有接收到該回應信號時,決定對應該匯流排編號的該裝置位址。 The detection method of the adapter board as described in claim 2, wherein in step (C), when each I2C bus device receives the IPMI command, it sends the response signal to the corresponding I2C bus device. row, when the baseboard management controller determines that the response signal is received at the corresponding I2C bus, it determines the device address corresponding to the bus number. 如請求項3所述的轉接板的偵測方法,其中,在步驟(C)中,當該基板管理控制器判斷在對應的該I2C匯流排沒有接收到該回應信號時,決定對應該匯流排編號的該轉接板未設置。 The detection method of the adapter board as described in claim 3, wherein in step (C), when the baseboard management controller determines that the response signal is not received at the corresponding I2C bus, it determines whether the corresponding I2C bus The adapter board with row number is not set. 如請求項4所述的轉接板的偵測方法,還包含在步驟(D)之後的步驟(E),該基板管理控制器還預先儲存對應每一該匯流排編號的一正確安裝裝置位址,當該基板管理控制器判斷對應該匯流排編號的該裝置位址與該正確安裝裝置位址不符合時,決定對應該匯流排編號的該轉接板安裝錯誤。 The method for detecting an adapter board as described in claim 4 further includes step (E) after step (D). The baseboard management controller also pre-stores a correct installation device position corresponding to each bus number. address, when the baseboard management controller determines that the device address corresponding to the bus number does not match the correctly installed device address, it determines that the adapter board corresponding to the bus number is installed incorrectly. 如請求項5所述的轉接板的偵測方法,還包含在步驟(E)之後的步驟(F),當該基板管理控制器判斷對應該匯流排編號的該轉接板安裝錯誤,產生一警告信號,並將該警告信號傳送至一測試伺服器,以通知該測試伺服器安裝錯誤的該轉接板的位置。 The detection method of the adapter board as described in claim 5 also includes step (F) after step (E). When the baseboard management controller determines that the adapter board corresponding to the bus number is installed incorrectly, an error occurs. A warning signal is sent to a test server to notify the test server of the incorrectly installed location of the adapter board.
TW110148245A 2021-12-22 2021-12-22 Detection method of riser board TWI815255B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110148245A TWI815255B (en) 2021-12-22 2021-12-22 Detection method of riser board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110148245A TWI815255B (en) 2021-12-22 2021-12-22 Detection method of riser board

Publications (2)

Publication Number Publication Date
TW202326459A TW202326459A (en) 2023-07-01
TWI815255B true TWI815255B (en) 2023-09-11

Family

ID=88147640

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110148245A TWI815255B (en) 2021-12-22 2021-12-22 Detection method of riser board

Country Status (1)

Country Link
TW (1) TWI815255B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201710895A (en) * 2015-09-04 2017-03-16 神雲科技股份有限公司 Method for monitoring server racks
US10162784B2 (en) * 2014-02-19 2018-12-25 Hewlett-Packard Development Company, L.P. Adapter for transmitting signals
TW201935890A (en) * 2018-02-13 2019-09-01 緯穎科技服務股份有限公司 Method for detecting topology, compute node, and storage node
CN111159085A (en) * 2019-12-30 2020-05-15 苏州浪潮智能科技有限公司 Automatic configuration method of PCIE (peripheral component interface express) bandwidth, server mainboard and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10162784B2 (en) * 2014-02-19 2018-12-25 Hewlett-Packard Development Company, L.P. Adapter for transmitting signals
TW201710895A (en) * 2015-09-04 2017-03-16 神雲科技股份有限公司 Method for monitoring server racks
TW201935890A (en) * 2018-02-13 2019-09-01 緯穎科技服務股份有限公司 Method for detecting topology, compute node, and storage node
CN111159085A (en) * 2019-12-30 2020-05-15 苏州浪潮智能科技有限公司 Automatic configuration method of PCIE (peripheral component interface express) bandwidth, server mainboard and server

Also Published As

Publication number Publication date
TW202326459A (en) 2023-07-01

Similar Documents

Publication Publication Date Title
US6792378B2 (en) Method for testing I/O ports of a computer motherboard
US9703937B2 (en) Method to prevent operating system digital product key activation failures
US20040153778A1 (en) Method, system and software for configuring a graphics processing communication mode
US10762029B2 (en) Electronic apparatus and detection method using the same
EP0887739A1 (en) Detection of SCSI devices at illegal locations
WO2020134340A1 (en) Hard drive extension system and electronic device
US10515042B1 (en) DAS storage cable identification
TWI761668B (en) Computer system with self-test and debugging method thereof
TWI815255B (en) Detection method of riser board
US11113166B2 (en) Monitoring system and method with baseboard management controller
US7168029B2 (en) Method for testing a universal serial bus host controller
CN109164874B (en) Information processing method and electronic equipment
TWI668566B (en) Memory inspecting system, memory inspecting method, and error mapping table building method for memory inspecting
CN107908303B (en) Touch processing device, electronic system and touch processing method thereof
CN115454896A (en) SMBUS-based SSD MCTP control message verification method and device, computer equipment and storage medium
TWI781676B (en) Method, apparatus, mainboard and related computer readable storage medium
WO2023024248A1 (en) Bus anomaly handling method and apparatus, electronic device and readable storage medium
CN116450421A (en) Detection method of adapter plate
CN112416678B (en) Fan in-place detection device and method
US20180059179A1 (en) Automatic control system and automatic instrument searching method for the same
US10592462B2 (en) Cable detection
CN112596983A (en) Monitoring method for connector in server
TW202018509A (en) Sas connector conduction detection system and method thereof
CN109120440B (en) Network port positioning method and network equipment applying same
WO2023272603A1 (en) Calibration method and electronic device