TW202113385A - Boundary scan test system and method thereof - Google Patents

Boundary scan test system and method thereof Download PDF

Info

Publication number
TW202113385A
TW202113385A TW108133808A TW108133808A TW202113385A TW 202113385 A TW202113385 A TW 202113385A TW 108133808 A TW108133808 A TW 108133808A TW 108133808 A TW108133808 A TW 108133808A TW 202113385 A TW202113385 A TW 202113385A
Authority
TW
Taiwan
Prior art keywords
test
boundary scan
cpu
pins
line network
Prior art date
Application number
TW108133808A
Other languages
Chinese (zh)
Other versions
TWI708954B (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 TW108133808A priority Critical patent/TWI708954B/en
Application granted granted Critical
Publication of TWI708954B publication Critical patent/TWI708954B/en
Publication of TW202113385A publication Critical patent/TW202113385A/en

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A boundary scan test system and a method thereof are provided. Two ends of each first loopback circuit of each CPU test card are respectively connected to another CPU test card and a boundary scan unit of a DIMM test card, and each end of each second loopback circuit of each CPU test card is respectively connected to a boundary scan unit of a DIMM test card, so that multiple boundary scan nets are generated. A controller can execute a diagnostic program to select one of the boundary scan units to emit an excitation signal in each boundary scan net to make each of the other boundary scan units in each boundary scan net respectively receive a response signal, and then compare each response signal and its expected signal in each boundary scan net to output a diagnostic result for each boundary scan net.

Description

邊界掃描測試系統及其方法Boundary scan test system and method

本發明涉及一種測試系統及其方法,特別是邊界掃描測試系統及其方法。The invention relates to a test system and method, in particular to a boundary scan test system and method.

在伺服器主機板生產線上,都是使用主機板原裝CPU進行邊界掃描測試。每測試一片主機板就要插拔一次CPU,大量的測試會造成CPU的損壞,使得CPU成了測試損耗品。由於主機板原裝CPU價格昂貴,因此,存在測試成本過高的問題。On the server motherboard production line, the original motherboard CPU is used for boundary scan testing. It is necessary to plug and unplug the CPU every time a motherboard is tested. A large number of tests will cause damage to the CPU, making the CPU a test wear and tear. Since the original CPU on the motherboard is expensive, there is a problem of high test costs.

有鑑於此,相關業者開始依據生產線實際需求著手研發CPU測試卡。然而,由於CPU測試卡的尺寸需與原裝CPU的尺寸一致,故在設計CPU測試卡的過程中,需面臨如何在原裝CPU的尺寸下配置上千個待測引腳的測試資源之挑戰。In view of this, the relevant industry began to develop CPU test cards based on the actual needs of the production line. However, because the size of the CPU test card needs to be consistent with the size of the original CPU, in the process of designing the CPU test card, it is necessary to face the challenge of how to configure test resources for thousands of pins to be tested under the size of the original CPU.

因此,目前市面上的CPU測試卡一般採用多片設計,每一片測試卡僅覆蓋CPU插槽的一部分引腳,測試過程中需將測試卡一片一片進行更換與測試,然後綜合多片的測試結果輸出測試報告,但此方法存在頻繁更換測試卡所帶來的時間成本、測試治具設計、測試流程控制等問題,而不適用於生產線。Therefore, the current CPU test cards on the market generally adopt a multi-chip design, and each test card covers only a part of the pins of the CPU socket. During the test, the test cards need to be replaced and tested one by one, and then the test results of the multiple chips are combined. Output test reports, but this method has problems such as time cost, test fixture design, test process control, etc. caused by frequent replacement of test cards, and is not suitable for production lines.

綜上所述,如何依據生產線實際需求設計出成本夠低且可以輔助產線邊界掃描測試過程的CPU測試卡,進而對應設計出一種較佳的邊界掃描測試流程,一直是相關業者當前重要研發課題之一。In summary, how to design a low-cost CPU test card that can assist the boundary scan test process of the production line according to the actual needs of the production line, and then design a better boundary scan test process, has always been an important research and development topic for related industries. one.

本發明揭露一種邊界掃描測試系統及其方法。The invention discloses a boundary scan test system and method.

首先,本發明揭露一種邊邊界掃描測試系統,用以對待測主機板進行邊界掃描測試,其中,待測主機板包括多個CPU插槽與多個DIMM插槽,該些CPU插槽之間透過多個快速通道互聯(Quick Path Interconnect,QPI)線路相連,該些CPU插槽與該些DIMM插槽之間透過多個輸入輸出(I/O)線路相連。邊界掃描測試系統包括:多個CPU測試卡(test card)、多個DIMM測試卡與測試控制主機。該些CPU測試卡用以依據一對一方式插設於該些CPU插槽,每一CPU測試卡包括多個第一回送線路與多個第二回送線路,每一CPU測試卡的每一第一回送線路的兩端分別連接一個QPI線路與一個I/O線路,每一CPU測試卡的每一第二回送線路的兩端分別各自連接一個I/O線路。該些DIMM測試卡用以依據一對一方式插設於該些DIMM插槽,每一DIMM測試卡包括至少一邊界掃描單元,每一DIMM測試卡的至少一邊界掃描單元連接一個I/O線路。測試控制主機用以依據該些CPU測試卡、該些DIMM測試卡與待測主機板之連接關係產生多個邊界掃描線網,以及執行診斷程序,以在每一邊界掃描線網中,任選該些邊界掃描單元其中之一使其發出激勵信號,其他該邊界掃描單元接收對應的響應信號,並比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果。First, the present invention discloses a boundary scan test system for boundary scan testing of a motherboard under test. The motherboard under test includes a plurality of CPU sockets and a plurality of DIMM sockets. Multiple Quick Path Interconnect (QPI) lines are connected, and the CPU sockets and the DIMM sockets are connected through multiple input/output (I/O) lines. The boundary scan test system includes: multiple CPU test cards (test cards), multiple DIMM test cards and test control hosts. The CPU test cards are used to insert into the CPU sockets in a one-to-one manner. Each CPU test card includes a plurality of first loopback lines and a plurality of second loopback lines, and each of the first loopback lines of each CPU test card Both ends of a loopback line are respectively connected to a QPI line and an I/O line, and both ends of each second loopback line of each CPU test card are respectively connected to an I/O line. The DIMM test cards are used for inserting into the DIMM slots in a one-to-one manner, each DIMM test card includes at least one boundary scan unit, and at least one boundary scan unit of each DIMM test card is connected to an I/O line . The test control host is used to generate a plurality of boundary scan line nets according to the connection relationship between the CPU test cards, the DIMM test cards and the motherboard to be tested, and to execute the diagnostic program, so as to select any one in each boundary scan line net. One of the boundary scan units causes it to emit an excitation signal, and the other boundary scan units receive corresponding response signals, and compare each response signal in each boundary scan line network with its corresponding expected signal to output each boundary Scan the diagnosis result of the network.

另外,本發明揭露一種邊界掃描測試方法,此方法包括以下步驟:提供待測主機板、多個CPU測試卡與多個DIMM測試卡,其中,待測主機板包括多個CPU插槽與多個DIMM插槽,該些CPU插槽之間透過多個QPI線路相連,該些CPU插槽與該些DIMM插槽之間透過多個輸入輸出線路相連,每一CPU測試卡包括多個第一回送線路與多個第二回送線路,每一DIMM測試卡包括至少一邊界掃描單元;以一對一方式插設該些CPU測試卡於該些CPU插槽,使每一CPU測試卡的每一第一回送線路的兩端分別連接一個QPI線路與一個I/O線路,使每一CPU測試卡的每一第二回送線路的兩端分別各自連接一個I/O線路;以一對一方式插設該些DIMM測試卡於該些DIMM插槽,使每一DIMM測試卡的至少一邊界掃描單元連接一個I/O線路;依據該些CPU測試卡、該些DIMM測試卡與待測主機板之連接關係產生多個邊界掃描線網;在每一邊界掃描線網中,任選該些邊界掃描單元其中之一使其發出激勵信號,其他該邊界掃描單元接收對應的響應信號;以及比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果。In addition, the present invention discloses a boundary scan test method. The method includes the following steps: providing a motherboard to be tested, a plurality of CPU test cards, and a plurality of DIMM test cards, wherein the motherboard to be tested includes a plurality of CPU slots and a plurality of DIMM test cards. DIMM sockets, the CPU sockets are connected through multiple QPI lines, the CPU sockets and the DIMM sockets are connected through multiple input and output lines, and each CPU test card includes multiple first loops Circuit and multiple second loopback circuits, each DIMM test card includes at least one boundary scan unit; the CPU test cards are inserted in the CPU sockets in a one-to-one manner, so that each of the first Both ends of a loopback line are connected to a QPI line and an I/O line, so that both ends of each second loopback line of each CPU test card are respectively connected to an I/O line; plug-in in a one-to-one manner The DIMM test cards are connected to the DIMM slots, so that at least one boundary scan unit of each DIMM test card is connected to an I/O line; according to the connection of the CPU test cards, the DIMM test cards and the motherboard to be tested A plurality of boundary scan line nets are generated from the relationship; in each boundary scan line net, one of the boundary scan units is selected to emit an excitation signal, and the other boundary scan units receive corresponding response signals; and compare each Each response signal in the boundary scan line network and its corresponding expected signal are used to output the diagnosis result of each boundary scan line network.

本發明所揭露之邊界掃描測試系統及其方法如上,與先前技術的差異在於本發明是透過每一CPU測試卡的第一回送線路的兩端分別連接另一個CPU測試卡與一個DIMM測試卡的邊界掃描單元,每一CPU測試卡的第二回送線路的兩端分別各自連接一個DIMM測試卡的邊界掃描單元,而產生多個邊界掃描線網;測試控制主機可執行診斷程序,以在每一邊界掃描線網中,任選其中一個邊界掃描單元使其發出激勵信號,其他邊界掃描單元分別接收對應的響應信號,並比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果。The boundary scan test system and method disclosed in the present invention are as above. The difference from the prior art is that the present invention connects another CPU test card and a DIMM test card through both ends of the first loopback line of each CPU test card. Boundary scan unit, the two ends of the second loopback circuit of each CPU test card are respectively connected to the boundary scan unit of a DIMM test card to generate a plurality of boundary scan line nets; the test control host can execute the diagnostic program for each In the boundary scan line network, select one of the boundary scan units to send out an excitation signal, and the other boundary scan units respectively receive the corresponding response signals, and compare each response signal in each boundary scan line network with its corresponding expected signal, To output the diagnosis results of each boundary scan line network.

透過上述的技術手段,本發明的CPU測試卡可在原裝CPU的尺寸下實現對待測引腳的基本覆蓋,以最大程度地節省測試資源,邊界掃描測試過程中無需頻繁更換CPU測試卡,且診斷過程清晰、方便,可以準確覆蓋所有故障的引腳。Through the above technical means, the CPU test card of the present invention can achieve basic coverage of the pins to be tested under the size of the original CPU, so as to save test resources to the greatest extent. There is no need to frequently replace the CPU test card during the boundary scan test process, and diagnosis The process is clear and convenient, and all faulty pins can be accurately covered.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The following describes the implementation of the present invention in detail with the drawings and embodiments, so as to fully understand and implement the implementation process of how the present invention uses technical means to solve technical problems and achieve technical effects.

請先參閱「第1圖」,「第1圖」為本發明邊界掃描測試系統之一實施例的結構示意圖。在本實施例中,邊界掃描測試系統可用以對待測主機板50進行邊界掃描測試,待測主機板50可包括多個中央處理單元(Central Processing Unit,CPU)插槽52與多個雙列直插式記憶體模組(Dual In-Line Memory Modules,DIMM)插槽54,該些CPU插槽52之間透過多個快速通道互聯(Quick Path Interconnect,QPI)線路相連,該些CPU插槽52與該些DIMM插槽54之間透過多個輸入輸出(I/O)線路相連。為避免說明過於複雜,在本實施例中,僅以兩個CPU插槽52、八個DIMM插槽54、十個I/O線路(如「第1圖」的虛線所示)、兩個QPI線路(如「第1圖」的粗鏈線所示)進行說明,但本實施例並非用以限定本發明,可依據實際狀況進行調整。Please refer to "Figure 1" first. "Figure 1" is a schematic structural diagram of an embodiment of the boundary scan test system of the present invention. In this embodiment, the boundary scan test system can be used to perform a boundary scan test on the motherboard under test 50. The motherboard under test 50 can include a plurality of central processing unit (CPU) slots 52 and a plurality of dual in-line Plug-in memory module (Dual In-Line Memory Modules, DIMM) sockets 54, these CPU sockets 52 are connected by multiple Quick Path Interconnect (QPI) lines, and these CPU sockets 52 It is connected to the DIMM sockets 54 through multiple input and output (I/O) lines. To avoid overly complicated description, in this embodiment, only two CPU sockets 52, eight DIMM sockets 54, ten I/O lines (as shown by the dashed line in "Figure 1"), and two QPI The route (as shown by the thick chain line in "Figure 1") is described, but this embodiment is not intended to limit the present invention, and can be adjusted according to actual conditions.

邊界掃描測試系統可包括:多個CPU測試卡(test card)110、多個DIMM測試卡120、測試存取埠(Test Access Port,TAP)控制器60與測試控制主機130,該些CPU測試卡110用以依據一對一方式插設於該些CPU插槽52(圖面僅以兩者之間具有連接線表示),該些DIMM測試卡120用以依據一對一方式插設於該些DIMM插槽54(圖面僅以兩者之間具有連接線表示),因此,本實施例的CPU測試卡110數量為兩個,DIMM測試卡120數量為八個。其中,測試控制主機130可透過TAP控制器60與待測主機板50以與插設於該些CPU插槽52上的該些CPU測試卡110以及插設於該些DIMM插槽54上的該些DIMM測試卡120相互連接以及相互傳遞信息與資料,以進行邊界掃描測試。需注意的是,每一CPU測試卡110的尺寸需與原裝CPU的尺寸一致,每一DIMM測試卡120的尺寸需與原裝DIMM的尺寸一致。The boundary scan test system may include: a plurality of CPU test cards (test cards) 110, a plurality of DIMM test cards 120, a test access port (TAP) controller 60 and a test control host 130, the CPU test cards 110 is used to insert into the CPU sockets 52 in a one-to-one manner (the figure is only shown with a connecting line between the two), and the DIMM test cards 120 are used to insert into the CPU sockets 52 in a one-to-one manner. The DIMM slot 54 (the figure is only represented by a connecting line between the two). Therefore, the number of the CPU test card 110 in this embodiment is two, and the number of the DIMM test card 120 is eight. The test control host 130 can use the TAP controller 60 and the motherboard 50 to be tested to interact with the CPU test cards 110 inserted in the CPU sockets 52 and the DIMM sockets 54 These DIMM test cards 120 are connected to each other and transfer information and data to each other for boundary scan testing. It should be noted that the size of each CPU test card 110 needs to be consistent with the size of the original CPU, and the size of each DIMM test card 120 needs to be consistent with the size of the original DIMM.

每一CPU測試卡110可包括多個第一回送線路114與多個第二回送線路112,當每一CPU測試卡110插設於CPU插槽52時,每一CPU測試卡110的每一第一回送線路114的兩端可分別連接一個QPI線路與一個I/O線路,每一CPU測試卡110的每一第二回送線路112的兩端可分別各自連接一個I/O線路;每一DIMM測試卡120可包括至少一邊界掃描單元122,當每一DIMM測試卡120插設於DIMM插槽54時,每一DIMM測試卡120的至少一邊界掃描單元122可連接一個I/O線路。為避免說明過於複雜,在本實施例中,每一CPU測試卡110可包括一個第二回送線路112與兩個第一回送線路114,六個DIMM測試卡120可包括一個邊界掃描單元122,兩個DIMM測試卡120可包括兩個邊界掃描單元122,但本實施例並非用以限定本發明,可依據實際狀況進行調整。其中,每一邊界掃描單元122可以作為激勵端或響應端。Each CPU test card 110 may include a plurality of first loopback lines 114 and a plurality of second loopback lines 112. When each CPU test card 110 is inserted into the CPU slot 52, each CPU test card 110 will Both ends of a loopback line 114 can be respectively connected to a QPI line and an I/O line, and both ends of each second loopback line 112 of each CPU test card 110 can be respectively connected to an I/O line; each DIMM The test card 120 may include at least one boundary scan unit 122. When each DIMM test card 120 is inserted into the DIMM slot 54, at least one boundary scan unit 122 of each DIMM test card 120 may be connected to an I/O line. To avoid overly complicated description, in this embodiment, each CPU test card 110 may include a second loopback line 112 and two first loopback lines 114, and the six DIMM test cards 120 may include a boundary scan unit 122, and two Each DIMM test card 120 may include two boundary scan units 122, but this embodiment is not intended to limit the present invention, and can be adjusted according to actual conditions. Among them, each boundary scan unit 122 can be used as an excitation terminal or a response terminal.

測試控制主機130可依據該些CPU測試卡110、該些DIMM測試卡120與待測主機板50之連接關係產生多個邊界掃描線網。其中,每一邊界掃描線網包括多個測試路徑引腳,每一邊界掃描線網所包括的該些測試路徑引腳係為該邊界掃描線網的邊界掃描路徑經過的引腳,可為CPU插槽52上用以與DIMM插槽連接的連接引腳(即CPU插槽52與I/O線路連接的引腳)、DIMM插槽54上用以與CPU插槽52連接的輸入輸出(I/O)引腳(即DIMM插槽54與I/O線路連接的引腳)。The test control host 130 can generate a plurality of boundary scan line nets according to the connection relationship between the CPU test cards 110, the DIMM test cards 120 and the motherboard 50 under test. Wherein, each boundary scan line network includes a plurality of test path pins, and the test path pins included in each boundary scan line network are the pins through which the boundary scan path of the boundary scan line network passes, and may be CPUs. The connection pins on the socket 52 for connecting with the DIMM socket (that is, the pins for connecting the CPU socket 52 with the I/O line), the input and output pins on the DIMM socket 54 for connecting with the CPU socket 52 (I /O) pin (that is, the pin that connects the DIMM socket 54 to the I/O line).

在本實施例中,共有四個邊界掃描線網,第一個邊界掃描線網的邊界掃描路徑可自端點g(即邊界掃描單元122)出發,經過引腳G(即DIMM插槽54與I/O線路連接的引腳)、引腳M(即CPU插槽52與I/O線路連接的引腳)、第二回送線路112、引腳N(即CPU插槽52與I/O線路連接的引腳)與引腳H(即DIMM插槽54與I/O線路連接的引腳),直到端點h(即另一個邊界掃描單元122),故第一個邊界掃描線網所包括的該些測試路徑引腳係為引腳G、引腳M、引腳N與引腳H;第二個邊界掃描線網的邊界掃描路徑可自端點e(即邊界掃描單元122)出發,經過引腳E(即DIMM插槽54與I/O線路連接的引腳)、引腳O(即CPU插槽52與I/O線路連接的引腳)、第一個第一回送線路114、引腳R(即CPU插槽52與另一CPU插槽52連接的引腳)、QPI線路、引腳S(即CPU插槽52與另一CPU插槽52連接的引腳)、第二個第一回送線路114、引腳V(即CPU插槽52與I/O線路連接的引腳)與引腳F(即DIMM插槽54與I/O線路連接的引腳),直到端點f(即邊界掃描單元122),故第二個邊界掃描線網所包括的該些測試路徑引腳係為引腳E、引腳O、引腳R、引腳S、引腳V與引腳F;第三個邊界掃描線網的邊界掃描路徑可自端點a(即邊界掃描單元122)出發,並於經過引腳A(即DIMM插槽54與I/O線路連接的引腳)後分成兩個子路徑,第一個子路徑為經過引腳C(即DIMM插槽54與I/O線路連接的引腳)而進入端點c(即邊界掃描單元122),第二個子路徑為經過引腳P(即CPU插槽52與I/O線路連接的引腳)、第一個第一回送線路114、引腳Q(即CPU插槽52與另一CPU插槽52連接的引腳)、QPI線路、引腳T(即CPU插槽52與另一CPU插槽52連接的引腳)、第二個第一回送線路114與引腳U(即CPU插槽52與I/O線路連接的引腳),而經過引腳U後又可分別經過引腳D(即DIMM插槽54與I/O線路連接的引腳)而進入端點d(即邊界掃描單元122),以及經過引腳B(即DIMM插槽54與I/O線路連接的引腳)而進入端點b(即邊界掃描單元122),故第三個邊界掃描線網所包括的該些測試路徑引腳係為引腳A、引腳P、引腳Q、引腳T、引腳U、引腳D、引腳B與引腳C;第四個邊界掃描線網的邊界掃描路徑可自端點i(即邊界掃描單元122)出發,經過引腳I(即DIMM插槽54與I/O線路連接的引腳)、引腳W(即CPU插槽52與I/O線路連接的引腳)、第二回送線路112、引腳X(即CPU插槽52與I/O線路連接的引腳)與引腳J(即DIMM插槽54與I/O線路連接的引腳),直到端點j(即邊界掃描單元122),故第四個邊界掃描線網所包括的該些測試路徑引腳係為引腳I、引腳W、引腳X與引腳J。In this embodiment, there are four boundary scan line nets. The boundary scan path of the first boundary scan line net can start from the end point g (that is, the boundary scan unit 122) and pass through the pin G (that is, the DIMM slot 54 and I/O line connection pin), pin M (that is, the pin connected to the CPU socket 52 and the I/O line), the second loopback line 112, and pin N (that is, the CPU socket 52 and the I/O line Connected pin) and pin H (that is, the pin connected to the DIMM socket 54 and the I/O line) until the end point h (that is, the other boundary scan unit 122), so the first boundary scan line network includes The test path pins are pin G, pin M, pin N, and pin H; the boundary scan path of the second boundary scan network can start from the end point e (that is, the boundary scan unit 122), Pass through pin E (that is, the pin connected to the DIMM socket 54 and the I/O line), pin O (that is, the pin connected to the CPU socket 52 and the I/O line), the first first loopback line 114, Pin R (the pin that connects the CPU socket 52 to another CPU socket 52), QPI line, pin S (the pin that connects the CPU socket 52 to another CPU socket 52), the second The first loopback line 114, pin V (that is, the pin connected to the CPU socket 52 and the I/O line), and pin F (that is, the pin connected to the DIMM socket 54 and the I/O line), until the endpoint f (That is, the boundary scan unit 122), so the test path pins included in the second boundary scan network are pin E, pin O, pin R, pin S, pin V, and pin F ; The boundary scan path of the third boundary scan line network can start from the endpoint a (that is, the boundary scan unit 122), and after passing through the pin A (that is, the pin connected to the DIMM slot 54 and the I/O line) is divided into Two sub-paths, the first sub-path is through pin C (that is, the pin connected to the DIMM slot 54 and the I/O line) and enters the endpoint c (that is, the boundary scan unit 122), and the second sub-path is through Pin P (that is, the pin that connects the CPU socket 52 to the I/O line), the first first loopback line 114, and pin Q (that is, the pin that connects the CPU socket 52 to another CPU socket 52) , QPI line, pin T (that is, the pin connecting the CPU socket 52 to another CPU socket 52), the second first loopback line 114 and pin U (that is, the CPU socket 52 is connected to the I/O line After passing through the pin U, it can pass through the pin D (that is, the pin connecting the DIMM slot 54 and the I/O line) to the end point d (that is, the boundary scan unit 122), and pass through the lead Pin B (that is, the pin connecting the DIMM slot 54 to the I/O line) enters the end point b (that is, the boundary scan unit 122), so the test path pins included in the third boundary scan network are Pin A, Pin P, Pin Q, Pin T, Pin U, Pin D, Pin B, and Pin C; the boundary scan path of the fourth boundary scan network can be from endpoint i (ie The boundary scan unit 122) starts and passes Pin I (that is, the pin connected to the DIMM socket 54 and the I/O line), pin W (that is, the pin connected to the CPU socket 52 and the I/O line), the second loopback line 112, and pin X ( That is, the pin connecting the CPU socket 52 to the I/O line) and pin J (that is, the pin connecting the DIMM socket 54 to the I/O line), until the end point j (that is, the boundary scan unit 122), so the first The test path pins included in the four boundary scan lines are pin I, pin W, pin X, and pin J.

測試控制主機130可對每一邊界掃描線網執行診斷程序,以在每一邊界掃描線網中,任選該些邊界掃描單元122其中之一使其發出激勵信號,其他該邊界掃描單元122接收對應的響應信號,並比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果。換句話說,測試控制主機130可依據每一邊界掃描線網的邊界掃描路徑進行邊界掃描測試,當任選每一邊界掃描線網中該些邊界掃描單元122其中之一作為激勵端使其發出激勵信號後,可基於其邊界掃描路徑預期得知該邊界掃描線網中其他該邊界掃描單元122(即響應端)會接受到的期望信號,若某一邊界掃描單元122所接收到的響應信號不符合其預計接收到的期望信號時,表示該邊界掃描線網存在故障的引腳,測試控制主機130需進一步依據每一邊界掃描線網的測試成果(即每一邊界掃描線網的每一響應信號)進行故障診斷,以輸出每一邊界掃描線網的診斷結果。其中,診斷結果係用以表示每一邊界掃描線網所包括的測試路徑引腳是否與主機板間焊接正常,以及是否有開路或短路等故障的情形。The test control host 130 can execute a diagnostic program for each boundary scan line network, so that in each boundary scan line network, one of the boundary scan units 122 can be selected to make it emit an excitation signal, and the other boundary scan units 122 receive The corresponding response signal is compared with each response signal in each boundary scan line network and its corresponding expected signal to output the diagnosis result of each boundary scan line network. In other words, the test control host 130 can perform the boundary scan test according to the boundary scan path of each boundary scan line network, when one of the boundary scan units 122 in each boundary scan line network is selected as the excitation terminal to make it emit After the excitation signal, based on its boundary scan path, it can be expected to know the expected signal that other boundary scan units 122 (ie, the responding end) in the boundary scan network will receive. If the response signal received by a certain boundary scan unit 122 When it does not meet the expected signal it expects to receive, it indicates that the boundary scan line network has a faulty pin. The test control host 130 needs to further based on the test results of each boundary scan line network (that is, each boundary scan line network Response signal) to perform fault diagnosis to output the diagnosis results of each boundary scan line network. Among them, the diagnosis result is used to indicate whether the test path pins included in each boundary scan network are properly welded to the motherboard, and whether there is an open circuit or a short circuit or other faults.

其中,依據每一邊界掃描線網的測試成果進行故障診斷的原則包括:(1)當某一邊界掃描線網中僅一個響應信號不符合其對應的期望信號時,將接收不符合其對應的期望信號的響應信號的邊界掃描單元所對應連接的一個測試路徑引腳報錯; (2)當某一邊界掃描線網中所有的該些響應信號皆不符合其對應的該些期望信號時,將該邊界掃描線網所包括的全部該些測試路徑引腳報錯;以及 (3)若某一邊界掃描線網中多個測試路徑經過某一測試路徑引腳時,確認經過該測試路徑引腳的該些測試路徑是否測試通過,若經過該測試路徑引腳的該些測試路徑至少其中之一測試通過時,表示該測試路徑引腳測試通過;若該經過測試路徑引腳的該些測試路徑全部測試失敗時,則將該測試路徑引腳測試報錯。Among them, the principles of fault diagnosis based on the test results of each boundary scan line network include: (1) When only one response signal in a boundary scan line network does not meet its corresponding expected signal, it will receive the one that does not meet its corresponding expected signal. A test path pin corresponding to the boundary scan unit of the response signal of the expected signal reports an error; (2) When all the response signals in a certain boundary scan line network do not meet the corresponding expected signals, the All the test path pins included in the boundary scan line network report errors; and (3) If multiple test paths in a certain boundary scan line network pass through a certain test path pin, confirm that the test path pin passes through Whether the test paths pass the test, if at least one of the test paths passing the test path pin passes the test, it means that the test path pin test passes; if all the test paths that pass the test path pin When the test fails, an error will be reported for the test path pin test.

以本實施例的第三個邊界掃描線網為例進行說明,當選擇端點a作為激勵端以發出激勵信號時,若僅作為響應端的端點b其所接收到的響應信號不符合其對應的期望信號,則將端點b所對應連接的測試路徑引腳(即引腳B)報錯,此時,由於作為響應端的端點d所接收到的響應信號符合其對應的期望信號,故端點b與端點d共用的測試路徑引腳A、P、Q、T、U並不會報錯;若僅作為響應端的端點c其所接收到的響應信號不符合其對應的期望信號,則將端點c所對應連接的測試路徑引腳(即引腳C)報錯;若僅作為響應端的端點d其所接收到的響應信號不符合其對應的期望信號,則將端點d所對應連接的測試路徑引腳(即引腳D)報錯; 若作為響應端的端點b與端點c其所接收到的響應信號不符合其對應的期望信號,則將端點b與端點c所對應連接的測試路徑引腳(即引腳B與引腳C)報錯;若作為響應端的端點c與端點d其所接收到的響應信號不符合其對應的期望信號,則將端點c與端點d所對應連接的測試路徑引腳(即引腳C與引腳D)報錯;若作為響應端的端點b與端點d其所接收到的響應信號不符合其對應的期望信號,由於端點b與端點d之間有共用的測試路徑引腳A、P、Q、T、U,故除了將端點b與端點d所對應連接的測試路徑引腳(即引腳B與引腳D)報錯以外,還需將共用的測試路徑引腳A、P、Q、T、U都報錯;若作為響應端的所有端點(即端點b、端點c與端點d)其所接收到的響應信號不符合其對應的期望信號, 則將該邊界掃描線網所包括的全部測試路徑引腳(即引腳A、引腳B、引腳C、引腳D、引腳P、引腳Q、引腳T與引腳U)報錯。因此,測試控制主機130可依據第三個邊界掃描線網的測試成果進行故障診斷,以輸出該邊界掃描線網的診斷結果。Taking the third boundary scan line network of this embodiment as an example, when the end point a is selected as the excitation end to send out the excitation signal, if the end point b is only the response end, the response signal received does not conform to its corresponding The expected signal of the end point b corresponds to the test path pin (ie pin B) reported an error. At this time, since the response signal received by the end point d as the responding end matches its corresponding expected signal, the end The test path pins A, P, Q, T, U shared by point b and end point d will not report an error; if the response signal received by the end point c, which is only the responding end, does not meet its corresponding expected signal, then Report an error to the test path pin corresponding to the end point c (ie pin C); if the response signal received by the end point d that is only the responding end does not meet its corresponding expected signal, then the end point d corresponds to The connected test path pin (ie pin D) reports an error; if the response signal received by endpoint b and endpoint c as the response terminal does not meet their corresponding expected signal, then the endpoint b and endpoint c will be Correspondingly connected test path pins (ie pins B and C) report an error; if the response signals received by endpoint c and endpoint d as the responding end do not meet their corresponding expected signals, then endpoint c The test path pins (ie pins C and D) connected to the end point d report an error; if the response signals received by the end points b and d as the response end do not meet their corresponding expected signals, Since there are shared test path pins A, P, Q, T, U between endpoint b and endpoint d, except for the test path pins corresponding to the connection between endpoint b and endpoint d (ie pin B In addition to reporting errors with pin D), the shared test path pins A, P, Q, T, and U need to be reported as errors; if they are all endpoints of the responder (ie endpoint b, endpoint c, and endpoint d) If the response signal received does not meet the corresponding expected signal, all test path pins included in the boundary scan line network (ie, pin A, pin B, pin C, pin D, pin P, pin Q, pin T and pin U) report an error. Therefore, the test control host 130 can perform fault diagnosis based on the test result of the third boundary scan line network to output the diagnosis result of the boundary scan line network.

此外,在本實施例中,每一CPU測試卡110上可設置有至少一邊界掃描晶片116,當每一CPU測試卡110插設於對應的CPU插槽52時,該至少一邊界掃描晶片116可連接該CPU插槽52的多個接地(GND)引腳、多個電源(Power)引腳與多個控制輸入輸出(Control I/O)引腳。需注意的是,為避免說明過於複雜,在本實施例中,每一CPU測試卡110上僅設置一個邊界掃描晶片116,每一邊界掃描晶片116僅與一個接地引腳(即引腳m或引腳s)、一個電源引腳(即引腳n或引腳t)以及一個控制輸入輸出引腳(即引腳p或引腳u)連接,但本實施例並非用以限定本發明。In addition, in this embodiment, each CPU test card 110 may be provided with at least one boundary scan chip 116. When each CPU test card 110 is inserted into the corresponding CPU socket 52, the at least one boundary scan chip 116 Multiple ground (GND) pins, multiple power (Power) pins, and multiple control input and output (Control I/O) pins of the CPU socket 52 can be connected. It should be noted that, in order to avoid overly complicated description, in this embodiment, each CPU test card 110 is provided with only one boundary scan chip 116, and each boundary scan chip 116 is connected to only one ground pin (ie pin m or pin m). Pin s), a power supply pin (ie pin n or pin t), and a control input and output pin (ie pin p or pin u) are connected, but this embodiment is not intended to limit the present invention.

在本實施例中,測試控制主機130可透過TAP控制器60與待測主機板50以與插設於該些CPU插槽52上的該些CPU測試卡110相互連接以及相互傳遞信息與資料,以對該些接地引腳、該些電源引腳與該些控制輸入輸出引腳進行邊界掃描測試。In this embodiment, the test control host 130 can connect to the CPU test cards 110 inserted in the CPU sockets 52 through the TAP controller 60 and the host board 50 to be tested, and transmit information and data to each other. Boundary scan tests are performed on the ground pins, the power pins, and the control input and output pins.

在本實施例中,透過每一CPU測試卡110的第一回送線路與第二回送線路的設計,使每一CPU測試卡110可覆蓋每一CPU插槽52上所有的QPI引腳(即CPU插槽52與QPI線路連接的引腳)以及其與DIMM插槽之間的連接引腳(即CPU插槽52與I/O線路連接的引腳),因此,當測試控制主機130可透過TAP控制器60對該些引腳進行邊界掃描測試時,該些CPU測試卡110無需提供邊界掃描硬體資源,減少在原裝CPU的尺寸下需配置的測試資源。此外,透過每一CPU測試卡110上設置的邊界掃描晶片116的設計,使每一CPU測試卡110可覆蓋每一CPU插槽52上部分的接地引腳、電源引腳與控制輸入輸出引腳,因此,當測試控制主機130可透過TAP控制器60對該些引腳進行邊界掃描測試時,需要該些CPU測試卡110提供邊界掃描硬體資源。In this embodiment, through the design of the first loopback line and the second loopback line of each CPU test card 110, each CPU test card 110 can cover all the QPI pins on each CPU socket 52 (ie, CPU The pins connecting the socket 52 to the QPI line) and the connecting pins between it and the DIMM socket (that is, the pins connecting the CPU socket 52 to the I/O line). Therefore, when the test control host 130 can use the TAP When the controller 60 performs boundary scan tests on these pins, the CPU test cards 110 do not need to provide boundary scan hardware resources, which reduces the test resources that need to be configured under the size of the original CPU. In addition, through the design of the boundary scan chip 116 provided on each CPU test card 110, each CPU test card 110 can cover part of the ground pins, power pins, and control input and output pins on each CPU socket 52 Therefore, when the test control host 130 can perform boundary scan tests on these pins through the TAP controller 60, the CPU test cards 110 are required to provide boundary scan hardware resources.

以本發明的CPU測試卡取代以Intel公司的Haswell型CPU為例,由於Haswell型CPU對應的CPU插槽有3647個引腳,本發明的CPU測試卡藉由第一回送線路、第二回送線路與設置邊界掃描晶片的設計可基本覆蓋Haswell型CPU的166個接地引腳、76個電源引腳與297個控制輸入輸出引腳,還可覆蓋每一CPU插槽上所有的QPI引腳與連接引腳(共916個引腳),因此,本發明的CPU測試卡可在原裝CPU的尺寸下配置CPU插槽全部引腳的百分之四十的測試覆蓋,以最大程度地節省測試資源,邊界掃描測試過程中無需頻繁更換CPU測試卡,且診斷過程清晰、方便,可以準確覆蓋所有故障的引腳。Taking the CPU test card of the present invention instead of the Haswell type CPU of Intel Corporation as an example, since the CPU socket corresponding to the Haswell type CPU has 3647 pins, the CPU test card of the present invention uses the first loopback line and the second loopback line. The design and setting of the boundary scan chip can basically cover the 166 ground pins, 76 power pins and 297 control input and output pins of the Haswell CPU, and can also cover all the QPI pins and connections on each CPU socket Pins (916 pins in total), therefore, the CPU test card of the present invention can be configured with a test coverage of 40% of all pins of the CPU socket under the size of the original CPU, so as to save test resources to the greatest extent. During the boundary scan test, there is no need to frequently replace the CPU test card, and the diagnosis process is clear and convenient, which can accurately cover all faulty pins.

接著,請參閱「第2圖」,「第2圖」為「第1圖」的邊界掃描測試系統執行邊界掃描測試方法之一實施例的方法流程圖。在本實施例中,邊界掃描測試方法可包括以下步驟:提供待測主機板、多個CPU測試卡與多個DIMM測試卡,其中,待測主機板包括多個CPU插槽與多個DIMM插槽,該些CPU插槽之間透過多個QPI線路相連,該些CPU插槽與該些DIMM插槽之間透過多個輸入輸出線路相連,每一CPU測試卡包括多個第一回送線路與多個第二回送線路,每一DIMM測試卡包括至少一邊界掃描單元(步驟210);以一對一方式插設該些CPU測試卡於該些CPU插槽,使每一CPU測試卡的每一第一回送線路的兩端分別連接一個QPI線路與一個I/O線路,使每一CPU測試卡的每一第二回送線路的兩端分別各自連接一個I/O線路(步驟220);以一對一方式插設該些DIMM測試卡於該些DIMM插槽,使每一DIMM測試卡的至少一邊界掃描單元連接一個I/O線路(步驟230);依據該些CPU測試卡、該些DIMM測試卡與待測主機板之連接關係產生多個邊界掃描線網(步驟240);在每一邊界掃描線網中,任選該些邊界掃描單元其中之一使其發出激勵信號,其他該邊界掃描單元接收對應的響應信號(步驟250);以及比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果(步驟260)。Next, please refer to "Figure 2". "Figure 2" is a method flowchart of an embodiment of the boundary scan test method performed by the boundary scan test system of "Figure 1". In this embodiment, the boundary scan test method may include the following steps: providing a motherboard to be tested, a plurality of CPU test cards, and a plurality of DIMM test cards, wherein the motherboard to be tested includes a plurality of CPU sockets and a plurality of DIMM sockets. The CPU sockets are connected through multiple QPI lines, the CPU sockets and the DIMM sockets are connected through multiple input and output lines, and each CPU test card includes multiple first loopback lines and A plurality of second loopback lines, each DIMM test card includes at least one boundary scan unit (step 210); the CPU test cards are inserted in the CPU slots in a one-to-one manner, so that each CPU test card Both ends of a first loopback line are respectively connected to a QPI line and an I/O line, so that both ends of each second loopback line of each CPU test card are respectively connected to an I/O line (step 220); Insert the DIMM test cards into the DIMM slots in a one-to-one manner, so that at least one boundary scan unit of each DIMM test card is connected to an I/O line (step 230); according to the CPU test cards, the The connection relationship between the DIMM test card and the motherboard to be tested generates multiple boundary scan line nets (step 240); in each boundary scan line net, select one of the boundary scan units to emit an excitation signal, and the others The boundary scan unit receives the corresponding response signal (step 250); and compares each response signal in each boundary scan network with its corresponding expected signal to output the diagnosis result of each boundary scan network (step 260).

透過上述步驟,即可透過每一CPU測試卡的第一回送線路的兩端分別連接另一個CPU測試卡與一個DIMM測試卡的邊界掃描單元,每一CPU測試卡的第二回送線路的兩端分別各自連接一個DIMM測試卡的邊界掃描單元,而產生多個邊界掃描線網;測試控制主機可執行診斷程序,以在每一邊界掃描線網中,任選其中一個邊界掃描單元使其發出激勵信號,其他邊界掃描單元分別接收對應的響應信號,並比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果。Through the above steps, you can connect another CPU test card and the boundary scan unit of a DIMM test card through both ends of the first loopback line of each CPU test card, and both ends of the second loopback line of each CPU test card Connect the boundary scan units of a DIMM test card respectively to generate multiple boundary scan line nets; the test control host can execute the diagnostic program to select one of the boundary scan units in each boundary scan line net to make it emit excitation Signals, other boundary scan units respectively receive corresponding response signals, and compare each response signal in each boundary scan line network with its corresponding expected signal to output the diagnosis result of each boundary scan line network.

其中,測試控制主機比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果的步驟可包括:當某一邊界掃描線網中僅一個響應信號不符合其對應的期望信號時,將接收不符合其對應的期望信號的響應信號的邊界掃描單元所對應連接的一個測試路徑引腳報錯,進而輸出該邊界掃描線網的該診斷結果;以及當某一邊界掃描線網中所有的該些響應信號皆不符合其對應的該些期望信號時,將該邊界掃描線網所包括的全部該些測試路徑引腳報錯,進而輸出該邊界掃描線網的該診斷結果。其中,若某一邊界掃描線網中多個測試路徑經過某一測試路徑引腳時,確認經過該測試路徑引腳的該些測試路徑是否測試通過,若經過該測試路徑引腳的該些測試路徑至少其中之一測試通過時,表示該測試路徑引腳測試通過;若經過該測試路徑引腳的該些測試路徑全部測試失敗時,則將該測試路徑引腳測試報錯。Wherein, the test control host compares each response signal in each boundary scan line network with its corresponding expected signal to output the diagnosis result of each boundary scan line network. The step may include: when there is only one boundary scan line network When the response signal does not meet the corresponding expected signal, a test path pin corresponding to the boundary scan unit that receives the response signal that does not meet the corresponding expected signal reports an error, and then outputs the diagnosis result of the boundary scan line network; And when all the response signals in a certain boundary scan line network do not meet the corresponding expected signals, all the test path pins included in the boundary scan line network report an error, and then output the boundary scan The diagnosis result of the network. Among them, if multiple test paths in a certain boundary scan line network pass through a certain test path pin, it is confirmed whether the test paths passing through the test path pin are tested, and if the test paths pass the test path pins. When at least one of the paths has passed the test, it means that the test path pins have passed the test; if all the test paths passing through the test path pins have failed the test, the test path pin test error will be reported.

此外,每一CPU測試卡上可設置有至少一邊界掃描晶片,當每一CPU測試卡插設於對應的CPU插槽時,該至少一邊界掃描晶片可連接該CPU插槽的多個接地引腳、多個電源引腳與多個控制輸入輸出引腳,以在測試控制主機透過TAP控制器對該些接地引腳、該些電源引腳與該些控制輸入輸出引腳進行邊界掃描測試時,提供邊界掃描所需的硬體資源。In addition, each CPU test card can be provided with at least one boundary scan chip. When each CPU test card is inserted into the corresponding CPU socket, the at least one boundary scan chip can be connected to multiple grounding leads of the CPU socket. Pins, multiple power pins, and multiple control input and output pins, so that the test control host performs boundary scan tests on the ground pins, the power pins, and the control input and output pins through the TAP controller. , Provide hardware resources required by boundary scan.

綜上所述,可知本發明與先前技術之間的差異在於透過每一CPU測試卡的第一回送線路的兩端分別連接另一個CPU測試卡與一個DIMM測試卡的邊界掃描單元,每一CPU測試卡的第二回送線路的兩端分別各自連接一個DIMM測試卡的邊界掃描單元,而產生多個邊界掃描線網;測試控制主機可執行診斷程序,以在每一邊界掃描線網中,任選其中一個邊界掃描單元使其發出激勵信號,其他邊界掃描單元接收對應的響應信號,並比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果,藉由此一技術手段可使本發明的CPU測試卡在原裝CPU的尺寸下以最大程度地節省測試資源,邊界掃描測試過程中無需頻繁更換CPU測試卡,且診斷過程清晰、方便,可以準確覆蓋所有故障的引腳。In summary, it can be seen that the difference between the present invention and the prior art is that the two ends of the first loopback line of each CPU test card are connected to the boundary scan unit of another CPU test card and a DIMM test card. The two ends of the second loopback line of the test card are respectively connected to the boundary scan unit of a DIMM test card to generate a plurality of boundary scan line nets; the test control host can execute the diagnostic program to perform any task in each boundary scan line net. Choose one of the boundary scan units to send out the excitation signal, and the other boundary scan units receive the corresponding response signals, and compare each response signal in each boundary scan line network with its corresponding expected signal to output each boundary scan line network With this technical means, the CPU test card of the present invention can save test resources to the greatest extent under the size of the original CPU. There is no need to replace the CPU test card frequently during the boundary scan test process, and the diagnosis process is clear and convenient. , Can accurately cover all faulty pins.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although the present invention is disclosed in the foregoing embodiments as above, it is not intended to limit the present invention. Anyone familiar with similar art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of patent protection shall be determined by the scope of the patent application attached to this specification.

50:待測主機板 52:CPU插槽 54:DIMM插槽 60:TAP控制器 110:CPU測試卡 112:第一回送線路 114:第二回送線路 116:邊界掃描晶片 120:DIMM測試卡 122:邊界掃描單元 130:測試控制主機 步驟210:提供待測主機板、多個CPU測試卡與多個DIMM測試卡,其中,待測主機板包括多個CPU插槽與多個DIMM插槽,該些CPU插槽之間透過多個QPI線路相連,該些CPU插槽與該些DIMM插槽之間透過多個輸入輸出線路相連,每一CPU測試卡包括多個第一回送線路與多個第二回送線路,每一DIMM測試卡包括至少一邊界掃描單元 步驟220:以一對一方式插設該些CPU測試卡於該些CPU插槽,使每一CPU測試卡的每一第一回送線路的兩端分別連接一個QPI線路與一個I/O線路,使每一CPU測試卡的每一第二回送線路的兩端分別各自連接一個I/O線路 步驟230:以一對一方式插設該些DIMM測試卡於該些DIMM插槽,使每一DIMM測試卡的至少一邊界掃描單元連接一個I/O線路 步驟240:依據該些CPU測試卡、該些DIMM測試卡與待測主機板之連接關係產生多個邊界掃描線網 步驟250:在每一邊界掃描線網中,任選該些邊界掃描單元其中之一使其發出激勵信號,其他該邊界掃描單元接收對應的響應信號 步驟260:比對每一邊界掃描線網中每一響應信號與其對應的期望信號,以輸出每一邊界掃描線網的診斷結果50: motherboard to be tested 52: CPU socket 54: DIMM slot 60: TAP controller 110: CPU test card 112: The first loopback line 114: second loopback line 116: Boundary scan wafer 120: DIMM test card 122: Boundary Scan Unit 130: Test control host Step 210: Provide a motherboard to be tested, a plurality of CPU test cards and a plurality of DIMM test cards, wherein the motherboard to be tested includes a plurality of CPU sockets and a plurality of DIMM sockets, and a plurality of CPU sockets pass through The QPI lines are connected. The CPU sockets and the DIMM sockets are connected through a plurality of input and output lines. Each CPU test card includes a plurality of first loopback lines and a plurality of second loopback lines. Each DIMM test card Includes at least one boundary scan unit Step 220: Insert the CPU test cards in the CPU sockets in a one-to-one manner, so that the two ends of each first loopback line of each CPU test card are respectively connected to a QPI line and an I/O line. Connect the two ends of each second loopback line of each CPU test card to an I/O line respectively Step 230: Insert the DIMM test cards in the DIMM slots in a one-to-one manner, so that at least one boundary scan unit of each DIMM test card is connected to an I/O line Step 240: Generate a plurality of boundary scan line nets according to the connection relationship between the CPU test cards, the DIMM test cards and the motherboard to be tested Step 250: In each boundary scan line network, select one of the boundary scan units to emit an excitation signal, and the other boundary scan units receive corresponding response signals Step 260: Compare each response signal in each boundary scan line network with its corresponding expected signal to output the diagnosis result of each boundary scan line network

第1圖為本發明邊界掃描測試系統之一實施例的結構示意圖。 第2圖為第1圖的邊界掃描測試系統執行邊界掃描測試方法之一實施例的方法流程圖。Figure 1 is a schematic structural diagram of an embodiment of the boundary scan test system of the present invention. FIG. 2 is a method flowchart of an embodiment of the boundary scan test method performed by the boundary scan test system of FIG. 1. FIG.

50:待測主機板50: motherboard to be tested

52:CPU插槽52: CPU socket

54:DIMM插槽54: DIMM slot

60:TAP控制器60: TAP controller

110:CPU測試卡110: CPU test card

112:第一回送線路112: The first loopback line

114:第二回送線路114: second loopback line

116:邊界掃描晶片116: Boundary scan wafer

120:DIMM測試卡120: DIMM test card

122:邊界掃描單元122: Boundary Scan Unit

130:測試控制主機130: Test control host

Claims (8)

一種邊界掃描測試系統,用以對一待測主機板進行邊界掃描測試,該待測主機板包括多個中央處理單元(Central Processing Unit,CPU)插槽與多個雙列直插式記憶體模組(Dual In-Line Memory Modules,DIMM)插槽,該些CPU插槽之間透過多個快速通道互聯(Quick Path Interconnect,QPI)線路相連,該些CPU插槽與該些DIMM插槽之間透過多個輸入輸出(I/O)線路相連,該邊界掃描測試系統包括: 多個CPU測試卡(test card),用以依據一對一方式插設於該些CPU插槽,每一該CPU測試卡包括多個第一回送線路與多個第二回送線路,每一該CPU測試卡的每一該第一回送線路的兩端分別連接一個該QPI線路與一個該I/O線路,每一該CPU測試卡的每一該第二回送線路的兩端分別各自連接一個該I/O線路; 多個DIMM測試卡,用以依據一對一方式插設於該些DIMM插槽,每一該DIMM測試卡包括至少一邊界掃描單元,每一該DIMM測試卡的該至少一邊界掃描單元連接一個該I/O線路;以及 一測試控制主機,用以依據該些CPU測試卡、該些DIMM測試卡與該待測主機板之連接關係產生多個邊界掃描線網,以及執行一診斷程序,以在每一該邊界掃描線網中,任選該些邊界掃描單元其中之一使其發出一激勵信號,其他該邊界掃描單元接收對應的一響應信號,並比對每一該邊界掃描線網中每一該響應信號與其對應的一期望信號,以輸出每一該邊界掃描線網的一診斷結果。A boundary scan test system for performing boundary scan testing on a motherboard to be tested. The motherboard to be tested includes a plurality of central processing unit (CPU) slots and a plurality of dual in-line memory modules. Group (Dual In-Line Memory Modules, DIMM) sockets, these CPU sockets are connected through multiple Quick Path Interconnect (QPI) lines, between the CPU sockets and the DIMM sockets Connected through multiple input and output (I/O) lines, the boundary scan test system includes: A plurality of CPU test cards (test cards) are used to be inserted into the CPU sockets in a one-to-one manner. Each CPU test card includes a plurality of first loopback lines and a plurality of second loopback lines. Both ends of each first loopback line of the CPU test card are respectively connected to one of the QPI line and one of the I/O lines, and both ends of each second loopback line of each of the CPU test cards are respectively connected to one of the two ends of the second loopback line. I/O lines; A plurality of DIMM test cards for inserting into the DIMM slots in a one-to-one manner, each of the DIMM test cards includes at least one boundary scan unit, and the at least one boundary scan unit of each DIMM test card is connected to one The I/O line; and A test control host is used to generate a plurality of boundary scan line nets according to the connection relationship between the CPU test cards, the DIMM test cards and the motherboard under test, and execute a diagnostic program to perform a diagnostic procedure on each of the boundary scan lines In the network, select one of the boundary scan units to emit an excitation signal, and the other boundary scan units receive a corresponding response signal, and compare each response signal in each boundary scan line network with its corresponding To output a diagnosis result of each boundary scan line network. 依據申請專利範圍第1項所述之邊界掃描測試系統,其中,每一該邊界掃描線網包括多個測試路徑引腳,該測試控制主機比對每一該邊界掃描線網中每一該響應信號與其對應的該期望信號,以輸出每一該邊界掃描線網的該診斷結果時包括以下步驟: 當某一該邊界掃描線網中僅一個該響應信號不符合其對應的該期望信號時,將接收不符合其對應的該期望信號的該響應信號的該邊界掃描單元所對應連接的一個該測試路徑引腳報錯,進而輸出該邊界掃描線網的該診斷結果; 其中,若某一該邊界掃描線網中多個測試路徑經過某一該測試路徑引腳時,確認經過該測試路徑引腳的該些測試路徑是否測試通過,若經過該測試路徑引腳的該些測試路徑至少其中之一測試通過時,表示該測試路徑引腳測試通過;若經過該測試路徑引腳的該些測試路徑全部測試失敗時,則將該測試路徑引腳測試報錯。According to the boundary scan test system described in item 1 of the scope of patent application, wherein each boundary scan line network includes a plurality of test path pins, and the test control host compares each response in each boundary scan line network The signal and the corresponding expected signal to output the diagnosis result of each boundary scan line network includes the following steps: When only one of the response signals in a certain boundary scan line network does not meet the corresponding expected signal, a test corresponding to the boundary scan unit that receives the response signal that does not meet the corresponding expected signal will be received The path pin reports an error, and then outputs the diagnosis result of the boundary scan line network; Wherein, if multiple test paths in a certain boundary scan line network pass through a certain test path pin, it is confirmed whether the test paths passing through the test path pin pass the test, if the test path passing through the test path pin When at least one of the test paths passes the test, it means that the test path pins pass the test; if all the test paths passing through the test path pins fail the test, an error is reported for the test path pins. 依據申請專利範圍第1項所述之邊界掃描測試系統,其中,每一該邊界掃描線網包括多個測試路徑引腳,該測試控制主機比對每一該邊界掃描線網中每一該響應信號與其對應的該期望信號,以輸出每一該邊界掃描線網的該診斷結果時包括以下步驟: 當某一該邊界掃描線網中所有的該些響應信號皆不符合其對應的該些期望信號時,將該邊界掃描線網所包括的全部該些測試路徑引腳報錯,進而輸出該邊界掃描線網的該診斷結果; 其中,若某一該邊界掃描線網中多個測試路徑經過某一該測試路徑引腳時,確認經過該測試路徑引腳的該些測試路徑是否測試通過,若經過該測試路徑引腳的該些測試路徑至少其中之一測試通過時,表示該測試路徑引腳測試通過;若經過該測試路徑引腳的該些測試路徑全部測試失敗時,則將該測試路徑引腳測試報錯。According to the boundary scan test system described in item 1 of the scope of patent application, wherein each boundary scan line network includes a plurality of test path pins, and the test control host compares each response in each boundary scan line network The signal and the corresponding expected signal to output the diagnosis result of each boundary scan line network includes the following steps: When all the response signals in a certain boundary scan line network do not meet the corresponding expected signals, all the test path pins included in the boundary scan line network report an error, and then output the boundary scan The diagnosis result of the network; Wherein, if multiple test paths in a certain boundary scan line network pass through a certain test path pin, it is confirmed whether the test paths passing through the test path pin pass the test, if the test path passing through the test path pin When at least one of the test paths passes the test, it means that the test path pins pass the test; if all the test paths passing through the test path pins fail the test, an error is reported for the test path pins. 依據申請專利範圍第1項所述之邊界掃描測試系統,其中,每一該CPU測試卡上設置有至少一邊界掃描晶片,當每一該CPU測試卡插設於對應的該CPU插槽時,該至少一邊界掃描晶片連接該CPU插槽的多個接地(GND)引腳、多個電源(Power)引腳與多個控制輸入輸出(Control I/O)引腳。According to the boundary scan test system described in item 1 of the scope of patent application, wherein each CPU test card is provided with at least one boundary scan chip, and when each CPU test card is inserted into the corresponding CPU slot, The at least one boundary scan chip is connected to a plurality of ground (GND) pins, a plurality of power (Power) pins and a plurality of control input and output (Control I/O) pins of the CPU socket. 一種邊界掃描測試方法,其包括以下步驟: 提供一待測主機板、多個CPU測試卡與多個DIMM測試卡,其中,該待測主機板包括多個CPU插槽與多個DIMM插槽,該些CPU插槽之間透過多個QPI線路相連,該些CPU插槽與該些DIMM插槽之間透過多個輸入輸出線路相連,每一該CPU測試卡包括多個第一回送線路與多個第二回送線路,每一該DIMM測試卡包括至少一邊界掃描單元; 以一對一方式插設該些CPU測試卡於該些CPU插槽,使每一該CPU測試卡的每一該第一回送線路的兩端分別連接一個該QPI線路與一個該I/O線路,使每一該CPU測試卡的每一該第二回送線路的兩端分別各自連接一個該I/O線路; 以一對一方式插設該些DIMM測試卡於該些DIMM插槽,使每一該DIMM測試卡的該至少一邊界掃描單元連接一個該I/O線路; 依據該些CPU測試卡、該些DIMM測試卡與該待測主機板之連接關係產生多個邊界掃描線網; 在每一該邊界掃描線網中,任選該些邊界掃描單元其中之一使其發出一激勵信號,其他該邊界掃描單元接收對應的一響應信號;以及 比對每一該邊界掃描線網中每一該響應信號與其對應的一期望信號,以輸出每一該邊界掃描線網的一診斷結果。A boundary scan test method, which includes the following steps: Provide a motherboard under test, multiple CPU test cards and multiple DIMM test cards, where the motherboard under test includes multiple CPU slots and multiple DIMM slots, and multiple QPIs are passed between the CPU slots The CPU sockets and the DIMM sockets are connected through a plurality of input and output lines. Each CPU test card includes a plurality of first loopback lines and a plurality of second loopback lines, and each DIMM test card includes a plurality of first loopback lines and a plurality of second loopback lines. The card includes at least one boundary scan unit; Insert the CPU test cards in the CPU slots in a one-to-one manner, so that the two ends of each first loopback line of each CPU test card are respectively connected to one QPI line and one I/O line , So that both ends of each second loopback line of each CPU test card are respectively connected to one I/O line; Inserting the DIMM test cards in the DIMM slots in a one-to-one manner, so that the at least one boundary scan unit of each DIMM test card is connected to the I/O line; Generating a plurality of boundary scan line nets according to the connection relationship between the CPU test cards, the DIMM test cards and the motherboard to be tested; In each boundary scan line network, select one of the boundary scan units to send out an excitation signal, and the other boundary scan units receive a corresponding response signal; and Compare each response signal in each boundary scan line network with a corresponding expected signal to output a diagnosis result of each boundary scan line network. 依據申請專利範圍第5項所述之邊界掃描測試方法,其中,每一該邊界掃描線網包括多個測試路徑引腳,在比對每一該邊界掃描線網中每一該響應信號與其對應的該期望信號,以輸出每一該邊界掃描線網的該診斷結果的步驟包括: 當某一該邊界掃描線網中僅一個該響應信號不符合其對應的該期望信號時,將接收不符合其對應的該期望信號的該響應信號的該邊界掃描單元所對應連接的一個該測試路徑引腳報錯,進而輸出該邊界掃描線網的該診斷結果; 其中,若某一該邊界掃描線網中多個測試路徑經過某一該測試路徑引腳時,確認經過該測試路徑引腳的該些測試路徑是否測試通過,若經過該測試路徑引腳的該些測試路徑至少其中之一測試通過時,表示該測試路徑引腳測試通過;若經過該測試路徑引腳的該些測試路徑全部測試失敗時,則將該測試路徑引腳測試報錯。According to the boundary scan test method described in item 5 of the scope of patent application, wherein each boundary scan line network includes a plurality of test path pins, and each of the response signals in each boundary scan line network is compared with its corresponding The step of outputting the diagnosis result of each boundary scan line network of the expected signal includes: When only one of the response signals in a certain boundary scan line network does not meet the corresponding expected signal, a test corresponding to the boundary scan unit that receives the response signal that does not meet the corresponding expected signal will be received The path pin reports an error, and then outputs the diagnosis result of the boundary scan line network; Wherein, if multiple test paths in a certain boundary scan line network pass through a certain test path pin, it is confirmed whether the test paths passing through the test path pin pass the test, if the test path passing through the test path pin When at least one of the test paths passes the test, it means that the test path pins pass the test; if all the test paths passing through the test path pins fail the test, an error is reported for the test path pins. 依據申請專利範圍第5項所述之邊界掃描測試方法,其中,每一該邊界掃描線網包括多個測試路徑引腳,在比對每一該邊界掃描線網中每一該響應信號與其對應的該期望信號,以輸出每一該邊界掃描線網的該診斷結果的步驟包括: 當某一該邊界掃描線網中所有的該些響應信號皆不符合其對應的該些期望信號時,將該邊界掃描線網所包括的全部該些測試路徑引腳報錯,進而輸出該邊界掃描線網的該診斷結果; 其中,若某一該邊界掃描線網中多個測試路徑經過某一該測試路徑引腳時,確認經過該測試路徑引腳的該些測試路徑是否測試通過,若經過該測試路徑引腳的該些測試路徑至少其中之一測試通過時,表示該測試路徑引腳測試通過;若經過該測試路徑引腳的該些測試路徑全部測試失敗時,則將該測試路徑引腳測試報錯。According to the boundary scan test method described in item 5 of the scope of patent application, wherein each boundary scan line network includes a plurality of test path pins, and each of the response signals in each boundary scan line network is compared with its corresponding The step of outputting the diagnosis result of each boundary scan line network of the expected signal includes: When all the response signals in a certain boundary scan line network do not meet the corresponding expected signals, all the test path pins included in the boundary scan line network report an error, and then output the boundary scan The diagnosis result of the network; Wherein, if multiple test paths in a certain boundary scan line network pass through a certain test path pin, it is confirmed whether the test paths passing through the test path pin pass the test, if the test path passing through the test path pin When at least one of the test paths passes the test, it means that the test path pins pass the test; if all the test paths passing through the test path pins fail the test, an error is reported for the test path pins. 依據申請專利範圍第5項所述之邊界掃描測試方法,其中,每一該CPU測試卡上設置有至少一邊界掃描晶片,當每一該CPU測試卡插設於對應的該CPU插槽時,該至少一邊界掃描晶片連接該CPU插槽的多個接地引腳、多個電源引腳與多個控制輸入輸出引腳。According to the boundary scan test method described in item 5 of the scope of patent application, at least one boundary scan chip is arranged on each of the CPU test cards, and when each of the CPU test cards is inserted into the corresponding CPU slot, The at least one boundary scan chip is connected to multiple ground pins, multiple power pins, and multiple control input and output pins of the CPU socket.
TW108133808A 2019-09-19 2019-09-19 Boundary scan test system and method thereof TWI708954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108133808A TWI708954B (en) 2019-09-19 2019-09-19 Boundary scan test system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108133808A TWI708954B (en) 2019-09-19 2019-09-19 Boundary scan test system and method thereof

Publications (2)

Publication Number Publication Date
TWI708954B TWI708954B (en) 2020-11-01
TW202113385A true TW202113385A (en) 2021-04-01

Family

ID=74202102

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108133808A TWI708954B (en) 2019-09-19 2019-09-19 Boundary scan test system and method thereof

Country Status (1)

Country Link
TW (1) TWI708954B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI783549B (en) * 2021-06-24 2022-11-11 英業達股份有限公司 Improving test coverage rate system for pin of tested circuit board and method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014039922A2 (en) * 2012-09-06 2014-03-13 Pi-Coral, Inc. Large-scale data storage and delivery system
TW201710699A (en) * 2015-09-08 2017-03-16 英業達股份有限公司 Detecting apparatus for CPU slot connection of motherboard based on boundary scan and method thereof
CN109901045A (en) * 2017-12-08 2019-06-18 英业达科技有限公司 The connector plugging slot pin conduction detecting system and its method of circuit board
TWI749124B (en) * 2017-12-15 2021-12-11 英業達股份有限公司 Peripheral component interconnect express slot detection system and method thereof
TWM577498U (en) * 2018-02-13 2019-05-01 緯創資通股份有限公司 Electronic apparatus

Also Published As

Publication number Publication date
TWI708954B (en) 2020-11-01

Similar Documents

Publication Publication Date Title
EP1266236B1 (en) System and method for testing signal interconnections using built-in self test
US7356737B2 (en) System, method and storage medium for testing a memory module
US20090158093A1 (en) Motherboard tester
US7944223B2 (en) Burn-in testing system
JP2006208378A (en) On-chip circuit for inspecting bus
TWI461715B (en) Testing apparatus and testing method of electronic device
US9998350B2 (en) Testing device and testing method
US10684930B2 (en) Functional testing of high-speed serial links
TWI708954B (en) Boundary scan test system and method thereof
US20030079165A1 (en) Effective use of parallel scan for identically instantiated sequential blocks
US10810338B1 (en) Method and device for generating boundary-scan interconnection lines
US11009547B2 (en) Device and method for testing a computer system
US7855571B2 (en) Testing circuit board for preventing tested chip positions from being wrongly positioned
TWI707355B (en) System for testing memory module via internal links of the memory module and method thereof
TWI739486B (en) Backplane testing system and method thereof
US6459290B1 (en) Test apparatus of integrated circuit
CN111752780B (en) Self-adaptive interconnection system and method for JTAG (joint test action group) components of server
CN112462246A (en) Boundary scan test system and method thereof
TWI637177B (en) System and method for testing semiconductor elements
US7478005B2 (en) Technique for testing interconnections between electronic components
TWI785923B (en) Jtag adapter circuit board
JP2005043202A (en) Failure detection device and failure detection method
TW202123009A (en) Functional verification system for boundary scan test controller and method thereof
TW202113384A (en) Method and device for generating boundary-scan interconnection lines
US7079983B2 (en) Method, apparatus and computer program product for implementing physical interconnect fault source identification