TW201211761A - BIOS debugging device and method - Google Patents

BIOS debugging device and method Download PDF

Info

Publication number
TW201211761A
TW201211761A TW99130051A TW99130051A TW201211761A TW 201211761 A TW201211761 A TW 201211761A TW 99130051 A TW99130051 A TW 99130051A TW 99130051 A TW99130051 A TW 99130051A TW 201211761 A TW201211761 A TW 201211761A
Authority
TW
Taiwan
Prior art keywords
bios
data signal
computer
post
fpga chip
Prior art date
Application number
TW99130051A
Other languages
Chinese (zh)
Inventor
wei-dong Cong
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW99130051A priority Critical patent/TW201211761A/en
Publication of TW201211761A publication Critical patent/TW201211761A/en

Links

Abstract

The present invention provides a basic input/output system (BIOS) debugging device and method. The device includes a singlechip, a field-programmable gate array (FPGA) chip, a random access memory (RAM), and two seven-segment digital pipes. The FPGA chip is connected to the singlechip, the RAM, and the two seven-segment digital pipes. The singlechip receives BIOS burn data output by a control computer using a serial transmission form, and outputs the BIOS burn data to the FPGA chip via a parallel transmission form. The FPGA chip stores the BIOS burn data in the RAM. If a test computer needs to be tested, the FPGA chip reads the BIOS burn data using the parallel transmission form, and outputs the BIOS burn data to the test computer using a serial peripheral interface (SPI) mode, to power on the test computer for self test (POST). The FPGA chip further receives POST data output by the test computer, converts the POST data to double figures, and outputs the double figures to the two seven-segment digital pipe for display.

Description

