TWI815725B - Computer system - Google Patents

Computer system Download PDF

Info

Publication number
TWI815725B
TWI815725B TW111143047A TW111143047A TWI815725B TW I815725 B TWI815725 B TW I815725B TW 111143047 A TW111143047 A TW 111143047A TW 111143047 A TW111143047 A TW 111143047A TW I815725 B TWI815725 B TW I815725B
Authority
TW
Taiwan
Prior art keywords
multiplexer
output
memory
electrically connected
terminals
Prior art date
Application number
TW111143047A
Other languages
Chinese (zh)
Other versions
TW202420093A (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 TW111143047A priority Critical patent/TWI815725B/en
Application granted granted Critical
Publication of TWI815725B publication Critical patent/TWI815725B/en
Publication of TW202420093A publication Critical patent/TW202420093A/en

Links

Images

Landscapes

  • Iron Core Of Rotating Electric Machines (AREA)

Abstract

A computer system includes a CPLD including a serial transmission interface, a set of specific signal pins, a set of power input pins, a first multiplexer, an embedded CPU, a first memory, a second multiplexer, a third memory, and a first control unit. The first control unit controls the first multiplexer, the second multiplexer, or the embedded CPU so that a plurality of specific signals of the specific signal pins, a plurality of power supply voltage signals of the power input pins, or the data of the first memory pass through the first multiplexer, the second multiplexer, the third memory, the serial transmission interface, and a high-speed interface conversion device are output to a test host based on a test command from the test host.

Description

電腦系統computer system

本發明是有關於一種電腦系統,特別是指一種具備彈性的偵錯機制的電腦系統。The present invention relates to a computer system, and in particular, to a computer system with a flexible debugging mechanism.

參閱圖1,現有的電腦系統例如是一伺服器,並適用於一低速介面轉換裝置80及一測試主機9,且包含一主板7,及設置在該主板7上的一複雜可程式邏輯裝置(CPLD)1、一基本輸入輸出系統(BIOS)2、一基板管理控制器(BMC)3,一電源轉換器(Voltage regulator)5、一中央處理器(CPU)4、與一連接器6。該複雜可程式邏輯裝置1包括一第一控制單元93、一多工器(Mux)92、一序列傳收介面91、一組電源輸入接腳98、一組特定信號接腳99、一嵌入式中央處理器(Embedded CPU)94、一第一記憶體95至一第三記憶體90、及一第二控制單元96。該測試主機9例如是一電腦主機,並以通用序列匯流排的介面而電連接該低速介面轉換裝置80。該低速介面轉換裝置80用於將積體匯流排電路(I2C)與通用序列匯流排(USB)兩種介面之間的信號作轉換與傳收。Referring to Figure 1, the existing computer system is, for example, a server and is suitable for a low-speed interface conversion device 80 and a test host 9, and includes a motherboard 7 and a complex programmable logic device ( CPLD) 1, a basic input and output system (BIOS) 2, a baseboard management controller (BMC) 3, a power converter (Voltage regulator) 5, a central processing unit (CPU) 4, and a connector 6. The complex programmable logic device 1 includes a first control unit 93, a multiplexer (Mux) 92, a sequence transmission interface 91, a set of power input pins 98, a set of specific signal pins 99, an embedded Central processing unit (Embedded CPU) 94, a first memory 95 to a third memory 90, and a second control unit 96. The test host 9 is, for example, a computer host, and is electrically connected to the low-speed interface conversion device 80 through a universal serial bus interface. The low-speed interface conversion device 80 is used for converting and transmitting signals between two interfaces: integrated bus circuit (I2C) and universal serial bus (USB).

該第一記憶體95是一種內部的快閃記憶體(Flash),並用於提供該嵌入式中央處理器94作資料的存取。該第二控制單元96藉由系統管理匯流排(SMBus)的介面,將來自該基本輸入輸出系統2及該基板管理控制器3的信號(如Mailbox的暫存器)儲存於該第二記憶體97,該第二記憶體97是一種內部的隨機記憶體(RAM)。該電源轉換器5用於提供在該主板7上的各個元件運作所需的各種不同電壓大小的電源。這組電源輸入接腳98及這組特定信號接腳99例如是接收該基板管理控制器3、該中央處理器4、一系統記憶體(圖未示)、及一晶片組(PCH)(圖未示)的各個電源電壓信號及各個電源重啟信號(Reset)。The first memory 95 is an internal flash memory (Flash) and is used to provide the embedded central processor 94 with data access. The second control unit 96 stores the signals from the basic input and output system 2 and the baseboard management controller 3 (such as the register of the Mailbox) in the second memory through the system management bus (SMBus) interface. 97. The second memory 97 is an internal random access memory (RAM). The power converter 5 is used to provide power supplies with various voltages required for operation of various components on the motherboard 7 . The set of power input pins 98 and the set of specific signal pins 99 are, for example, used to receive the baseboard management controller 3, the central processing unit 4, a system memory (not shown), and a chipset (PCH) (Fig. (not shown) each power supply voltage signal and each power supply reset signal (Reset).

習知的該電腦系統收限於該第三記憶體90的空間大小,通常只能將這組電源輸入接腳98之其中小部分(如32根接腳)的信號在開機的過程中,將事先選定的32個電源電壓信號在邏輯0與1的時序變化儲存於該第三記憶體90中。該第一控制單元93能夠經由該低速介面轉換裝置80及該序列傳收介面91,接收來自該測試主機9的指令,以控制該多工器92選擇將該第三記憶體90所儲存的32個電源電壓信號的時序變化經由該序列傳收介面91及該低速介面轉換裝置80而輸出至該測試主機9,或者,選擇將這組特定信號接腳99之其中事先設定的部分者經由該序列傳收介面91及該低速介面轉換裝置80而即時地輸出至該測試主機9。然而,是否存有其他更具彈性的偵錯機制的電腦系統便成為一個待解決的問題。The conventional computer system is limited by the space size of the third memory 90, and usually can only input signals from a small part (such as 32 pins) of the set of power input pins 98 in advance during the boot process. The timing changes of the selected 32 power supply voltage signals in logic 0 and 1 are stored in the third memory 90 . The first control unit 93 can receive instructions from the test host 9 through the low-speed interface conversion device 80 and the serial transmission and reception interface 91 to control the multiplexer 92 to select the 32 data stored in the third memory 90 The timing changes of the power supply voltage signal are output to the test host 9 through the sequence transmission interface 91 and the low-speed interface conversion device 80, or a preset part of the specific signal pins 99 is selected to be transmitted through the sequence The transmission and reception interface 91 and the low-speed interface conversion device 80 are output to the test host 9 in real time. However, whether there are other computer systems with more flexible debugging mechanisms has become a problem to be solved.

因此,本發明的目的,即在提供一種具備彈性的偵錯機制的電腦系統。Therefore, an object of the present invention is to provide a computer system with a flexible debugging mechanism.

於是,本發明之一觀點,提供一種電腦系統,適用於一高速介面轉換裝置及一測試主機,並包含一複雜可程式邏輯裝置、一基本輸入輸出系統(BIOS)、一基板管理控制器(BMC)、及一中央處理器。該複雜可程式邏輯裝置包含一序列傳收介面、一組特定信號接腳、一組電源輸入接腳、一第一多工器、一嵌入式中央處理器、一第一記憶體、一第二多工器、一第三記憶體、及一第一控制單元。Therefore, one aspect of the present invention provides a computer system suitable for a high-speed interface conversion device and a test host, and includes a complex programmable logic device, a basic input and output system (BIOS), and a baseboard management controller (BMC). ), and a central processing unit. The complex programmable logic device includes a serial transmission interface, a set of specific signal pins, a set of power input pins, a first multiplexer, an embedded central processing unit, a first memory, a second A multiplexer, a third memory, and a first control unit.

該序列傳收介面電連接該高速介面轉換裝置。前述這組特定信號接腳接收來自該基本輸入輸出系統、該基板管理控制器、及該中央處理器的多個特定信號。前述這組電源輸入接腳接收多個電源電壓信號。該第一多工器包括電連接該序列傳收介面的一組輸出端、一組第一端、電連接前述這組特定信號接腳以接收該等特定信號的一組第二端、及一控制端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端。The serial transmission and reception interface is electrically connected to the high-speed interface conversion device. The aforementioned set of specific signal pins receives a plurality of specific signals from the basic input output system, the baseboard management controller, and the central processing unit. The aforementioned set of power input pins receives multiple power voltage signals. The first multiplexer includes a set of output ends electrically connected to the sequence transmission interface, a set of first ends, a set of second ends electrically connected to the set of specific signal pins to receive the specific signals, and a set of The control end selects the signal of the aforementioned set of first ends or the aforementioned set of second ends according to the signal received by the control end and outputs it to the aforementioned set of output ends.

該第一記憶體電連接該嵌入式中央處理器,並用於提供該嵌入式中央處理器存取資料。該第二多工器包括電連接前述這組電源輸入接腳以接收該等電源電壓信號的一組第一端、電連接該嵌入式中央處理器的一組第二端、一控制端、及一組輸出端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端。該第三記憶體電連接該第二多工器的前述這組輸出端,以儲存前述這組輸出端所輸出的資料,並電連接該第一多工器的前述這組第一端,以輸出所儲存的資料至前述這組第一端。The first memory is electrically connected to the embedded CPU and used to provide the embedded CPU with access to data. The second multiplexer includes a set of first ends electrically connected to the aforementioned set of power input pins to receive the power supply voltage signals, a set of second ends electrically connected to the embedded CPU, a control end, and A group of output terminals, and according to the signal received by the control terminal, the signal of the aforementioned group of first terminals or the aforementioned group of second terminals is selected and output to the aforementioned group of output terminals. The third memory is electrically connected to the aforementioned set of output terminals of the second multiplexer to store the data output by the aforementioned set of output terminals, and is electrically connected to the aforementioned set of first terminals of the first multiplexer to store the data output by the aforementioned set of output terminals. Output the stored data to the first end of the aforementioned group.

該第一控制單元電連接該序列傳收介面、該第一多工器的該控制端、該第二多工器的該控制端、及該嵌入式中央處理器,並經由該高速介面轉換裝置及該序列傳收介面,接收來自該測試主機的一測試指令。The first control unit is electrically connected to the serial transmission and reception interface, the control end of the first multiplexer, the control end of the second multiplexer, and the embedded central processor, and passes through the high-speed interface conversion device and the sequence transmission and reception interface receives a test command from the test host.

該第一控制單元根據該測試指令,控制該第一多工器使得該等特定信號經由該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,控制該第二多工器及該第一多工器使得該等電源電壓信號經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,控制該嵌入式中央處理器將該第一記憶體的資料輸出至該第二多工器的前述這組第二端,並控制該第二多工器及該第一多工器使得該第一記憶體的資料經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first control unit controls the first multiplexer according to the test instruction so that the specific signals are output to the test host through the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device, or , controlling the second multiplexer and the first multiplexer so that the power supply voltage signals pass through the second multiplexer, the third memory, the first multiplexer, the serial transmission and reception interface, and the The high-speed interface conversion device outputs to the test host, or controls the embedded central processor to output the data of the first memory to the aforementioned set of second terminals of the second multiplexer, and controls the second multiplexer. The multiplexer and the first multiplexer allow the data of the first memory to pass through the second multiplexer, the third memory, the first multiplexer, the serial transmission interface, and the high-speed interface conversion device And output to the test host.

在一些實施態樣中,其中,該複雜可程式邏輯裝置還包含一第二控制單元,及電連接該第二控制單元的一第二記憶體。該第二控制單元藉由系統管理匯流排的介面電連接該基本輸入輸出系統及該基板管理控制器,以將對應該基本輸入輸出系統及該基板管理控制器的資料儲存於該第二記憶體。In some implementations, the complex programmable logic device further includes a second control unit, and a second memory electrically connected to the second control unit. The second control unit is electrically connected to the basic input output system and the baseboard management controller through the interface of the system management bus, so as to store the data of the basic input output system and the baseboard management controller in the second memory. .

該第二多工器還包括電連接該第二控制單元的一組第三端,並根據該控制端所接收的信號以選擇前述這組第一端、前述這組第二端、或前述這組第三端的信號而輸出至前述這組輸出端。The second multiplexer also includes a group of third terminals electrically connected to the second control unit, and selects the aforementioned group of first terminals, the aforementioned group of second terminals, or the aforementioned group of terminals according to the signal received by the control terminal. The signal of the third terminal is grouped and output to the aforementioned group of output terminals.

該第一控制單元還電連接該第二控制單元,並根據該測試指令,還能夠控制該第二控制單元將該第二記憶體的資料輸出至該第二多工器的前述這組第三端,並控制該第二多工器及該第一多工器使得該第二記憶體的資料經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first control unit is also electrically connected to the second control unit, and according to the test instruction, can also control the second control unit to output the data of the second memory to the aforementioned set of third groups of the second multiplexer. terminal, and controls the second multiplexer and the first multiplexer so that the data of the second memory passes through the second multiplexer, the third memory, the first multiplexer, and the sequence interface, and the high-speed interface conversion device and output to the test host.

在一些實施態樣中,其中,該中央處理器經由一連接器接收一組背板硬碟信號。該複雜可程式邏輯裝置還包含一接收器位址解碼器,該接收器位址解碼器包括藉由系統管理匯流排的介面電連接該中央處理器以接收前述這組背板硬碟信號的一組輸入端、一組輸出端、及電連接該第一控制單元的一控制端。In some implementations, the CPU receives a set of backplane hard drive signals via a connector. The complex programmable logic device also includes a receiver address decoder. The receiver address decoder includes a device electrically connected to the CPU through an interface of the system management bus to receive the aforementioned set of backplane hard disk signals. A set of input terminals, a set of output terminals, and a control terminal electrically connected to the first control unit.

該第二多工器還包括電連接該接收器位址解碼器的前述這組輸出端的一組第四端,並根據該控制端所接收的信號以選擇前述這組第一端、前述這組第二端、前述這組第三端、或前述這組第四端的信號而輸出至前述這組輸出端。The second multiplexer also includes a set of fourth terminals electrically connected to the aforementioned set of output terminals of the receiver address decoder, and selects the aforementioned set of first ends, the aforementioned set of output terminals according to the signal received by the control terminal. The signals from the second terminal, the aforementioned group of third terminals, or the aforementioned group of fourth terminals are output to the aforementioned group of output terminals.

該第一控制單元電連接該接收器位址解碼器,並根據該測試指令,還能夠控制該接收器位址解碼器將前述這組背板硬碟信號輸出至該第二多工器的前述這組第四端,並控制該第二多工器及該第一多工器使得前述這組背板硬碟信號經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first control unit is electrically connected to the receiver address decoder, and according to the test command, can also control the receiver address decoder to output the aforementioned set of backplane hard disk signals to the aforementioned set of backplane hard disk signals of the second multiplexer. This set of fourth terminals controls the second multiplexer and the first multiplexer so that the aforementioned set of backplane hard disk signals passes through the second multiplexer, the third memory, and the first multiplexer. , the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host.

於是,本發明之另一觀點,提供一種電腦系統,適用於一高速介面轉換裝置及一測試主機,並包含一複雜可程式邏輯裝置、一外掛記憶體、一基本輸入輸出系統、一基板管理控制器、及一中央處理器。該複雜可程式邏輯裝置包含一序列傳收介面、一組特定信號接腳、一組電源輸入接腳、一第一多工器、一嵌入式中央處理器、一第一緩衝器、一第二緩衝器、一記憶體控制器、及一第一控制單元。Therefore, another aspect of the present invention provides a computer system suitable for a high-speed interface conversion device and a test host, and includes a complex programmable logic device, an external memory, a basic input and output system, and a substrate management control device, and a central processing unit. The complex programmable logic device includes a serial transmission interface, a set of specific signal pins, a set of power input pins, a first multiplexer, an embedded central processing unit, a first buffer, and a second buffer, a memory controller, and a first control unit.

該序列傳收介面電連接該高速介面轉換裝置。前述這組特定信號接腳接收來自該基本輸入輸出系統、該基板管理控制器、及該中央處理器的多個特定信號。前述這組電源輸入接腳接收多個電源電壓信號。該第一多工器包括電連接該序列傳收介面的一組輸出端、一組第一端、電連接前述這組特定信號接腳以接收該等特定信號的一組第二端、及一控制端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端。The serial transmission and reception interface is electrically connected to the high-speed interface conversion device. The aforementioned set of specific signal pins receives a plurality of specific signals from the basic input output system, the baseboard management controller, and the central processing unit. The aforementioned set of power input pins receives multiple power voltage signals. The first multiplexer includes a set of output ends electrically connected to the sequence transmission interface, a set of first ends, a set of second ends electrically connected to the set of specific signal pins to receive the specific signals, and a set of The control end selects the signal of the aforementioned set of first ends or the aforementioned set of second ends according to the signal received by the control end and outputs it to the aforementioned set of output ends.

該第一緩衝器電連接前述這組電源輸入接腳以接收該等電源電壓信號,且作緩衝後而輸出。該第二緩衝器電連接該第一多工器的前述這組第一端以在作緩衝後而輸出所接收的資料。該記憶體控制器電連接該第一緩衝器、該第二緩衝器、及該外掛記憶體,並受控制以將來自該第一緩衝器的資料儲存至該外掛記憶體,及將該外掛記憶體所儲存的資料輸出至該第二緩衝器。The first buffer is electrically connected to the aforementioned set of power input pins to receive the power voltage signals, buffer them and then output them. The second buffer is electrically connected to the aforementioned set of first terminals of the first multiplexer to output the received data after buffering. The memory controller is electrically connected to the first buffer, the second buffer, and the plug-in memory, and is controlled to store data from the first buffer to the plug-in memory, and to store data from the plug-in memory. The data stored in the body is output to the second buffer.

第一控制單元電連接該序列傳收介面、該第一多工器的該控制端、及該記憶體控制器,並經由該高速介面轉換裝置及該序列傳收介面,接收來自該測試主機的一測試指令。The first control unit is electrically connected to the serial transmission and reception interface, the control end of the first multiplexer, and the memory controller, and receives data from the test host through the high-speed interface conversion device and the serial transmission and reception interface. A test command.

該第一控制單元根據該測試指令控制該第一多工器使得該等特定信號經由該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,控制該記憶體控制器及該第一多工器使得該等電源電壓信號經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first control unit controls the first multiplexer according to the test command so that the specific signals are output to the test host through the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device, or, The memory controller and the first multiplexer are controlled so that the power supply voltage signals pass through the first buffer, the memory controller, the plug-in memory, the second buffer, the first multiplexer, The serial transmission and reception interface and the high-speed interface conversion device are output to the test host.

在一些實施態樣中,其中,該複雜可程式邏輯裝置還包含一嵌入式中央處理器及一第一記憶體,該第一記憶體電連接該嵌入式中央處理器,並用於提供該嵌入式中央處理器存取資料。In some implementations, the complex programmable logic device further includes an embedded central processing unit and a first memory. The first memory is electrically connected to the embedded central processing unit and is used to provide the embedded central processing unit. The central processing unit accesses data.

該第一緩衝器還電連接該嵌入式中央處理器以接收所輸出的資料,且作緩衝後而輸出。該第一控制單元還電連接該嵌入式中央處理器,並根據該測試指令,還能夠控制該嵌入式中央處理器將該第一記憶體的資料輸出至該第一緩衝器,並控制該記憶體控制器及該第一多工器使得該第一記憶體的資料經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first buffer is also electrically connected to the embedded CPU to receive the output data, buffer it and then output it. The first control unit is also electrically connected to the embedded central processor, and according to the test instruction, can also control the embedded central processor to output the data of the first memory to the first buffer, and control the memory The bank controller and the first multiplexer cause the data of the first memory to pass through the first buffer, the memory controller, the plug-in memory, the second buffer, the first multiplexer, the The serial transmission and reception interface and the high-speed interface conversion device are output to the test host.

在一些實施態樣中,其中,該複雜可程式邏輯裝置還包含一第二控制單元及電連接該第二控制單元的一第二記憶體。該第二控制單元藉由系統管理匯流排的介面電連接該基本輸入輸出系統及該基板管理控制器,以將對應該基本輸入輸出系統及該基板管理控制器的資料儲存於該第二記憶體。In some implementations, the complex programmable logic device further includes a second control unit and a second memory electrically connected to the second control unit. The second control unit is electrically connected to the basic input output system and the baseboard management controller through the interface of the system management bus, so as to store the data of the basic input output system and the baseboard management controller in the second memory. .

該第一緩衝器還電連接該第二控制單元以接收所輸出的資料,且作緩衝後而輸出。該第一控制單元還電連接該第二控制單元,並根據該測試指令,還能夠控制該第二控制單元將該第二記憶體的資料輸出至該第一緩衝器,並控制該記憶體控制器及該第一多工器使得該第二記憶體的資料經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first buffer is also electrically connected to the second control unit to receive the output data, buffer it and then output it. The first control unit is also electrically connected to the second control unit, and according to the test instruction, can also control the second control unit to output the data of the second memory to the first buffer, and control the memory control The controller and the first multiplexer allow the data of the second memory to pass through the first buffer, the memory controller, the plug-in memory, the second buffer, the first multiplexer, and the serial transmitter. The receiving interface and the high-speed interface conversion device output to the test host.

在一些實施態樣中,其中,該中央處理器經由一連接器接收一組背板硬碟信號。該複雜可程式邏輯裝置還包含一接收器位址解碼器,該接收器位址解碼器包括藉由系統管理匯流排的介面電連接該中央處理器以接收前述這組背板硬碟信號的一組輸入端、一組輸出端、及電連接該第一控制單元的一控制端。In some implementations, the CPU receives a set of backplane hard drive signals via a connector. The complex programmable logic device also includes a receiver address decoder. The receiver address decoder includes a device electrically connected to the CPU through an interface of the system management bus to receive the aforementioned set of backplane hard disk signals. A set of input terminals, a set of output terminals, and a control terminal electrically connected to the first control unit.

該第一緩衝器還電連接該接收器位址解碼器的前述這組輸出端以接收所輸出的資料,且作緩衝後而輸出。該第一控制單元還電連接該接收器位址解碼器,並根據該測試指令,還能夠控制該接收器位址解碼器將前述這組背板硬碟信號輸出至該第一緩衝器,並控制該記憶體控制器及該第一多工器使得前述這組背板硬碟信號經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first buffer is also electrically connected to the aforementioned set of output terminals of the receiver address decoder to receive the output data, buffer it and then output it. The first control unit is also electrically connected to the receiver address decoder, and according to the test instruction, can also control the receiver address decoder to output the aforementioned set of backplane hard disk signals to the first buffer, and The memory controller and the first multiplexer are controlled so that the aforementioned set of backplane hard disk signals passes through the first buffer, the memory controller, the plug-in memory, the second buffer, and the first multiplexer. The processor, the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host.

本發明的功效在於:藉由該第一控制單元控制該第二多工器及該嵌入式中央處理器,選擇該嵌入式中央處理器儲存於該第一記憶體的資料或前述這組電源輸入接腳所接收的該等電源電壓信號,輸出至該第一多工器,並控制該第一控制器,選擇該第一記憶體的資料、該等電源電壓信號、或前述這組特定信號接腳所接收的該等特定信號,以經由該高速介面轉換裝置而能夠即時地輸出至該測試主機,故能實現一種更具彈性的偵錯機制。The effect of the present invention is to control the second multiplexer and the embedded central processor through the first control unit, and select the data stored in the first memory by the embedded central processor or the aforementioned set of power inputs. The power supply voltage signals received by the pins are output to the first multiplexer and control the first controller to select the data of the first memory, the power supply voltage signals, or the aforementioned set of specific signal connections. The specific signals received by the pins can be output to the test host in real time through the high-speed interface conversion device, so a more flexible debugging mechanism can be implemented.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。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.

參閱圖2,本發明電腦系統之一第一實施例,適用於一高速介面轉換裝置8及一測試主機9,並包含一主板7,及設置在該主板7上的一複雜可程式邏輯裝置(CPLD)1、一基本輸入輸出系統(BIOS)2、一基板管理控制器(BMC)3、一中央處理器(CPU)4、一電源轉換器(Voltage regulator)5、及一連接器6。該測試主機9例如是一電腦主機,並以通用序列匯流排(USB)的介面而電連接該高速介面轉換裝置8。該高速介面轉換裝置8例如以序列周邊介面(SPI)而電連接該複雜可程式邏輯裝置1,並用於提供通用序列匯流排與序列周邊介面之間的信號轉換。該電源轉換器5用於將來自一電源供應器的多種電壓作穩壓後而輸出成多個電源電壓信號,以作為該基本輸入輸出系統2、該基板管理控制器3、該中央處理器4、及一晶片組等各個元件運作所需的電力。Referring to Figure 2, a first embodiment of the computer system of the present invention is suitable for a high-speed interface conversion device 8 and a test host 9, and includes a motherboard 7 and a complex programmable logic device ( CPLD) 1, a basic input and output system (BIOS) 2, a baseboard management controller (BMC) 3, a central processing unit (CPU) 4, a power converter (Voltage regulator) 5, and a connector 6. The test host 9 is, for example, a computer host, and is electrically connected to the high-speed interface conversion device 8 through a Universal Serial Bus (USB) interface. The high-speed interface conversion device 8 is electrically connected to the complex programmable logic device 1 using, for example, a serial peripheral interface (SPI), and is used to provide signal conversion between a universal serial bus and a serial peripheral interface. The power converter 5 is used to stabilize multiple voltages from a power supply and output them into multiple power voltage signals for use as the basic input and output system 2 , the baseboard management controller 3 , and the central processing unit 4 , and the power required for the operation of various components such as a chipset.

該複雜可程式邏輯裝置1包含一序列傳收介面11、一組特定信號接腳19、一組電源輸入接腳18、一第一多工器(MUX)12、一第一控制單元13、一嵌入式中央處理器14、一第一記憶體15、一第二控制單元16、一第二記憶體17、一第二多工器22、一第三記憶體23、及一接收器位址解碼器(RX address decoder)21。The complex programmable logic device 1 includes a serial transmission interface 11, a set of specific signal pins 19, a set of power input pins 18, a first multiplexer (MUX) 12, a first control unit 13, a Embedded CPU 14, a first memory 15, a second control unit 16, a second memory 17, a second multiplexer 22, a third memory 23, and a receiver address decoding RX address decoder21.

該嵌入式中央處理器14電連接該第一記憶體15,並至少用於執行一種PFR(Platform firmware resilience)機制。該第一記憶體15是一種內部的快閃記憶體(Flash),並用於提供該嵌入式中央處理器14存取資料。該第二控制單元16電連接該嵌入式中央處理器14,並藉由系統管理匯流排(SMBus)的介面而電連接該基本輸入輸出系統2及該基板管理控制器3,以將對應該基本輸入輸出系統2及該基板管理控制器3的資料(如對應Mailbox的暫存器的數值)儲存於該第二記憶體17,該第二記憶體17是一種內部的隨機記憶體(RAM),並還能夠用於提供該基板管理控制器3寫入資料(如更新該基本輸入輸出系統2、該基板管理控制器3、與該複雜可程式邏輯裝置1的升級版本),及提供該複雜可程式邏輯裝置1寫入資料。The embedded CPU 14 is electrically connected to the first memory 15 and is at least used to execute a PFR (Platform firmware resilience) mechanism. The first memory 15 is an internal flash memory (Flash) and is used to provide the embedded central processor 14 with access to data. The second control unit 16 is electrically connected to the embedded central processing unit 14, and is electrically connected to the basic input and output system 2 and the baseboard management controller 3 through a system management bus (SMBus) interface to respond to the basic input and output system 2 and the baseboard management controller 3. The data of the input and output system 2 and the baseboard management controller 3 (such as the register value corresponding to the Mailbox) are stored in the second memory 17. The second memory 17 is an internal random access memory (RAM). And can also be used to provide the baseboard management controller 3 to write data (such as updating the basic input and output system 2, the baseboard management controller 3, and the upgraded version of the complex programmable logic device 1), and provide the complex programmable logic device 1 Program logic device 1 writes data.

前述這組特定信號接腳19例如是接收來自該基本輸入輸出系統2、該基板管理控制器3、該中央處理器4、或還有其他元件的多個特定信號,如多個電源重啟信號(Reset)。前述這組電源輸入接腳18接收該等電源電壓信號。The aforementioned set of specific signal pins 19 receives, for example, multiple specific signals from the basic input and output system 2, the baseboard management controller 3, the central processing unit 4, or other components, such as multiple power restart signals ( Reset). The aforementioned set of power input pins 18 receives the power voltage signals.

該中央處理器4經由該連接器6接收來自一背板的一組背板硬碟信號,前述這組背板硬碟信號用於多個硬碟的狀態。該接收器位址解碼器21包括藉由系統管理匯流排的介面而電連接該中央處理器4以接收前述這組背板硬碟信號的一組輸入端、一組輸出端、及電連接該第一控制單元13的一控制端,並根據該控制端所接收的信號,選擇前述這組輸入端的信號之其中對應者而輸出至前述這組輸出端。The CPU 4 receives a set of backplane hard disk signals from a backplane via the connector 6, and the aforementioned set of backplane hard disk signals is used for the status of multiple hard disks. The receiver address decoder 21 includes a set of input terminals, a set of output terminals, and a set of output terminals electrically connected to the CPU 4 through a system management bus interface to receive the aforementioned set of backplane hard disk signals. A control terminal of the first control unit 13 selects a corresponding one of the signals of the aforementioned set of input terminals according to the signal received by the control terminal and outputs the signal to the aforementioned set of output terminals.

該第二多工器22包括電連接前述這組電源輸入接腳18以接收該等電源電壓信號的一組第一端、電連接該嵌入式中央處理器14的一組第二端、電連接該第二控制單元16的一組第三端、電連接該接收器位址解碼器21的前述這組輸出端的一組第四端、電連接該第一控制單元13的一控制端、及電連接該第三記憶體23的一組輸出端,並根據該控制端所接收的信號以選擇前述這組第一端、前述這組第二端、前述這組第三端、或前述這組第四端的信號而輸出至前述這組輸出端。The second multiplexer 22 includes a set of first ends electrically connected to the aforementioned set of power input pins 18 to receive the power supply voltage signals, a set of second ends electrically connected to the embedded CPU 14 , and a set of second ends electrically connected to the embedded CPU 14 . A set of third terminals of the second control unit 16, a set of fourth terminals electrically connected to the aforementioned set of output terminals of the receiver address decoder 21, a control terminal electrically connected to the first control unit 13, and Connect a group of output terminals of the third memory 23, and select the aforementioned group of first terminals, the aforementioned group of second terminals, the aforementioned group of third terminals, or the aforementioned group of third terminals according to the signal received by the control terminal. The signals from the four terminals are output to the aforementioned set of output terminals.

該第一多工器12包括一組輸出端、一組第一端、電連接前述這組特定信號接腳19以接收該等特定信號的一組第二端、及電連接該第一控制單元13的一控制端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端。該第三記憶體23電連接該第二多工器22的前述這組輸出端,以儲存該第二多工器22的前述這組輸出端所輸出的資料,並電連接該第一多工器12的前述這組第一端,以輸出所儲存的資料至該第一多工器12的前述這組第一端。該序列傳收介面11電連接該高速介面轉換裝置8、電連接該序列傳收介面11的前述這組輸出端、及該第一控制單元13。The first multiplexer 12 includes a set of output terminals, a set of first terminals, a set of second terminals electrically connected to the aforementioned set of specific signal pins 19 to receive the specific signals, and a set of electrically connected to the first control unit. A control terminal of 13, and according to the signal received by the control terminal, the signal of the aforementioned group of first terminals or the aforementioned group of second terminals is selected and output to the aforementioned group of output terminals. The third memory 23 is electrically connected to the aforementioned set of output terminals of the second multiplexer 22 to store the data output by the aforementioned set of output terminals of the second multiplexer 22, and is electrically connected to the first multiplexer 22. The aforementioned set of first terminals of the first multiplexer 12 is used to output the stored data to the aforementioned set of first terminals of the first multiplexer 12 . The serial transmission and reception interface 11 is electrically connected to the high-speed interface conversion device 8 , the aforementioned set of output terminals of the serial transmission and reception interface 11 , and the first control unit 13 .

該第一控制單元13還電連接該嵌入式中央處理器14及該第二控制單元16,並經由該序列傳收介面11及該高速介面轉換裝置8,接收來自該測試主機9的一測試指令。The first control unit 13 is also electrically connected to the embedded CPU 14 and the second control unit 16, and receives a test command from the test host 9 through the serial transmission and reception interface 11 and the high-speed interface conversion device 8 .

該第一控制單元13根據該測試指令,能夠控制該第一多工器12使得該等特定信號經由該第一多工器12、該序列傳收介面11、及該高速介面轉換裝置8而即時地輸出至該測試主機9。或者,該第一控制單元13根據該測試指令,能夠控制該第二多工器22及該第一多工器12使得該等電源電壓信號經由該第二多工器22儲存至該第三記憶體23,再經由該第一多工器12、該序列傳收介面11、及該高速介面轉換裝置8而輸出至該測試主機9。The first control unit 13 can control the first multiplexer 12 according to the test command so that the specific signals are transmitted in real time through the first multiplexer 12 , the serial transmission and reception interface 11 , and the high-speed interface conversion device 8 output to the test host 9. Alternatively, the first control unit 13 can control the second multiplexer 22 and the first multiplexer 12 according to the test instruction so that the power supply voltage signals are stored in the third memory through the second multiplexer 22 The body 23 is then output to the test host 9 through the first multiplexer 12, the serial transmission and reception interface 11, and the high-speed interface conversion device 8.

或者,該第一控制單元13根據該測試指令,能夠控制該嵌入式中央處理器14將該第一記憶體15的資料輸出至該第二多工器22的前述這組第二端,並控制該第二多工器22及該第一多工器12使得該第一記憶體15的資料經由該第二多工器22儲存至該第三記憶體23,再經由該第一多工器12、該序列傳收介面11、及該高速介面轉換裝置8而輸出至該測試主機9。Alternatively, the first control unit 13 can control the embedded central processor 14 to output the data of the first memory 15 to the aforementioned set of second terminals of the second multiplexer 22 according to the test instruction, and control The second multiplexer 22 and the first multiplexer 12 allow the data of the first memory 15 to be stored in the third memory 23 through the second multiplexer 22 and then through the first multiplexer 12 , the serial transmission and reception interface 11 , and the high-speed interface conversion device 8 and output to the test host 9 .

或者,該第一控制單元13根據該測試指令,能夠控制該第二控制單元16將該第二記憶體17的資料輸出至該第二多工器22的前述這組第三端,並控制該第二多工器22及該第一多工器12使得該第二記憶體17的資料經由該第二多工器22儲存至該第三記憶體23,再經由該第一多工器12、該序列傳收介面11、及該高速介面轉換裝置8而輸出至該測試主機9。Alternatively, the first control unit 13 can control the second control unit 16 to output the data of the second memory 17 to the aforementioned set of third terminals of the second multiplexer 22 according to the test instruction, and control the The second multiplexer 22 and the first multiplexer 12 allow the data of the second memory 17 to be stored in the third memory 23 through the second multiplexer 22, and then through the first multiplexer 12, The serial transmission and reception interface 11 and the high-speed interface conversion device 8 output to the test host 9 .

或者,該第一控制單元13根據該測試指令,能夠控制該接收器位址解碼器21將前述這組背板硬碟信號輸出至該第二多工器22的前述這組第四端,並控制該第二多工器22及該第一多工器12使得前述這組背板硬碟信號經由該第二多工器22儲存至該第三記憶體23,再經由該第一多工器12、該序列傳收介面11、及該高速介面轉換裝置8而輸出至該測試主機9。Alternatively, the first control unit 13 can control the receiver address decoder 21 to output the aforementioned set of backplane hard disk signals to the aforementioned set of fourth terminals of the second multiplexer 22 according to the test command, and The second multiplexer 22 and the first multiplexer 12 are controlled so that the aforementioned set of backplane hard disk signals are stored in the third memory 23 through the second multiplexer 22 and then passed through the first multiplexer. 12. The serial transmission and reception interface 11 and the high-speed interface conversion device 8 output to the test host 9 .

也就是說,在該第三記憶體23的儲存空間有限的情況下,該第三記憶體23能夠完整記錄資料量較小的該等電源電壓信號、該第一記憶體15的資料、該第二記憶體17的資料、或該等背板硬碟信號,如電壓對應邏輯0與1的時序變化情形。相反地,對於資料量較大而無法完整儲存於該第三記憶體23的該等特定信號,則藉由該高速介面轉換裝置8而能夠即時地輸出至該測試主機9。That is to say, when the storage space of the third memory 23 is limited, the third memory 23 can completely record the power supply voltage signals with a small amount of data, the data of the first memory 15, and the third memory. The data in the second memory 17 or the backplane hard disk signals, such as the voltage corresponding to the timing changes of logic 0 and 1. On the contrary, the specific signals whose data volume is large and cannot be completely stored in the third memory 23 can be output to the test host 9 in real time through the high-speed interface conversion device 8 .

參閱圖3,本發明電腦系統之一第二實施例,部分元件的功能與該第一實施例相同,不同的地方在於:該電腦系統還包含一外掛記憶體71,且該複雜可程式邏輯裝置省略該第二多工器22及該第三記憶體23,並還包含一第一緩衝器(Buffer)24、一第二緩衝器25、及一記憶體控制器(Memory controller)26。Referring to Figure 3, a second embodiment of the computer system of the present invention is shown. The functions of some components are the same as those of the first embodiment. The difference is that the computer system also includes an external memory 71, and the complex programmable logic device The second multiplexer 22 and the third memory 23 are omitted, and a first buffer 24, a second buffer 25, and a memory controller 26 are also included.

該第一緩衝器24電連接前述這組電源輸入接腳、該嵌入式中央處理器、該第二控制單元、該接收器位址解碼器的前述這組輸出端、及該記憶體控制器26,以能夠接收該等電源電壓信號、該第一記憶體的資料、該第二記憶體的資料、及前述這組背板硬碟信號,且在作緩衝後而輸出至該記憶體控制器26。The first buffer 24 is electrically connected to the aforementioned set of power input pins, the embedded CPU, the second control unit, the aforementioned set of output terminals of the receiver address decoder, and the memory controller 26 , so as to be able to receive the power voltage signals, the data of the first memory, the data of the second memory, and the aforementioned set of backplane hard disk signals, and output them to the memory controller 26 after buffering .

該第二緩衝器25電連接該記憶體控制器26,及該第一多工器的前述這組第一端,以將來自該記憶體控制器26的資料在作緩衝後而輸出至該第一多工器的前述這組第一端。The second buffer 25 is electrically connected to the memory controller 26 and the aforementioned set of first terminals of the first multiplexer, so as to buffer the data from the memory controller 26 and then output it to the third buffer. The aforementioned set of first terminals of a multiplexer.

該記憶體控制器26還電連接該外掛記憶體71及該第一控制單元,並受該第一控制單元的控制以將來自該第一緩衝器24的資料儲存至該外掛記憶體71,及將該外掛記憶體71所儲存的資料輸出至該第二緩衝器25。The memory controller 26 is also electrically connected to the external memory 71 and the first control unit, and is controlled by the first control unit to store data from the first buffer 24 to the external memory 71, and The data stored in the external memory 71 is output to the second buffer 25 .

該第一控制單元根據該測試指令,能夠控制該第一多工器使得該等特定信號經由該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,該第一控制單元根據該測試指令,能夠控制該記憶體控制器26及該第一多工器使得該等電源電壓信號經由該第一緩衝器24及該記憶體控制器26而儲存至該外掛記憶體71,再經由該記憶體控制器26、該第二緩衝器25、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。The first control unit can control the first multiplexer according to the test command so that the specific signals are output to the test host through the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device, Alternatively, the first control unit can control the memory controller 26 and the first multiplexer according to the test instruction so that the power supply voltage signals are stored in the memory controller 26 via the first buffer 24 and the memory controller 26 . The external memory 71 is then output to the test host through the memory controller 26, the second buffer 25, the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device.

或者,該第一控制單元根據該測試指令,能夠控制該嵌入式中央處理器將該第一記憶體的資料輸出至該第一緩衝器24,並控制該記憶體控制器26及該第一多工器使得該第一記憶體的資料經由該第一緩衝器24及該記憶體控制器26而儲存至該外掛記憶體71,再經由該記憶體控制器26、該第二緩衝器25、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。Alternatively, the first control unit can control the embedded central processor to output the data of the first memory to the first buffer 24 according to the test instruction, and control the memory controller 26 and the first multiplexer. The processor causes the data of the first memory to be stored in the plug-in memory 71 through the first buffer 24 and the memory controller 26, and then passes through the memory controller 26, the second buffer 25, and the The first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host.

或者,該第一控制單元根據該測試指令,能夠該第二控制單元將該第二記憶體的資料輸出至該第一緩衝器24,並控制該記憶體控制器26及該第一多工器使得該第二記憶體的資料經由該第一緩衝器24及該記憶體控制器26而儲存至該外掛記憶體71,再經由該外掛記憶體71、該第二緩衝器25、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。Alternatively, the first control unit can enable the second control unit to output the data of the second memory to the first buffer 24 and control the memory controller 26 and the first multiplexer according to the test instruction. The data in the second memory is stored in the plug-in memory 71 through the first buffer 24 and the memory controller 26, and then passes through the plug-in memory 71, the second buffer 25, and the first multi-function memory 71. The processor, the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host.

或者,該第一控制單元根據該測試指令,能夠控制該接收器位址解碼器將前述這組背板硬碟信號輸出至該第一緩衝器24,並控制該記憶體控制器26及該第一多工器使得前述這組背板硬碟信號經由該第一緩衝器24及該記憶體控制器26而儲存至該外掛記憶體71,再經由該外掛記憶體71、該第二緩衝器25、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。Alternatively, the first control unit can control the receiver address decoder to output the aforementioned set of backplane hard disk signals to the first buffer 24 according to the test command, and control the memory controller 26 and the third A multiplexer allows the aforementioned set of backplane hard disk signals to be stored in the external memory 71 through the first buffer 24 and the memory controller 26, and then pass through the external memory 71 and the second buffer 25 , the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host.

換句話說,該第二實施例藉由該外掛記憶體71的儲存空間能夠大於該複雜可程式邏輯裝置的該第三記憶體23,因而能夠將工程人員想要觀察的各種信號或資料作完整的儲存與記錄,進而再輸出至該測試主機,以提供偵錯使用。In other words, in the second embodiment, the storage space of the external memory 71 can be larger than the third memory 23 of the complex programmable logic device, so that various signals or data that engineers want to observe can be completely processed. Storage and recording, and then output to the test host to provide debugging use.

綜上所述,相較於圖1所示的先前技術具有記憶體能存放資料的空間有限、可偵錯的部分僅有主板開機時序與主板已開機後的複雜可程式邏輯裝置的腳位狀態,本案藉由該電腦系統的該複雜可程式邏輯裝置作不同硬體與軟體的編排與設計,或再加上該外掛記憶體71的使用,能夠偵錯的態樣大幅地增加,如主板開機時序與主板已開機後的複雜可程式邏輯裝置的腳位狀態、背板硬碟信號、內部的快閃記憶體(如第一記憶體)的資料狀態、基板管理控制器與基本輸入輸出系統的資料狀態,因而實現一種更具彈性的偵錯機制,故確實能達成本發明的目的。To sum up, compared with the previous technology shown in Figure 1, the memory space for storing data is limited, and the only parts that can be debugged are the motherboard boot sequence and the pin status of the complex programmable logic device after the motherboard is powered on. In this case, through the arrangement and design of different hardware and software of the complex programmable logic device of the computer system, or coupled with the use of the plug-in memory 71, the ways in which debugging can be greatly increased, such as the motherboard boot sequence The pin status of the complex programmable logic device after the motherboard is powered on, the backplane hard disk signal, the data status of the internal flash memory (such as the first memory), the data of the baseboard management controller and the basic input and output system status, thus realizing a more flexible debugging mechanism, thus achieving the purpose of the present invention.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention and should not 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 content of the patent specification are still within the scope of the present invention. within the scope covered by the patent of this invention.

1:複雜可程式邏輯裝置 11、91:序列傳收介面 12:第一多工器 13、93:第一控制單元 14、94:嵌入式中央處理器 15、95:第一記憶體 16、96:第二控制單元 17、97:第二記憶體 18、98:電源輸入接腳 19、99:特定信號接腳 2:基本輸入輸出系統 21:接收器位址解碼器 22:第二多工器 23、90:第三記憶體 24:第一緩衝器 25:第二緩衝器 26:記憶體控制器 3:基板管理控制器 4:中央處理器 5:電源轉換器 6:連接器 7:主板 71:外掛記憶體 8:高速介面轉換裝置 80:低速介面轉換裝置 9:測試主機 92:多工器1: Complex programmable logic device 11. 91: Sequence transmission and reception interface 12:First multiplexer 13. 93: First control unit 14, 94: Embedded CPU 15, 95: first memory 16, 96: Second control unit 17, 97: Second memory 18, 98: Power input pin 19, 99: Specific signal pins 2:Basic input and output system 21:Receiver address decoder 22: Second multiplexer 23, 90: Third memory 24: First buffer 25: Second buffer 26:Memory controller 3: Baseboard management controller 4:Central processing unit 5:Power converter 6:Connector 7: Motherboard 71: External memory 8: High-speed interface conversion device 80: Low speed interface conversion device 9: Test host 92:Multiplexer

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明習知技術的一種電腦系統; 圖2是一方塊圖,說明本發明電腦系統的一第一實施例;及 圖3是一方塊圖,說明本發明電腦系統的一第二實施例。 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 system of conventional technology; Figure 2 is a block diagram illustrating a first embodiment of the computer system of the present invention; and Figure 3 is a block diagram illustrating a second embodiment of the computer system of the present invention.

1:複雜可程式邏輯裝置 1: Complex programmable logic device

11:序列傳收介面 11: Sequence transmission and reception interface

12:第一多工器 12:First multiplexer

13:第一控制單元 13:First control unit

14:嵌入式中央處理器 14:Embedded CPU

15:第一記憶體 15: First memory

16:第二控制單元 16: Second control unit

17:第二記憶體 17: Second memory

18:電源輸入接腳 18:Power input pin

19:特定信號接腳 19:Specific signal pin

21:接收器位址解碼器 21:Receiver address decoder

22:第二多工器 22: Second multiplexer

23:第三記憶體 23:Third memory

2:基本輸入輸出系統 2:Basic input and output system

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

4:中央處理器 4:Central processing unit

5:電源轉換器 5:Power converter

6:連接器 6:Connector

7:主板 7: Motherboard

8:高速介面轉換裝置 8: High-speed interface conversion device

9:測試主機 9: Test host

Claims (7)

一種電腦系統,適用於一高速介面轉換裝置及一測試主機,並包含一複雜可程式邏輯裝置(CPLD)、一基本輸入輸出系統(BIOS)、一基板管理控制器(BMC)、及一中央處理器,該複雜可程式邏輯裝置包含: 一序列傳收介面,電連接該高速介面轉換裝置; 一組特定信號接腳,接收來自該基本輸入輸出系統、該基板管理控制器、及該中央處理器的多個特定信號; 一組電源輸入接腳,接收多個電源電壓信號; 一第一多工器,包括電連接該序列傳收介面的一組輸出端、一組第一端、電連接前述這組特定信號接腳以接收該等特定信號的一組第二端、及一控制端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端; 一嵌入式中央處理器; 一第一記憶體,電連接該嵌入式中央處理器,並用於提供該嵌入式中央處理器存取資料; 一第二多工器,包括電連接前述這組電源輸入接腳以接收該等電源電壓信號的一組第一端、電連接該嵌入式中央處理器的一組第二端、一控制端、及一組輸出端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端; 一第三記憶體,電連接該第二多工器的前述這組輸出端,以儲存前述這組輸出端所輸出的資料,並電連接該第一多工器的前述這組第一端,以輸出所儲存的資料至前述這組第一端; 一第一控制單元,電連接該序列傳收介面、該第一多工器的該控制端、該第二多工器的該控制端、及該嵌入式中央處理器,並經由該高速介面轉換裝置及該序列傳收介面,接收來自該測試主機的一測試指令, 該第一控制單元根據該測試指令,控制該第一多工器使得該等特定信號經由該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,控制該第二多工器及該第一多工器使得該等電源電壓信號經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,控制該嵌入式中央處理器將該第一記憶體的資料輸出至該第二多工器的前述這組第二端,並控制該第二多工器及該第一多工器使得該第一記憶體的資料經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 A computer system suitable for a high-speed interface conversion device and a test host, and includes a complex programmable logic device (CPLD), a basic input and output system (BIOS), a baseboard management controller (BMC), and a central processing unit A complex programmable logic device containing: A sequence of transmission and reception interfaces electrically connected to the high-speed interface conversion device; a set of specific signal pins to receive a plurality of specific signals from the basic input output system, the baseboard management controller, and the central processor; A set of power input pins that receive multiple power voltage signals; A first multiplexer, including a set of output ends electrically connected to the sequence transmission interface, a set of first ends, a set of second ends electrically connected to the aforementioned set of specific signal pins to receive the specific signals, and A control terminal, and according to the signal received by the control terminal, selects the signal of the aforementioned group of first terminals or the aforementioned group of second terminals and outputs it to the aforementioned group of output terminals; an embedded central processing unit; a first memory electrically connected to the embedded central processor and used to provide the embedded central processor with access to data; A second multiplexer, including a set of first ends electrically connected to the aforementioned set of power input pins to receive the power supply voltage signals, a set of second ends electrically connected to the embedded central processor, and a control end, and a group of output terminals, and according to the signal received by the control terminal, the signal of the aforementioned group of first terminals or the aforementioned group of second terminals is selected and output to the aforementioned group of output terminals; A third memory is electrically connected to the aforementioned group of output terminals of the second multiplexer to store the data output by the aforementioned group of output terminals, and is electrically connected to the aforementioned group of first terminals of the first multiplexer, To output the stored data to the first end of the aforementioned group; A first control unit electrically connected to the serial transmission and reception interface, the control end of the first multiplexer, the control end of the second multiplexer, and the embedded central processor, and converts through the high-speed interface The device and the serial transmission interface receive a test command from the test host, The first control unit controls the first multiplexer according to the test instruction so that the specific signals are output to the test host through the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device, or , controlling the second multiplexer and the first multiplexer so that the power supply voltage signals pass through the second multiplexer, the third memory, the first multiplexer, the serial transmission and reception interface, and the The high-speed interface conversion device outputs to the test host, or controls the embedded central processor to output the data of the first memory to the aforementioned set of second terminals of the second multiplexer, and controls the second multiplexer. The multiplexer and the first multiplexer allow the data of the first memory to pass through the second multiplexer, the third memory, the first multiplexer, the serial transmission interface, and the high-speed interface conversion device And output to the test host. 如請求項1所述的電腦系統,其中,該複雜可程式邏輯裝置還包含一第二控制單元,及電連接該第二控制單元的一第二記憶體,該第二控制單元藉由系統管理匯流排(SMBus)的介面電連接該基本輸入輸出系統及該基板管理控制器,以將對應該基本輸入輸出系統及該基板管理控制器的資料儲存於該第二記憶體, 該第二多工器還包括電連接該第二控制單元的一組第三端,並根據該控制端所接收的信號以選擇前述這組第一端、前述這組第二端、或前述這組第三端的信號而輸出至前述這組輸出端, 該第一控制單元還電連接該第二控制單元,並根據該測試指令,還能夠控制該第二控制單元將該第二記憶體的資料輸出至該第二多工器的前述這組第三端,並控制該第二多工器及該第一多工器使得該第二記憶體的資料經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 The computer system of claim 1, wherein the complex programmable logic device further includes a second control unit, and a second memory electrically connected to the second control unit, and the second control unit is managed by the system The interface of the bus (SMBus) is electrically connected to the basic input and output system and the baseboard management controller to store the data of the basic input and output system and the baseboard management controller in the second memory, The second multiplexer also includes a group of third terminals electrically connected to the second control unit, and selects the aforementioned group of first terminals, the aforementioned group of second terminals, or the aforementioned group of terminals according to the signal received by the control terminal. The signal from the third terminal is combined and output to the aforementioned group of output terminals. The first control unit is also electrically connected to the second control unit, and according to the test instruction, can also control the second control unit to output the data of the second memory to the aforementioned set of third groups of the second multiplexer. terminal, and controls the second multiplexer and the first multiplexer so that the data of the second memory passes through the second multiplexer, the third memory, the first multiplexer, and the sequence interface, and the high-speed interface conversion device and output to the test host. 如請求項2所述的電腦系統,其中,該中央處理器經由一連接器接收一組背板硬碟信號,該複雜可程式邏輯裝置還包含一接收器位址解碼器(RX address decoder),該接收器位址解碼器包括藉由系統管理匯流排的介面而電連接該中央處理器以接收前述這組背板硬碟信號的一組輸入端、一組輸出端、及電連接該第一控制單元的一控制端, 該第二多工器還包括電連接該接收器位址解碼器的前述這組輸出端的一組第四端,並根據該控制端所接收的信號以選擇前述這組第一端、前述這組第二端、前述這組第三端、或前述這組第四端的信號而輸出至前述這組輸出端, 該第一控制單元電連接該接收器位址解碼器,並根據該測試指令,還能夠控制該接收器位址解碼器將前述這組背板硬碟信號輸出至該第二多工器的前述這組第四端,並控制該第二多工器及該第一多工器使得前述這組背板硬碟信號經由該第二多工器、該第三記憶體、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 The computer system as claimed in claim 2, wherein the central processing unit receives a set of backplane hard disk signals through a connector, and the complex programmable logic device further includes a receiver address decoder (RX address decoder), The receiver address decoder includes a set of input terminals, a set of output terminals electrically connected to the central processor through an interface of the system management bus to receive the aforementioned set of backplane hard disk signals, and a set of electrically connected to the first A control terminal of the control unit, The second multiplexer also includes a set of fourth terminals electrically connected to the aforementioned set of output terminals of the receiver address decoder, and selects the aforementioned set of first ends, the aforementioned set of output terminals according to the signal received by the control terminal. The signal from the second terminal, the aforementioned group of third terminals, or the aforementioned group of fourth terminals is output to the aforementioned group of output terminals, The first control unit is electrically connected to the receiver address decoder, and according to the test command, can also control the receiver address decoder to output the aforementioned set of backplane hard disk signals to the aforementioned set of backplane hard disk signals of the second multiplexer. This set of fourth terminals controls the second multiplexer and the first multiplexer so that the aforementioned set of backplane hard disk signals passes through the second multiplexer, the third memory, and the first multiplexer. , the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host. 一種電腦系統,適用於一高速介面轉換裝置及一測試主機,並包含一複雜可程式邏輯裝置、一外掛記憶體、一基本輸入輸出系統、一基板管理控制器、及一中央處理器,該複雜可程式邏輯裝置包含: 一序列傳收介面,電連接該高速介面轉換裝置; 一組特定信號接腳,接收來自該基本輸入輸出系統、該基板管理控制器、及該中央處理器的多個特定信號; 一組電源輸入接腳,接收多個電源電壓信號; 一第一多工器,包括電連接該序列傳收介面的一組輸出端、一組第一端、電連接前述這組特定信號接腳以接收該等特定信號的一組第二端、及一控制端,並根據該控制端所接收的信號以選擇前述這組第一端或前述這組第二端的信號而輸出至前述這組輸出端; 一第一緩衝器,電連接前述這組電源輸入接腳以接收該等電源電壓信號,且作緩衝後而輸出; 一第二緩衝器,電連接該第一多工器的前述這組第一端以在作緩衝後而輸出所接收的資料; 一記憶體控制器,電連接該第一緩衝器、該第二緩衝器、及該外掛記憶體,並受控制以將來自該第一緩衝器的資料儲存至該外掛記憶體,及將該外掛記憶體所儲存的資料輸出至該第二緩衝器; 一第一控制單元,電連接該序列傳收介面、該第一多工器的該控制端、及該記憶體控制器,並經由該高速介面轉換裝置及該序列傳收介面,接收來自該測試主機的一測試指令, 該第一控制單元根據該測試指令,控制該第一多工器使得該等特定信號經由該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機,或者,控制該記憶體控制器及該第一多工器使得該等電源電壓信號經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 A computer system is suitable for a high-speed interface conversion device and a test host, and includes a complex programmable logic device, an external memory, a basic input and output system, a baseboard management controller, and a central processing unit. The complex Programmable logic devices include: A sequence of transmission and reception interfaces electrically connected to the high-speed interface conversion device; a set of specific signal pins to receive a plurality of specific signals from the basic input output system, the baseboard management controller, and the central processor; A set of power input pins that receive multiple power voltage signals; A first multiplexer, including a set of output ends electrically connected to the sequence transmission interface, a set of first ends, a set of second ends electrically connected to the aforementioned set of specific signal pins to receive the specific signals, and A control terminal, and according to the signal received by the control terminal, selects the signal of the aforementioned group of first terminals or the aforementioned group of second terminals and outputs it to the aforementioned group of output terminals; a first buffer, electrically connected to the aforementioned set of power input pins to receive the power supply voltage signals, buffer them and then output them; a second buffer electrically connected to the aforementioned set of first terminals of the first multiplexer to output the received data after buffering; A memory controller is electrically connected to the first buffer, the second buffer, and the plug-in memory, and is controlled to store data from the first buffer to the plug-in memory, and to store the plug-in memory. The data stored in the memory is output to the second buffer; A first control unit is electrically connected to the serial transmission and reception interface, the control end of the first multiplexer, and the memory controller, and receives data from the test via the high-speed interface conversion device and the serial transmission and reception interface. A test command from the host, The first control unit controls the first multiplexer according to the test instruction so that the specific signals are output to the test host through the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device, or , controlling the memory controller and the first multiplexer so that the power supply voltage signals pass through the first buffer, the memory controller, the plug-in memory, the second buffer, and the first multiplexer. , the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host. 如請求項4所述的電腦系統,其中,該複雜可程式邏輯裝置還包含一嵌入式中央處理器及一第一記憶體,該第一記憶體電連接該嵌入式中央處理器,並用於提供該嵌入式中央處理器存取資料, 該第一緩衝器還電連接該嵌入式中央處理器以接收所輸出的資料,且作緩衝後而輸出,該第一控制單元還電連接該嵌入式中央處理器,並根據該測試指令,還能夠控制該嵌入式中央處理器將該第一記憶體的資料輸出至該第一緩衝器,並控制該記憶體控制器及該第一多工器使得該第一記憶體的資料經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 The computer system as claimed in claim 4, wherein the complex programmable logic device further includes an embedded central processing unit and a first memory, the first memory is electrically connected to the embedded central processing unit and is used to provide The embedded central processing unit accesses data, The first buffer is also electrically connected to the embedded central processing unit to receive the output data and buffer it for output. The first control unit is also electrically connected to the embedded central processing unit, and according to the test instruction, also The embedded central processor can be controlled to output the data of the first memory to the first buffer, and the memory controller and the first multiplexer can be controlled to cause the data of the first memory to pass through the first buffer. The buffer, the memory controller, the plug-in memory, the second buffer, the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host. 如請求項5所述的電腦系統,其中,該複雜可程式邏輯裝置還包含一第二控制單元及電連接該第二控制單元的一第二記憶體,該第二控制單元藉由系統管理匯流排的介面電連接該基本輸入輸出系統及該基板管理控制器,以將對應該基本輸入輸出系統及該基板管理控制器的資料儲存於該第二記憶體, 該第一緩衝器還電連接該第二控制單元以接收所輸出的資料,且作緩衝後而輸出,該第一控制單元還電連接該第二控制單元,並根據該測試指令,還能夠控制該第二控制單元將該第二記憶體的資料輸出至該第一緩衝器,並控制該記憶體控制器及該第一多工器使得該第二記憶體的資料經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 The computer system as claimed in claim 5, wherein the complex programmable logic device further includes a second control unit and a second memory electrically connected to the second control unit, and the second control unit communicates through the system management The interface of the row is electrically connected to the basic input and output system and the baseboard management controller, so as to store the data of the basic input and output system and the baseboard management controller in the second memory, The first buffer is also electrically connected to the second control unit to receive the output data, and output the data after buffering. The first control unit is also electrically connected to the second control unit, and can also control according to the test command. The second control unit outputs the data of the second memory to the first buffer, and controls the memory controller and the first multiplexer so that the data of the second memory passes through the first buffer, The memory controller, the plug-in memory, the second buffer, the first multiplexer, the serial transmission and reception interface, and the high-speed interface conversion device are output to the test host. 如請求項6所述的電腦系統,其中,該中央處理器經由一連接器接收一組背板硬碟信號,該複雜可程式邏輯裝置還包含一接收器位址解碼器,該接收器位址解碼器包括藉由系統管理匯流排的介面電連接該中央處理器以接收前述這組背板硬碟信號的一組輸入端、一組輸出端、及電連接該第一控制單元的一控制端, 該第一緩衝器還電連接該接收器位址解碼器的前述這組輸出端以接收所輸出的資料,且作緩衝後而輸出,該第一控制單元還電連接該接收器位址解碼器,並根據該測試指令,還能夠控制該接收器位址解碼器將前述這組背板硬碟信號輸出至該第一緩衝器,並控制該記憶體控制器及該第一多工器使得前述這組背板硬碟信號經由該第一緩衝器、該記憶體控制器、該外掛記憶體、該第二緩衝器、該第一多工器、該序列傳收介面、及該高速介面轉換裝置而輸出至該測試主機。 The computer system of claim 6, wherein the central processing unit receives a set of backplane hard disk signals through a connector, and the complex programmable logic device further includes a receiver address decoder, and the receiver address decoder The decoder includes a set of input terminals, a set of output terminals electrically connected to the central processor through an interface of the system management bus to receive the aforementioned set of backplane hard disk signals, and a control terminal electrically connected to the first control unit. , The first buffer is also electrically connected to the aforementioned set of output terminals of the receiver address decoder to receive the output data and buffer it for output. The first control unit is also electrically connected to the receiver address decoder. , and according to the test command, the receiver address decoder can also be controlled to output the aforementioned set of backplane hard disk signals to the first buffer, and the memory controller and the first multiplexer can be controlled to make the aforementioned The set of backplane hard disk signals passes through the first buffer, the memory controller, the plug-in memory, the second buffer, the first multiplexer, the serial transmission interface, and the high-speed interface conversion device And output to the test host.
TW111143047A 2022-11-10 2022-11-10 Computer system TWI815725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111143047A TWI815725B (en) 2022-11-10 2022-11-10 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111143047A TWI815725B (en) 2022-11-10 2022-11-10 Computer system

Publications (2)

Publication Number Publication Date
TWI815725B true TWI815725B (en) 2023-09-11
TW202420093A TW202420093A (en) 2024-05-16

Family

ID=88966175

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111143047A TWI815725B (en) 2022-11-10 2022-11-10 Computer system

Country Status (1)

Country Link
TW (1) TWI815725B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026588A (en) * 2018-10-09 2020-04-17 美超微电脑股份有限公司 Computer system and method for testing a computer system
CN112579178A (en) * 2019-09-29 2021-03-30 佛山市顺德区顺达电脑厂有限公司 Debugging system for boot program, and host and method thereof
TWI726405B (en) * 2019-09-04 2021-05-01 神雲科技股份有限公司 Boot procedure debugging system, host and method thereof
TWI771952B (en) * 2021-03-16 2022-07-21 英業達股份有限公司 Server system with baseboard management controller to update firmware

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026588A (en) * 2018-10-09 2020-04-17 美超微电脑股份有限公司 Computer system and method for testing a computer system
US11119876B2 (en) * 2018-10-09 2021-09-14 Super Micro Computer, Inc. Device and method for testing computer system
TWI726405B (en) * 2019-09-04 2021-05-01 神雲科技股份有限公司 Boot procedure debugging system, host and method thereof
CN112579178A (en) * 2019-09-29 2021-03-30 佛山市顺德区顺达电脑厂有限公司 Debugging system for boot program, and host and method thereof
TWI771952B (en) * 2021-03-16 2022-07-21 英業達股份有限公司 Server system with baseboard management controller to update firmware

Similar Documents

Publication Publication Date Title
CN107493685B (en) Reprogramming a port controller via its own external port
US8275599B2 (en) Embedded bus emulation
US10585816B1 (en) System and method for serial communication at a peripheral interface device
US7093033B2 (en) Integrated circuit capable of communicating using different communication protocols
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
US20190303268A1 (en) Debug controller circuit
CN108268414B (en) SD card driver based on SPI mode and control method thereof
US11216282B2 (en) Multi-die and multi-core computing platform and booting method for the same
TW201537447A (en) Mass storage virtualization for cloud computing
US20210109885A1 (en) Device for managing hdd backplane
US11436182B2 (en) System and method for handling in-band interrupts on inactive I3C channels
CN110737552A (en) SFC interface test equipment and method based on FPGA
TWI815725B (en) Computer system
TWI576696B (en) System is applied to control indicator lights for non-volatile memory express solid state disk
TW202420093A (en) Computer system
US6970986B1 (en) Software based system and method for I/O chip hiding of processor based controllers from operating system
US7089358B2 (en) Identifying and controlling different types of MROMB hardware
TWI739853B (en) Computing device and operation method
CN118069561A (en) Computer system
US20060047934A1 (en) Integrated circuit capable of memory access control
US11275638B1 (en) Systems and methods for storing debug information
US20030188061A1 (en) Device discovery and dynamic configuration of control application
CN111414323B (en) Redundant bundle disk
US20150348651A1 (en) Multiple access test architecture for memory storage devices
TWI685745B (en) Rbod