201211761 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種BIOS調試器及調試方法。 [先前技術3 [0002] 目前,基本輸入輸出系統(basic input/output sys- tem ’ BIOS)開發部門調試BIOS的方法主要包括以下步 驟:將待測電腦上需要調試的BIOS晶片拔下,將該需要 調試的BIOS晶片安裝至一台正常工作的電腦,再透過燒 錄程式將燒錄資料(例如BIOS原始檔或BIOS更新檔)燒 錄至該需要調試的BIOS晶片。之後,將該需要調試的 BIOS晶片從所述電腦拔下,插回待測電腦,.對待測電腦 上電執行開機自檢(power. .on sel f. test ’ POST ), 檢查該待測電腦各元件是否工作正常。 [0003] 這種調試方法的不足之處在於BIOS晶片的多次取下放上 比較浪費時間。由於BIOS功能的不斷強大不同待測電 腦的BIOS晶片容量也越來越大,燒錄時間隨之增長。此 外’如果待測電腦還未到開啟螢幕顯示階段或者是出現 關鍵性故障,螢幕上無顯示時,設計人員無法得知POST 所處階段或是無法判斷待測電腦故障所在,需要利用 P0ST診斷卡’根據POST診斷卡上顯示的代碼查找POST代 碼表得知待夠電腦POST所處階段或故障原因和故障部位 ,給測試帶來不便且浪費時間。 【發明内容】201211761 VI. Description of the Invention: [Technical Field of the Invention] [0001] The present invention relates to a BIOS debugger and a debugging method. [Prior Art 3 [0002] At present, the basic input/output system (BIOS) development department debugs the BIOS mainly includes the following steps: unplugging the BIOS chip to be tested on the computer to be tested, The BIOS chip to be debugged is installed on a working computer, and then burned data (such as BIOS original file or BIOS update file) is burned to the BIOS chip to be debugged through a burning program. After that, the BIOS chip that needs to be debugged is unplugged from the computer, and inserted into the computer to be tested. The computer to be tested is powered on to perform a power-on self-test (power. .on sel f. test ' POST ), and the computer to be tested is checked. Whether each component is working properly. [0003] A disadvantage of this method of debugging is that it is a waste of time to remove the BIOS chip multiple times. Due to the ever-increasing power of the BIOS, the BIOS chip size of the computer to be tested is also increasing, and the programming time is increasing. In addition, if the computer to be tested has not yet turned on the screen display stage or there is a critical fault, there is no display on the screen, the designer can not know the stage of the POST or can not judge the fault of the computer to be tested, need to use the P0ST diagnostic card 'Find the POST code table according to the code displayed on the POST diagnostic card to know the stage of the PC POST or the cause of the fault and the fault location, which is inconvenient and time consuming. [Summary of the Invention]

[0004] 冑於以上内容,本發明提供—種BIGS調試器及調試方法 ,可以希省調試時間,提高燒錄速度且不依賴於p〇ST 099130051 表單編號A0101 第4頁/共15頁 0992052724-0 201211761 診斷卡顯示調試進度及狀態。 [0005] Ο ❹ -種則㈣試器,該BI〇S調試器包括微控制器、現場可 編程閘陣册GAW、隨機麵儲存现M及兩個七段數 位管。所述FPGA晶片與微控制器、RAM及兩個七段數位管 相連接。所述微控制器,透過通用串列匯流排USB介面連 接控制電腦。該微控制器透過USB介面接收控制電腦輸出 的串列傳輸格式的BIOS燒錄資料訊號,將串列傳輸格式 的B10S燒錄資料訊號轉換成並列傳輸格式的B丨〇s燒錄資 料訊號後輸出至所述FPGA晶片。所述FPGA晶片透過串列 週邊介面SPI及低腳位數介面lpc與待測電腦相連接。該 FPGA晶片將並列傳輸格式的B〗0S燒錄資料訊號儲存至 RAM ’將從RAM中讀取的並列傳輸格式的bios燒錄資料傳 輸轉換成SPI通信協定格式的資料訊號後,透過spi介面 輸出至待測電腦,以對待測電腦進行POST。該FPGA晶片 還透過LPC介面接收待測電腦輸出的POST資料訊號,將該 POST資料訊號轉換成一個兩位數的十六進位資料後,輸 出至所述兩個七段數位管0 r所述兩個七段數位管顯示所 述兩位數的十六進位資料,以供設計人員從POST代碼表 中查找該兩位數的十六進位資料的含義,從而定位待測 電腦的POST階段或POST過程中出現的故障。 [0006] 一種BIOS調试方法’該方法包括以下步驟.(A)利用微 控制器透過USB介面接收控制電腦輸出的串列傳輸格式的 BIOS燒錄資料訊號;(B)利用該微控制器將串列傳輸格 式的BIOS燒錄資料訊號轉換成並列傳輸格式的BIOS燒錄 資料訊號,並將並列傳輸格式的BIOS燒錄資料訊號輸出 099130051 表單編號A0101 第5頁/共15頁 0992052724-0 201211761 至FPGA晶片;(C)利用FPGA晶片將並列傳輸格式的 BIOS燒錄資料訊號儲存至RM; (D)利用叩以晶片從 RAM中讀取並列傳輪格式的BI0S燒錄資料訊號,將並列傳 輸格式的B10S燒錄資料訊號轉換成SP丨通信協定格式的資 料訊號後,透過SPI介面輸出至待測電腦,以對待測電腦 進行POST; (E)利用FPGA晶片透過LPC介面接收待測電 腦輸出的POST資料訊號,並將該P0ST資料訊號轉換成一 個兩位數的十六進位資料後,輸出至兩個七段數位管; 及(F)利用該兩個七段數位管顯示所述兩位數的十六進 位資料,以供設計人員從P0ST代碼表中查找該兩位數的 十六進位資料的含義,從而定位待測電腦的p〇ST階段或 POST過程中出現的故障。 [0007] [0008][0004] In view of the above, the present invention provides a BIGS debugger and a debugging method, which can save debugging time and improve programming speed without depending on p〇ST 099130051 Form No. A0101 Page 4 / Total 15 Page 0992052724- 0 201211761 The diagnostic card shows the progress and status of the commissioning. [0005] Ο ❹ - (4) tester, the BI〇S debugger includes a microcontroller, a field programmable gatebook GAW, a random surface storage M and two seven-segment digital tubes. The FPGA chip is connected to a microcontroller, a RAM, and two seven-segment digital tubes. The microcontroller is connected to the control computer via a universal serial bus USB interface. The microcontroller receives the BIOS burning data signal of the serial transmission format controlled by the computer through the USB interface, and converts the B10S burning data signal of the serial transmission format into a B丨〇s burning data signal of the parallel transmission format and outputs the data. To the FPGA chip. The FPGA chip is connected to the computer to be tested through the serial peripheral interface SPI and the low-digit bit interface lpc. The FPGA chip stores the B_0S programming data signal in the parallel transmission format to the RAM. The bios programming data transmission in the parallel transmission format read from the RAM is converted into the data signal in the SPI communication protocol format, and then output through the spi interface. Go to the computer to be tested and perform POST on the computer to be tested. The FPGA chip also receives the POST data signal outputted by the computer to be tested through the LPC interface, converts the POST data signal into a two-digit hexadecimal data, and outputs the two to the two seven-segment digital tube 0 r The seven-segment digital tube displays the two-digit hexadecimal data for the designer to look up the meaning of the two-digit hexadecimal data from the POST code table to locate the POST phase or POST process of the computer to be tested. A failure that occurred in the middle. [0006] A BIOS debugging method includes the following steps: (A) using a microcontroller to receive a BIOS programming data signal in a serial transmission format that controls a computer output through a USB interface; (B) using the microcontroller The BIOS burning data signal of the serial transmission format is converted into the BIOS burning data signal of the parallel transmission format, and the BIOS burning data signal output of the parallel transmission format is 099130051. Form number A0101 Page 5 / 15 pages 0992052724-0 201211761 FPGA chip; (C) use the FPGA chip to store the BIOS burning data signal of the parallel transmission format to the RM; (D) use the chip to read the BI0S programming data signal in the parallel transmission format from the RAM, and the parallel transmission format The B10S burned data signal is converted into the data signal of the SP丨 communication protocol format, and then output to the computer to be tested through the SPI interface to perform POST on the computer to be tested; (E) use the FPGA chip to receive the POST output of the computer to be tested through the LPC interface. Data signal, and convert the P0ST data signal into a two-digit hexadecimal data, and output to two seven-segment digital tubes; and (F) use the two seven-segment The bit tube displays the two-digit hexadecimal data for the designer to look up the meaning of the two-digit hexadecimal data from the P0ST code table, thereby locating the p〇ST phase or POST process of the computer to be tested A failure has occurred. [0007] [0008]

相較於習知技術,本發明所提供之8103調試器及調試方 法,以大容量的RAM替代BIOS晶片,故不需要在待測電腦 上安裝BIOS晶片進行P0ST挪試,以七段數位管替代p〇ST 診斷卡顯示制電腦賴ST狀態,賴成本低且速度快 〇 【實施方式】 參閱圖1所示’是本發明基本輸入輸出系統(basic in-Compared with the prior art, the 8103 debugger and the debugging method provided by the present invention replace the BIOS chip with a large-capacity RAM, so it is not necessary to install a BIOS chip on the computer to be tested for P0ST stealing test, and replace the seven-segment digital tube with a seven-segment digital tube. The p〇ST diagnostic card shows that the computer is in the ST state, and the cost is low and the speed is fast. [Embodiment] Referring to Figure 1 is the basic input/output system of the present invention (basic in-

Put/〇Utput system,BI〇s)調試器較佳實施例的功能 模組圖。該BIOS調試器1〇〇包括微控制器1〇、現場可編 ίΐηρ+^'j ( f ield~programmable gate array, FPGA )3^20 (rand〇m access mem〇ry ’ RAM) 30及兩個七段數位管40。FPGA晶片20與微控制 器10 RAM 30及兩個七段數位管樹目連接。微控制器 099130051 表單編號A0101 第6頁/共15頁 0992052724-0 201211761 Ο [0009] 透過通用串列匯流排(universal serial bus,USB) 介面11連接控制電腦200,並透過USB介面n接收控制電 腦200輸出的串列傳輸格式的^⑽燒錄資料訊號。之後, 微控制器10將串列傳輸格式的BIOS燒錄資料訊號轉換成 並列傳輸格式的BIOS燒錄資料訊號,以提高資料傳輪速 率,並將並列傳輸格式的BIOS燒錄資料訊號輸出至FPga 晶片20。例如,微控制器1〇可以將接收到61仍燒錄資料 中的 xxx.bln” 、 “xxx.rom” 、 “xxx.hex” 等檔案 中的資料訊號由串列傳輸格式轉換為並列傳輸格式。 FPGA晶片20透過串列週邊介面(serial peripheral interface ’ SPI ) 21 及低腳位數(i〇w pin count, LPC)介面22與待測電腦3〇0相連接。 [0010] 設計人員可以根據需要設置FPGA晶片2仏的邏輯單元,使 FPGA晶片20具有不同的邏輯功能。在本貪施例中,fpga 晶片20具有以下邏輯功能: 0 _ FPGA晶片2〇將並列身_格武^BI〇s燒縴資料訊號儲存至 RAM 30。當需要對待測電腦3〇〇進行測試時,fpga晶片 20從RAM 30中讀取並列傳輸格式的81〇8燒錄資料訊號, 將並列傳輸格式的BIOS燒錄資料訊號轉換成spi通訊協定 格式的資料訊號,透過SPI介面21輸出至待測電腦3〇〇, 以對待測電腦300進行開機自檢(p0wer⑽self test ’ POST)。FPGA晶片20透過LPC介面22接收待測電腦 300輸出的post資料訊號,將該P0ST資料訊號轉換成一 個兩位數的十六進位資料(從〇〇〜FF)後,輸出至兩個七 段數位管40。 099130051 表單編號A0101 第7頁/共15頁 0992052724-0 201211761 [0012] [0013] [0014] [0015] [0016] [0017] 七段數位管4 0顯+ 4 τ 頌不该兩位數的十六進位資料,設計人員 可以從POST代碼表巾查找該兩位數的十六進位資料的含 義以定位待'則電腦3〇〇的POST階段或POST過程中出現 的故障。例如“ 〇 n,,+ υ〇代表POST當前階段為“已顯示系統 的配置”,“ m,,化士 η υι代表post當前階段為處理器測試。七 #又數位官4〇是在—定形狀的絕緣材料上,利用發光二級 吕(light-emitting diode,LED)組合排列成 “8” Μ的數位管’分別引出LED的電極,點亮相應的點來顯 示出〇-9的數字或是A_F的字元。 在本實施例中’所述微控制器10、FPGA晶片20、RAM30 及七^又數位管4〇是透過所述|^技介 面11進行供電。 參閱圖2所示’係本發明BI〇s調試方法較佳實施例的流程 圖°需要指出的是,在執行以下方法之前',首先要透過 USB介面11對BI〇S調試器1〇〇進行上電,上電後對BIOS 調试器100的各組成部分進行初始化動作,確認各組成部 分能夠正常工作。 步驟S201 ’微控制器10透過USB介面11接收控制電腦200 輸出的串列傳輸格式的BIOS燒錄資料訊號。 步驟S203 ’微控制器10將串列傳輸格式的^㈧燒錄資料 讯號轉換成並列傳輸格式的BI〇s燒錄資料訊號,並將並 列傳輪格式的BIOS燒錄資料訊號輸出至FPGA晶片2〇。 步驟S205 ’ FPGA晶片20將並列傳輸格式的BIOS燒錄資料 訊號儲存至RAM 30。 [0018]Put/〇Utput system, BI〇s) The function of the preferred embodiment of the debugger module diagram. The BIOS debugger 1 includes a microcontroller 1 现场, a field programmable ΐρ+^'j (f ield~programmable gate array, FPGA) 3^20 (rand〇m access mem〇ry 'RAM) 30 and two Seven-segment digital tube 40. The FPGA chip 20 is connected to the micro controller 10 RAM 30 and two seven-segment digital tube trees. Microcontroller 099130051 Form No. A0101 Page 6 of 15 0992052724-0 201211761 Ο [0009] Connect the control computer 200 through the universal serial bus (USB) interface 11 and receive the control computer via the USB interface n 200 output serial transmission format ^ (10) burn data signal. After that, the microcontroller 10 converts the BIOS burning data signal of the serial transmission format into a BIOS burning data signal of the parallel transmission format to improve the data transmission rate, and outputs the BIOS burning data signal of the parallel transmission format to the FPga. Wafer 20. For example, the microcontroller 1 can convert the data signals in the files of xxx.bln", "xxx.rom", "xxx.hex", etc., which are still in the 61 still burning data, from the serial transmission format to the parallel transmission format. The FPGA chip 20 is connected to the computer to be tested 3〇0 through a serial peripheral interface 'SPI' 21 and a low pin count (LPC) interface 22. [0010] The designer can It is necessary to set the logic unit of the FPGA chip to make the FPGA chip 20 have different logic functions. In the embodiment, the fpga chip 20 has the following logic functions: 0 _ FPGA chip 2〇 will be side by side _格武^BI〇 s burnt fiber data signal is stored in RAM 30. When it is necessary to test the computer to be tested, the fpga chip 20 reads the 81〇8 burn data signal of the parallel transmission format from the RAM 30, and burns the parallel formatted BIOS. The data signal converted into the spi communication protocol format is output to the computer to be tested through the SPI interface 21, and the PC 300 is subjected to a self-test (p0wer(10) self test 'POST). The FPGA chip 20 is connected through the LPC interface 22. The post data signal outputted by the test computer 300 is received, and the P0ST data signal is converted into a two-digit hexadecimal data (from 〇〇 to FF), and then output to two seven-segment digital tubes 40. 099130051 Form No. A0101 [0017] [0017] [0017] [0017] Seven-segment digital tube 4 0 display + 4 τ 颂 not the two-digit hexadecimal data The designer can look up the meaning of the two-digit hexadecimal data from the POST code table to locate the fault that occurs during the POST phase or POST of the computer. For example, "〇n,, + υ〇 On behalf of the current stage of POST is "configured system configuration", "m,, 士士 η υι represents the current stage of the post for the processor test. Seven #又数官4〇 is on the shape of the insulating material, using the light two The light-emitting diode (LED) is arranged in a combination of "8" Μ digital tube's respectively lead to the LED electrode, and the corresponding point is illuminated to display the 〇-9 number or the A_F character. In the example, the microcontroller 10, the FPGA chip 20, the RAM 30, and the seven The bit tube 4 is powered by the ^^ technology interface 11. Referring to Figure 2, a flow chart of a preferred embodiment of the BI〇s debugging method of the present invention. It should be noted that before performing the following method, First, the BI〇S debugger 1 is powered on through the USB interface 11. After power-on, the components of the BIOS debugger 100 are initialized to confirm that each component can work normally. Step S201' The microcontroller 10 receives the BIOS programming data signal of the serial transmission format outputted by the control computer 200 via the USB interface 11. Step S203: The microcontroller 10 converts the (8) programming data signal of the serial transmission format into the BI〇s programming data signal of the parallel transmission format, and outputs the BIOS burning data signal of the parallel transmission format to the FPGA chip. 2〇. Step S205' The FPGA chip 20 stores the BIOS burn data signal in the parallel transfer format to the RAM 30. [0018]

步驟S207,FPGA晶片20從RAM 30讀取並列傳輸格式的 099130051 表單編號A0101 第8頁/共15頁 0992052724-0 201211761Step S207, the FPGA chip 20 reads the parallel transmission format from the RAM 30. 099130051 Form No. A0101 Page 8 of 15 0992052724-0 201211761

[0019] [0020] Ο [0021] [0022] [0023] G[0020] [0023] [0023] G

[0024] [0025] BIOS燒錄資料訊號’將並列傳輸格式的BI0S燒錄資料訊 號轉換成SPI通信協定格式的資料訊號。 步驟S209,FPGA晶片20將SPI通信協定格式的資料訊號 透過SPI介面21輸出至待測電腦3 〇 〇,以對待測電腦3 0 0 進行POST。 步驟S211,FPGA晶片20透過LPC介面22接收待測電腦 300輸出的POST資料訊號’將該p〇ST資料訊號轉換成一 個兩位數的十六進位資料(從〇〇〜FF)後,輸出至兩個七 段數位管40。 步驟S213,兩個七段數位管40顯示所述兩位數的十六進 位資料。 :…Ϊ. 步驟S215,設計人員從POST代碼表中查找該兩位數的十 六進位資料的含義’以定位待測電腦3〇〇的POST階段或 POST過程中出現的故障。 最後應說明的是,以Ji實施方式僅用以說明本發明的技 術方案而非限制,儘管參照較:佳i實.施方式對本發明進行 了詳細說明,本領域的普通技術人員應當理解,可以對 本發明的技術方案進行修改或等同替換,而不脫離本發 明技術方案的精神和範圍。 【圖式簡單說明】 圖1係本發明BIOS調試器較佳實施例之功能模組圖。 圖2係本發明BIOS調試方法較佳實施例之流程圖。 【主要元件符號說明】 099130051 表單編號Α0101 第9頁/共15頁 0992052724-0 201211761 [0026] BIOS調試器:100 [0027] 控制電腦:2 0 0 [0028] 微控制器:10 [0029] FPGA晶片:20 [0030] RAM : 30 [0031] 七段數位管:40 [0032] USB介面:11 [0033] SPI 介面:21 [0034] LPC介面:22 [0035] 待測電腦:300 099130051 表單編號A0101 第10頁/共15頁 0992052724-0[0025] The BIOS burning data signal 'converts the BI0S programming data signal in the parallel transmission format into the data signal in the SPI communication protocol format. In step S209, the FPGA chip 20 outputs the data signal of the SPI communication protocol format to the computer to be tested 3 〇 through the SPI interface 21, and performs POST on the computer to be tested 300. In step S211, the FPGA chip 20 receives the POST data signal output by the computer 300 to be tested through the LPC interface 22, and converts the p〇ST data signal into a two-digit hexadecimal data (from 〇〇 to FF), and then outputs the result to Two seven-segment digital tubes 40. In step S213, the two seven-segment digital tubes 40 display the two-digit hexadecimal data. :...Ϊ. In step S215, the designer looks up the meaning of the two-digit hexadecimal data from the POST code table to locate the fault in the POST phase or the POST process of the computer to be tested. Finally, it should be noted that the Ji embodiment is only used to explain the technical solution of the present invention and is not limited thereto, although the present invention is described in detail with reference to the preferred embodiment, those skilled in the art should understand that Modifications or equivalents of the technical solutions of the present invention are made without departing from the spirit and scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a functional block diagram of a preferred embodiment of the BIOS debugger of the present invention. 2 is a flow chart of a preferred embodiment of the BIOS debugging method of the present invention. [Main component symbol description] 099130051 Form number Α0101 Page 9/15 page 0992052724-0 201211761 [0026] BIOS debugger: 100 [0027] Control computer: 2 0 0 [0028] Microcontroller: 10 [0029] FPGA Wafer: 20 [0030] RAM: 30 [0031] Seven-segment digital tube: 40 [0032] USB interface: 11 [0033] SPI interface: 21 [0034] LPC interface: 22 [0035] Computer to be tested: 300 099130051 Form number A0101 Page 10 of 15 0992052724-0

Claims (1)

201211761 七、申請專利範圍: 1 . 一種BIOS調試器,該BIOS調試器包括微控制器、現場可 編程閘陣列FPGA晶片、隨機存取儲存器RAM及兩個七段數 位管,所述FPGA晶片與微控制器、RAM及兩個七段數位管 相連接,其中: 所述微控制器,透過通用串列匯流排USB介面連接控制電 腦,透過USB介面接收控制電腦輸出的串列傳輸格式的 BIOS燒錄資料訊號,將串列傳輸格式的BIOS燒錄資料訊 Ο 號轉換成並列傳輸格式的B10S燒錄資料訊號後輸出至所 :: : 述FPGA晶片; 所述FPGA晶片,透過串列週邊.介面SPI及低腳位數介面 LPC與待測電腦相連接,將並列傳輸格式的BIOS燒錄資料 訊號儲存至隨機存取儲存器RAM,將從RAM中讀取的並列 傳輸格式的BIOS燒錄資料訊號轉換成SPI通信協定格式的 資料訊號後,透過SPI介面輸出至待測電腦,以對待測電 腦進行開機自檢POST,並透:iStPC#面接枝待測電腦輪出 Q 的POST資料訊號,將該POST資料訊號轉換成一個兩位數 的十六進位資料後,輸出至辦述碥徊七段數位管;及 所述兩個七段數位管,顯示所述兩位數的十六進位資料, 以供設計人員從POST代碼表中查找該兩位數的十六進位 資料的含義,從而定位待測電腦的POST階段或POST過程 中出現的故障。 2 .如申請專利範圍第1項所述之BIOS調試器,其中,所述兩 位數的十六進位資料為“00”至“FF”中的任意一個資 料。 099130051 表單編號A0101 第11頁/共15頁 0992052724-0 201211761 3 · 士申明專利範圍第1項所述之BIOS調試器,其中,所述 段數位管是右 ^ 心任一定形狀的絕緣材料上,利用發光二級昝 τ η r\ 曰 、且。排列成“8”字型的數位管,分別引出LED的電極 透過點免相應的點劃來顯示出0至9的數字或是A至F的 字元。 、 4 · 士申吻專利範圍第1項所述之BIOS調試器,其中,該bI()s 調試器疋透過所述USB介面進行供電。 5 . -種BIOS調試方法,該方法包括以下步驟: 利用微控制器透過通用串列匯流排USB介面接收控制電腦 輸出的串歹11傳輪格式的BIOS燒錄資料訊號; 利用該微控制器將串列傳輸格式的BIOS繞,錄資料訊衆轉 換成並列傳輪格式的BIOS燒錄資料訊號 ,並將並列傳輪 格式的BI〇S燒錄資料訊號輸出至現場可編程閘陣列FPga 晶片; 利用FPGA晶片將並列傳輸格式的BIOS燒錄資料訊號铸存 至隨機存取儲存器RAM ; 利用FPGA晶片從RAM中讀取ϋ財傳輸格式的BIOS燒錄資 料訊號,將並列傳輸格式的Bibs燒錄資料訊號轉換成串 列週邊介面SPI傳輸協定格式的資料訊號後,透過SPI介 面輸出至待測電腦,以對待測電腦進行開機自檢post ; 利用F P G A晶片透過低腳位數介面L p c介面接收待測電腦輸 出的POST資料訊號,並將該p〇ST資料訊號轉換成一個兩 位數的十六進位資料後,輸出至兩個七段數位管;及 利用該兩個七段數位管顯示所述兩位數的十六進位資料, 以供設計人員從POST代碼表中查找該兩位數的十六進位 資料的含義,從而定位待測電腦的p〇ST階段或p〇ST過程 0992052724-0 099130051 表單編號A0101 第12頁/共15頁 201211761 中出現的故障。 6 .如申請專利範圍第5項所述之BIOS調試方法,其中,所述 兩位數的十六進位資料為“00”至“FF”中的任意一個 貧料。 7 .如申請專利範圍第5項所述之BIOS調試方法,其中,所述 七段數位管是在一定形狀的絕緣材料上,利用發光二級管 LED組合排列成“8”字型的數位管,分別引出LED的電極 ,透過點亮相應的點劃來顯示出0至9的數字或是A至F的 字元。 8 .如申請專利範圍第5項所述之BIOS調試方法,其中,所述 微控制器、FPGA晶片、RAM及七段數位管是透過所述USB 介面進行供電。201211761 VII. Patent Application Range: 1. A BIOS debugger comprising a microcontroller, a field programmable gate array FPGA chip, a random access memory RAM and two seven-segment digital tubes, the FPGA chip and The microcontroller, the RAM and two seven-segment digital tubes are connected, wherein: the microcontroller controls the computer through a universal serial bus USB interface, and receives a serial transmission format of the BIOS output through the USB interface. Recording the data signal, converting the BIOS burning data signal of the serial transmission format into the B10S burning data signal of the parallel transmission format and outputting it to the::: FPGA chip; the FPGA chip, through the serial peripheral interface The SPI and the low-bit digit interface LPC are connected to the computer to be tested, and the BIOS burning data signal of the parallel transmission format is stored in the random access memory RAM, and the BIOS burning data signal of the parallel transmission format read from the RAM is read. After being converted into the data signal of the SPI communication protocol format, it is output to the computer to be tested through the SPI interface, and the POST is performed on the computer to be tested, and the iStPC# surface grafting is performed. The POST data signal of the computer to be tested is rotated by Q, and the POST data signal is converted into a two-digit hexadecimal data, and then output to the seven-segment digital tube; and the two seven-segment digital tubes, The two-digit hexadecimal data is displayed for the designer to look up the meaning of the two-digit hexadecimal data from the POST code table, thereby locating the fault occurring during the POST phase or POST of the computer to be tested. 2. The BIOS debugger of claim 1, wherein the two-digit hexadecimal data is any one of "00" to "FF". 099130051 Form No. A0101 Page 11 of 15 0992052724-0 201211761 3 · The BIOS debugger of claim 1, wherein the segment digital tube is an insulating material of a certain shape. Use the illuminating secondary 昝τ η r\ 曰, and. The digital tubes arranged in an "8" shape respectively lead the electrodes of the LEDs to display numbers from 0 to 9 or characters from A to F without corresponding dots. 4. The BIOS debugger of claim 1, wherein the bI()s debugger is powered by the USB interface. 5. A BIOS debugging method, the method comprising the steps of: receiving, by the microcontroller, a BIOS burning data signal of a serial port 11 transmission format controlled by a computer through a universal serial bus USB interface; using the microcontroller The BIOS of the serial transmission format is converted into a BIOS burning data signal of the parallel transmission format, and the BI〇S programming data signal of the parallel transmission format is output to the field programmable gate array FPga chip; The FPGA chip deposits the BIOS burning data signal of the parallel transmission format into the random access memory RAM; uses the FPGA chip to read the BIOS burning data signal of the financial transmission format from the RAM, and parallelizes the Bibs burning data of the transmission format. After the signal is converted into the data signal of the serial interface SPI transmission protocol format, it is output to the computer to be tested through the SPI interface, and the post-test post is performed on the computer to be tested. The FPGA chip is used to receive the test through the low-digit interface L pc interface. The POST data signal output by the computer converts the p〇ST data signal into a two-digit hexadecimal data and outputs it to two seven segments. Bit tube; and using the two seven-segment digit tubes to display the two-digit hexadecimal data, so that the designer can find the meaning of the two-digit hexadecimal data from the POST code table, thereby positioning the test The fault occurred in the p〇ST phase of the computer or the p〇ST process 0992052724-0 099130051 Form No. A0101 Page 12 of 15 201211761. 6. The BIOS debugging method according to claim 5, wherein the two-digit hexadecimal data is any one of "00" to "FF". 7. The BIOS debugging method according to claim 5, wherein the seven-segment digital tube is formed on an insulating material of a certain shape by using a combination of LEDs and LEDs arranged in an "8" shape. The electrodes of the LEDs are respectively led out, and the numbers of 0 to 9 or the characters of A to F are displayed by lighting corresponding dots. 8. The BIOS debugging method of claim 5, wherein the microcontroller, the FPGA chip, the RAM, and the seven-segment digital tube are powered by the USB interface. 099130051 表單編號A0101 第13頁/共15頁 0992052724-0099130051 Form No. A0101 Page 13 of 15 0992052724-0
TW99130051A 2010-09-06 2010-09-06 BIOS debugging device and method TW201211761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99130051A TW201211761A (en) 2010-09-06 2010-09-06 BIOS debugging device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99130051A TW201211761A (en) 2010-09-06 2010-09-06 BIOS debugging device and method

Publications (1)

Publication Number Publication Date
TW201211761A true TW201211761A (en) 2012-03-16

Family

ID=46764407

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99130051A TW201211761A (en) 2010-09-06 2010-09-06 BIOS debugging device and method

Country Status (1)

Country Link
TW (1) TW201211761A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699467A (en) * 2013-12-27 2014-04-02 无锡致新电子科技有限公司 SOC chip burning and debugging method
TWI582699B (en) * 2016-03-18 2017-05-11 神雲科技股份有限公司 Boot Status Notification Method and Server System Using the Same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699467A (en) * 2013-12-27 2014-04-02 无锡致新电子科技有限公司 SOC chip burning and debugging method
CN103699467B (en) * 2013-12-27 2015-05-27 常州新超电子科技有限公司 SOC chip burning and debugging method
TWI582699B (en) * 2016-03-18 2017-05-11 神雲科技股份有限公司 Boot Status Notification Method and Server System Using the Same

Similar Documents

Publication Publication Date Title
TWI291652B (en) Debugging device using a LPC interface capable of recovering functions of BIOS, and debugging method therefor
TW201109913A (en) Main system board error-detecting system and its pluggable error-detecting board
WO2017166211A1 (en) Testing functional component and data debugging method
WO2011009409A1 (en) Jtag apparatus and method for implementing jtag data transmission
CN109298266B (en) Test system, test method, test apparatus, and storage medium
TW201621657A (en) Electronic device
WO2012097695A1 (en) System and method for programming flash memory
CN104679626A (en) System and method for debugging and detecting BIOS (Basic Input / Output System)
TW201211761A (en) BIOS debugging device and method
TWM420703U (en) Power on self test card for mainboard
US6807629B1 (en) Apparatus and method for accessing POST 80h codes via a computer port
CN102385545A (en) BIOS (Basic Input Output System) debugger and debugging method
TW201527965A (en) System and method for detecting a BIOS test process of a computer
JP2013068609A (en) Test card
CN113985321B (en) Cable connection performance testing device and method with intelligent self-learning capability
CN114253781B (en) Test method, device, equipment and storage medium
CN103164308A (en) Debugging system and debugging method
CN212809194U (en) Remote control debugging device
TW201222240A (en) Testing method for automatically rebooting a motherboard and recording related debug information and rebooting device thereof
TW202004501A (en) Memory inspecting system, memory inspecting method, and error mapping table building method for memory inspecting
CN213365381U (en) Main board
TWI254855B (en) Memory simulation device and method thereof
CN103969492A (en) Device and method for detecting processor voltage
TW201115331A (en) Self testing method and system for computing apparatus
CN105786658A (en) Computer system and method capable of detecting internal computer state