TWI426381B - Apparatus and method for testing an embedded system - Google Patents
Apparatus and method for testing an embedded system Download PDFInfo
- Publication number
- TWI426381B TWI426381B TW97146271A TW97146271A TWI426381B TW I426381 B TWI426381 B TW I426381B TW 97146271 A TW97146271 A TW 97146271A TW 97146271 A TW97146271 A TW 97146271A TW I426381 B TWI426381 B TW I426381B
- Authority
- TW
- Taiwan
- Prior art keywords
- test
- embedded system
- signal
- chip
- general
- Prior art date
Links
- 238000012360 testing method Methods 0.000 title claims description 244
- 238000000034 method Methods 0.000 title claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000010998 test method Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims 2
- 235000012431 wafers Nutrition 0.000 description 10
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Tests Of Electronic Circuits (AREA)
Description
本發明涉及一種測試嵌入式系統之技術,尤其係關於一種嵌入式系統之測試裝置及方法。 The present invention relates to a technique for testing an embedded system, and more particularly to a test apparatus and method for an embedded system.
當今企業保證產品品質係企業活動中之重要內容。為提高及保證產品品質,企業必須對產品實施測試以獲得產品及其製造過程之品質資訊,根據該資訊對產品的製造過程實施控制,例如進行修正及補償活動,使廢品及返修率降到最低程度,最終保證產品品質形成過程之穩定性及其產出產品的一致性。 Today's companies guarantee that product quality is an important part of corporate activities. In order to improve and ensure the quality of products, companies must conduct tests on products to obtain quality information about the products and their manufacturing processes. Based on this information, control the manufacturing process of the products, such as correction and compensation activities, to minimize waste and repair rates. To the extent that the stability of the product quality formation process and the consistency of the products produced are ultimately guaranteed.
眾所周知,於嵌入式系統進行測試時,要獲得測試結果,並將其顯示出來通常藉由一台個人電腦與嵌入式系統相連,於個人電腦與嵌入式系統之間進行通訊,將所測試之結果於個人電腦上顯示出來,即藉由個人電腦充當人機介面。然而,由於個人電腦不僅檢測時間過長(僅啟動個人電腦就需要一定時間),且用於購買個人電腦之成本也相對過高,架設機台之空間需求亦較大,如此既費時又耗資,測試成本增加。 It is well known that when testing in an embedded system, the test results are obtained and displayed. Usually, a personal computer is connected to the embedded system to communicate between the personal computer and the embedded system, and the result of the test is tested. Displayed on a personal computer, that is, a personal computer acts as a human-machine interface. However, since the personal computer not only takes too long to detect (it takes a certain time to start the personal computer only), and the cost for purchasing the personal computer is relatively high, the space requirement for the erection machine is also large, which is time consuming and costly. Test costs increase.
鑒於以上內容,有必要提供一種嵌入式系統之測試裝置及方法,用戶無需使用個人電腦充當人機介面即可進行嵌入式系統之測試 ,其結構簡單且佔用空間小、測試方法簡單方便、測試成本較低。 In view of the above, it is necessary to provide a test device and method for an embedded system, and the user can perform the test of the embedded system without using a personal computer as a human-machine interface. The structure is simple, the space is small, the test method is simple and convenient, and the test cost is low.
一種嵌入式系統之測試裝置,該測試裝置與嵌入式系統相連,用於測試嵌入式系統之功能。所述之測試裝置包括讀寫單元、串列匯流排介面、通用輸入輸出晶片、可編程晶片、儲存單元、區段顯示器及LED顯示器。所述之讀寫單元與通用輸入輸出晶片連接,用於將測試參數寫入通用輸入輸出晶片中。所述之串列匯流排介面與嵌入式系統連接,用於所述測試裝置與嵌入式系統之間傳送測試訊號及測試結果代碼。所述之通用輸入輸出晶片,用於保存所述測試參數及測試結果代碼。所述之可編程晶片與通用輸入輸出晶片連接,用於根據測試結果代碼於儲存單元中讀取對應之測試解析資訊。所述之區段顯示器與通用輸入輸出晶片連接,用於即時地顯示測試參數及測試結果代碼。所述之LED顯示器與可編程晶片連接,用於顯示可編程晶片根據測試結果代碼從儲存單元中讀取之測試解析資訊。 A test device for an embedded system that is coupled to an embedded system for testing the functionality of the embedded system. The test device includes a read/write unit, a serial bus interface, a general-purpose input/output chip, a programmable chip, a storage unit, a segment display, and an LED display. The read/write unit is coupled to a general purpose input and output chip for writing test parameters into a general purpose input and output chip. The serial bus interface is connected to the embedded system for transmitting the test signal and the test result code between the test device and the embedded system. The universal input and output chip is configured to save the test parameter and the test result code. The programmable chip is connected to the general-purpose input and output chip, and is configured to read the corresponding test analysis information in the storage unit according to the test result code. The segment display is coupled to a general purpose input and output chip for displaying test parameters and test result codes in real time. The LED display is coupled to the programmable chip for displaying test analysis information that the programmable wafer reads from the storage unit according to the test result code.
一種嵌入式系統之測試方法,利用所述之測試裝置測試嵌入式系統之功能。所述測試裝置包括串列匯流排介面、通用輸入輸出晶片、可編程晶片、儲存單元、區段顯示器及LED顯示器。該方法包括如下步驟:將預先定義之測試解析資訊儲存於儲存單元中;接收用戶設置之測試嵌入式系統之測試參數,並將該測試參數寫入通用輸入輸出晶片中;嵌入式系統產生讀取通用輸入輸出晶片中測試參數之測試訊號;根據串列匯流排介面之介面類型判斷是否需要將嵌入式系統發出之測試訊號轉換成通用輸入輸出晶片相容之讀取訊號;若測試訊號無需進行訊號轉換,則根據測試訊號 從通用輸入輸出晶片中讀取測試參數對嵌入式系統進行測試,並將產生之測試結果代碼寫入通用輸入輸出晶片;若測試訊號需要進行訊號轉換,則將測試訊號轉換成通用輸入輸出晶片相容之讀取訊號,根據該讀取訊號從通用輸入輸出晶片中讀取測試參數對嵌入式系統進行測試,將產生之測試結果代碼轉換成通用輸入輸出晶片相容之資料格式,並將其寫入通用輸入輸出晶片;通用輸入輸出晶片驅動區段顯示器顯示之測試結果代碼;可編程晶片根據測試結果代碼從儲存單元中讀取相應之測試解析資訊,並驅動LED顯示器顯示該測試解析資訊。 A test method for an embedded system, using the test device to test the function of the embedded system. The test device includes a serial bus interface, a general purpose input and output chip, a programmable chip, a storage unit, a segment display, and an LED display. The method comprises the steps of: storing pre-defined test analysis information in a storage unit; receiving test parameters of a test embedded system set by a user, and writing the test parameters into a general-purpose input and output chip; the embedded system generates the read Test signal of the test parameters in the general-purpose input and output chip; determine whether it is necessary to convert the test signal sent by the embedded system into a read signal compatible with the universal input/output chip according to the interface type of the serial bus interface; if the test signal does not need to be signaled Conversion, according to the test signal The embedded system is tested by reading the test parameters from the general-purpose input and output chip, and the generated test result code is written into the general-purpose input/output chip; if the test signal needs to be converted, the test signal is converted into a general-purpose input/output wafer phase. Read the signal, read the test parameters from the general-purpose input and output chip according to the read signal, test the embedded system, convert the generated test result code into a common input and output chip compatible data format, and write it The general input/output chip drives the display of the test result code; the programmable chip reads the corresponding test analysis information from the storage unit according to the test result code, and drives the LED display to display the test analysis information.
相較於習知技術,所述嵌入式系統之測試方法利用嵌入式測試裝置獲取待測嵌入式系統之測試結果代碼,將測試結果代碼及其對應之測試解析資訊顯示出來,用戶可以藉由顯示出來之測試解析資訊得出嵌入式系統之測試結果。該嵌入式測試裝置結構簡單方便,佔用空間小,大大節約了測試成本。 Compared with the prior art, the embedded system test method uses the embedded test device to obtain the test result code of the embedded system to be tested, and displays the test result code and the corresponding test analysis information, and the user can display The test results that come out are the test results of the embedded system. The embedded test device has the advantages of simple and convenient structure, small occupied space, and greatly reduced test cost.
1‧‧‧測試裝置 1‧‧‧Testing device
10‧‧‧讀寫單元 10‧‧‧Reading unit
11‧‧‧串列匯流排介面 11‧‧‧Sorted bus interface
12‧‧‧GPIO晶片 12‧‧‧GPIO Chip
13‧‧‧訊號轉換器 13‧‧‧Signal Converter
14‧‧‧可編程IC 14‧‧‧Programmable IC
15‧‧‧儲存單元 15‧‧‧ storage unit
16‧‧‧區段顯示器 16‧‧‧section display
17‧‧‧LED顯示器 17‧‧‧LED display
2‧‧‧嵌入式系統 2‧‧‧ embedded system
圖1係本發明嵌入式系統之測試裝置較佳實施例之硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of a test apparatus for an embedded system of the present invention.
圖2係本發明利用圖1之測試裝置對嵌入式系統進行測試之方法較佳實施例之流程圖。 2 is a flow chart of a preferred embodiment of the method for testing an embedded system using the test apparatus of FIG.
如圖1所示,係本發明嵌入式系統之測試裝置1較佳實施例之硬體架構圖。所述之測試裝置1包括讀寫單元10、串列匯流排介面11、通用輸入輸出(General Purpose Input Output,GPIO)晶片12、訊號轉換器13、可編程晶片(Programming IC)14、儲存單元15、兩個區段顯示器16及LED顯示器17。本實施例中,所述之 測試裝置1藉由串列匯流排介面11與嵌入式系統2連接,該嵌入式系統2可以為嵌入式電腦系統,或者其他嵌入式電子設備。於測試裝置1中,所述之串列匯流排介面11與訊號轉換器13連接,所述之讀寫單元10、訊號轉換器13、可編程晶片14及區段顯示器16分別與GPIO晶片12連接,所述之儲存單元15及LED顯示器17分別與可編程晶片14連接。 As shown in FIG. 1, it is a hardware architecture diagram of a preferred embodiment of the test apparatus 1 of the embedded system of the present invention. The test device 1 includes a read/write unit 10, a serial bus interface 11 , a general purpose input output (GPIO) chip 12 , a signal converter 13 , a programmable IC 14 , and a storage unit 15 . Two segment displays 16 and an LED display 17. In this embodiment, the The test device 1 is connected to the embedded system 2 by a serial bus interface 11, which may be an embedded computer system or other embedded electronic device. In the test device 1, the serial bus interface 11 is connected to a signal converter 13, and the read/write unit 10, the signal converter 13, the programmable chip 14 and the segment display 16 are respectively connected to the GPIO chip 12. The storage unit 15 and the LED display 17 are respectively connected to the programmable chip 14.
所述之讀寫單元10用於將測試參數寫入GPIO晶片12中。所述之測試參數包括測試嵌入式系統之具體測試專案、測試之初始狀態。所述之讀寫單元10可為單片機,還可為其他任意合適之資料處理設備。於本較佳實施例中,讀寫單元10為一種單片機。 The read/write unit 10 is used to write test parameters into the GPIO wafer 12. The test parameters include testing a specific test project of the embedded system and initial state of the test. The read/write unit 10 can be a single chip microcomputer, and can be any other suitable data processing device. In the preferred embodiment, the read/write unit 10 is a single chip microcomputer.
所述之串列匯流排介面11用於測試裝置1與嵌入式系統2之間傳送測試訊號及測試結果代碼。該串列匯流排介面11通常有以下類型介面:通用串列匯流排介面(Universal Serial Bus,USB)、內部積體電路匯流排(Inter-Integrated Circuit,I2C)、系統管理匯流排介面(System Management Bus,SMBus)及通用非同步接收/發送串列介面(Universal Asynchronous Receiver/Transmitter,UART)等。由於上述每種串列匯流排介面11都有一定之適用範圍,因此於測試裝置1中可以安裝上述各種類型介面之一種或多種組合之串列匯流排介面11以滿足各種測試需要。 The serial bus interface 11 is used for transmitting test signals and test result codes between the test device 1 and the embedded system 2. The serial bus interface 11 generally has the following types of interfaces: Universal Serial Bus (USB), Inter-Integrated Circuit (I 2 C), and system management bus interface ( System Management Bus (SMBus) and Universal Asynchronous Receiver/Transmitter (UART). Since each of the serial bus interfaces 11 has a certain range of application, the serial bus interface 11 of one or more of the above various types of interfaces can be installed in the testing device 1 to meet various testing needs.
所述之GPIO晶片12用於保存讀寫單元10寫入之測試參數及嵌入式系統2返回之測試結果代碼,及驅動兩個區段顯示器16顯示嵌入式系統2返回之測試結果代碼。所述之測試參數及測試結果代碼存放於GPIO晶片12之一電擦除可編程唯讀記憶體(Electrically Erasable Programmable Read Only Memory,EEPROM)中,該測試參數及測試結果代碼通常為一些具體之標示符。具體而言,例如標示符“1”表示測試嵌入式系統2之硬碟,“01”表示測試開始,嵌入式系統2讀取到上述測試參數進入硬碟測試狀態。當嵌入式系統2完成測試之後,將測試結果代碼藉由串列匯流排介面11及訊號轉換器13寫入GPIO晶片12。本實施例中,將測試結果代碼“FF”定義為嵌入式系統2測試成功,將測試結果代碼“FE”定義為嵌入式系統2測試失敗。例如,若嵌入式系統2測試成功,則將測試結果代碼為“FF”寫入GPIO晶片12,以標明嵌入式系統2測試成功;若嵌入式系統2未測試成功,則測試結果代碼為“FE”寫入GPIO晶片12,以標明嵌入式系統2測試失敗。 The GPIO chip 12 is used to store the test parameters written by the read/write unit 10 and the test result code returned by the embedded system 2, and drive the two segment displays 16 to display the test result code returned by the embedded system 2. The test parameters and test result codes are stored in one of the GPIO wafers 12 electrically erasable programmable read-only memory (Electrically In Erasable Programmable Read Only Memory (EEPROM), the test parameters and test result codes are usually specific identifiers. Specifically, for example, the identifier "1" indicates that the hard disk of the embedded system 2 is tested, "01" indicates that the test is started, and the embedded system 2 reads the above test parameters to enter the hard disk test state. After the embedded system 2 completes the test, the test result code is written to the GPIO wafer 12 by the serial bus interface 11 and the signal converter 13. In this embodiment, the test result code "FF" is defined as the embedded system 2 test succeeds, and the test result code "FE" is defined as the embedded system 2 test failure. For example, if the embedded system 2 is successfully tested, the test result code is "FF" written to the GPIO chip 12 to indicate that the embedded system 2 is successfully tested; if the embedded system 2 is not successfully tested, the test result code is "FE" "Write to GPIO chip 12 to indicate that embedded system 2 failed.
所述之訊號轉換器13用於根據串列匯流排介面11之不同介面類型判斷是否需要將嵌入式系統2發出之測試訊號轉換成GPIO晶片12相容之讀取訊號以讀取GPIO晶片12上之測試參數,及當嵌入式系統2測試完成後將測試結果代碼轉換成GPIO晶片12相容之資料格式。具體而言,若測試裝置1與嵌入式系統2係藉由USB介面或者UART介面連接,則需要藉由訊號轉換器13進行訊號轉換,若測試裝置1與嵌入式系統2係藉由I2C介面或者SMBUS介面連接,則無需藉由訊號轉換器13進行訊號轉換。 The signal converter 13 is configured to determine whether the test signal sent by the embedded system 2 needs to be converted into a GPIO chip 12 compatible read signal to read the GPIO chip 12 according to different interface types of the serial bus interface 11 The test parameters, and when the embedded system 2 test is completed, the test result code is converted into a GPIO chip 12 compatible data format. Specifically, if the test device 1 and the embedded system 2 are connected by a USB interface or a UART interface, signal conversion by the signal converter 13 is required, if the test device 1 and the embedded system 2 are by I 2 C The interface or SMBUS interface connection eliminates the need for signal conversion by the signal converter 13.
所述之可編程晶片14用於根據測試結果代碼從所述儲存單元15中讀取對應之測試解析資訊,及驅動所述LED顯示器17顯示讀取之測試解析資訊。所述之儲存單元15用於儲存用戶預先定義之測試解析資訊,該測試解析資訊與測試結果代碼一一對應。例如,若測試結果代碼為“FF”,則LED顯示器17顯示之測試解析資訊為 嵌入式系統2之硬碟測試成功;若測試結果代碼為“FE”,則LED顯示器17顯示之測試解析資訊為嵌入式系統2之硬碟測試失敗。 The programmable chip 14 is configured to read corresponding test analysis information from the storage unit 15 according to the test result code, and drive the LED display 17 to display the read test analysis information. The storage unit 15 is configured to store test analysis information predefined by the user, and the test analysis information is in one-to-one correspondence with the test result code. For example, if the test result code is "FF", the test analysis information displayed by the LED display 17 is The hard disk test of the embedded system 2 is successful; if the test result code is "FE", the test analysis information displayed by the LED display 17 is a hard disk test failure of the embedded system 2.
所述之區段顯示器16與GPIO晶片12相連,用於即時地顯示GPIO晶片12上之測試參數及嵌入式系統2返回之測試結果代碼。例如,用戶選擇測試嵌入式系統2之硬碟時,區段顯示器16開始顯示之測試參數為“01”。當測試結束時,區段顯示器16顯示測試結果代碼為“FE”或“FF”。 The segment display 16 is coupled to the GPIO die 12 for instant display of test parameters on the GPIO die 12 and test result codes returned by the embedded system 2. For example, when the user selects to test the hard disk of the embedded system 2, the test parameter of the segment display 16 starts to be displayed as "01". When the test ends, the segment display 16 displays the test result code as "FE" or "FF".
所述之LED顯示器17用於顯示可編程晶片14根據測試結果代碼從儲存單元15中讀取之測試解析資訊。例如,當區段顯示器16顯示測試結果代碼為“FF”,則LED顯示器17顯示之測試解析資訊為嵌入式系統2之硬碟測試成功。 The LED display 17 is used to display the test analysis information read by the programmable chip 14 from the storage unit 15 according to the test result code. For example, when the segment display 16 displays the test result code as "FF", the test analysis information displayed by the LED display 17 is successful for the hard disk test of the embedded system 2.
所述之嵌入式系統2用於產生讀取GPIO晶片12中測試參數之測試訊號,根據測試訊號讀取GPIO晶片12上之測試參數,並啟動BOOT程式根據測試參數進行POST測試。當嵌入式系統2完成測試之後,將產生之測試結果代碼藉由串列匯流排介面11傳送至測試裝置1。 The embedded system 2 is configured to generate a test signal for reading test parameters in the GPIO chip 12, read test parameters on the GPIO chip 12 according to the test signal, and start the BOOT program to perform a POST test according to the test parameters. After the embedded system 2 completes the test, the generated test result code is transmitted to the test device 1 through the serial bus interface 11 .
如圖2所示,係本發明利用圖1之測試裝置1對嵌入式系統2進行測試之方法較佳實施例之流程圖。 As shown in FIG. 2, a flow chart of a preferred embodiment of the method for testing the embedded system 2 using the test apparatus 1 of FIG.
步驟S20,用戶藉由讀寫單元10將預先定義之測試解析資訊儲存於儲存單元15中,該測試解析資訊與測試結果代碼一一對應。例如,測試結果代碼為“FF”對應之測試解析資訊為嵌入式系統2之硬碟測試成功,測試結果代碼為“FE”對應之解析資訊為嵌入式系統2之硬碟測試失敗。 In step S20, the user stores the pre-defined test analysis information in the storage unit 15 by the reading and writing unit 10. The test analysis information is in one-to-one correspondence with the test result code. For example, the test result code corresponding to the test result code "FF" is the hard disk test of the embedded system 2, and the test result code is "FE" corresponding to the analysis information for the embedded system 2 hard disk test failure.
步驟S21,讀寫單元10接收用戶設置之測試嵌入式系統2之測試參數,並將該測試參數寫入GPIO晶片12中。所述之測試參數包括測試之具體專案、測試之初始狀態,所述測試參數通常為一些具體之標示符。例如,標示符“1”表示測試硬碟,“01”表示測試開始,當嵌入式系統2從GPIO晶片12中讀取到上述測試參數時,則嵌入式系統2開始測試硬碟。 In step S21, the reading and writing unit 10 receives the test parameters of the test embedded system 2 set by the user, and writes the test parameters into the GPIO wafer 12. The test parameters include the specific project of the test, the initial state of the test, and the test parameters are usually some specific identifiers. For example, the identifier "1" indicates a test hard disk, and "01" indicates that the test is started. When the embedded system 2 reads the above test parameters from the GPIO wafer 12, the embedded system 2 starts testing the hard disk.
步驟S22,嵌入式系統2產生讀取GPIO晶片12中測試參數之測試訊號,並將該測試訊號藉由串列匯流排介面11傳送至測試裝置1。 In step S22, the embedded system 2 generates a test signal for reading the test parameters in the GPIO chip 12, and transmits the test signal to the test device 1 through the serial bus interface 11 .
步驟S23,訊號轉換器14根據串列匯流排介面11之介面類型判斷是否需要將嵌入式系統2發出之測試訊號轉換成GPIO晶片12相容之讀取訊號。具體而言,若測試裝置1與嵌入式系統2係藉由USB介面或者UART介面連接,則需要藉由訊號轉換器13進行訊號轉換,若測試裝置1與嵌入式系統2係藉由I2C介面或者SMBUS介面連接,則無需藉由訊號轉換器13進行訊號轉換。 In step S23, the signal converter 14 determines whether it is necessary to convert the test signal sent by the embedded system 2 into a read signal compatible with the GPIO chip 12 according to the interface type of the serial bus interface 11 . Specifically, if the test apparatus 1 and the system 2 by an embedded system with USB interface or UART interface connector, is required by the signal converter 13 for converting the signal, if the test apparatus 1 and the system 2 embedded system by I 2 C The interface or SMBUS interface connection eliminates the need for signal conversion by the signal converter 13.
步驟S24,若測試訊號無需進行訊號轉換,則讀寫單元10根據測試訊號從GPIO晶片12中讀取測試參數,啟動BOOT程式根據該測試參數進行POST測試,並產生對應之測試結果代碼。步驟S25,將嵌入式系統2將測試結果代碼藉由串列匯流排介面11寫入測試裝置1之GPIO晶片12。 In step S24, if the test signal does not need to be converted, the read/write unit 10 reads the test parameters from the GPIO chip 12 according to the test signal, starts the BOOT program to perform a POST test according to the test parameter, and generates a corresponding test result code. In step S25, the embedded system 2 writes the test result code to the GPIO wafer 12 of the test device 1 through the serial bus interface 11 .
步驟S26,若測試訊號需要進行訊號轉換,則訊號轉換器14將該測試訊號轉換成GPIO晶片12相容之讀取訊號,以便讀取GPIO晶片12上之測試參數。步驟S27,讀寫單元10根據轉換之讀取訊號從GPIO晶片12中讀取測試參數,啟動BOOT程式根據該測試參數進行POST測試,並將產生之測試結果代碼藉由串列匯流排介面11傳送 至測試裝置1。步驟S28,訊號轉換器14將測試結果代碼轉換成GPIO晶片12相容之資料格式,並將其寫入GPIO晶片12。 In step S26, if the test signal needs to be converted, the signal converter 14 converts the test signal into a read signal compatible with the GPIO chip 12 to read the test parameters on the GPIO wafer 12. Step S27, the reading and writing unit 10 reads the test parameters from the GPIO chip 12 according to the converted read signal, starts the BOOT program to perform the POST test according to the test parameter, and transmits the generated test result code by the serial bus interface 11 To test device 1. In step S28, the signal converter 14 converts the test result code into a data format compatible with the GPIO chip 12 and writes it to the GPIO wafer 12.
步驟S29,GPIO晶片12驅動區段顯示器16即時地顯示嵌入式系統2返回之測試結果代碼。具體而言,顯示裝置2顯示之資訊都係與測試結果代碼對應之符號資訊,例如,驅動區段顯示器16顯示符號“FF”或“FE”等。 In step S29, the GPIO chip 12 drives the segment display 16 to instantly display the test result code returned by the embedded system 2. Specifically, the information displayed by the display device 2 is symbol information corresponding to the test result code, for example, the drive segment display 16 displays the symbol "FF" or "FE" and the like.
步驟S30,可編程晶片14用於根據測試結果代碼從儲存單元15中讀取對應之測試解析資訊,並驅動LED顯示器17顯示該測試解析資訊。例如,若測試結果代碼為“FF”,則LED顯示器17顯示嵌入式系統2之硬碟測試成功;若測試結果代碼為“FE”,則LED顯示器17顯示嵌入式系統2之硬碟測試失敗。 In step S30, the programmable chip 14 is configured to read the corresponding test analysis information from the storage unit 15 according to the test result code, and drive the LED display 17 to display the test analysis information. For example, if the test result code is "FF", the LED display 17 indicates that the hard disk test of the embedded system 2 is successful; if the test result code is "FE", the LED display 17 displays that the hard disk test of the embedded system 2 has failed.
以上所述僅為本發明之較佳實施例而已,且已達廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等變化或修飾,均應包含在下述之申請專利範圍內。 The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside.
1‧‧‧測試裝置 1‧‧‧Testing device
10‧‧‧讀寫單元 10‧‧‧Reading unit
11‧‧‧串列匯流排介面 11‧‧‧Sorted bus interface
12‧‧‧GPIO晶片 12‧‧‧GPIO Chip
13‧‧‧訊號轉換器 13‧‧‧Signal Converter
14‧‧‧可編程IC 14‧‧‧Programmable IC
15‧‧‧儲存單元 15‧‧‧ storage unit
16‧‧‧區段顯示器 16‧‧‧section display
17‧‧‧LED顯示器 17‧‧‧LED display
2‧‧‧嵌入式系統 2‧‧‧ embedded system
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97146271A TWI426381B (en) | 2008-11-28 | 2008-11-28 | Apparatus and method for testing an embedded system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW97146271A TWI426381B (en) | 2008-11-28 | 2008-11-28 | Apparatus and method for testing an embedded system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201020764A TW201020764A (en) | 2010-06-01 |
TWI426381B true TWI426381B (en) | 2014-02-11 |
Family
ID=44832361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW97146271A TWI426381B (en) | 2008-11-28 | 2008-11-28 | Apparatus and method for testing an embedded system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI426381B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5978937A (en) * | 1994-12-28 | 1999-11-02 | Kabushiki Kaisha Toshiba | Microprocessor and debug system |
TW200837555A (en) * | 2007-03-14 | 2008-09-16 | Ind Tech Res Inst | Debug method |
-
2008
- 2008-11-28 TW TW97146271A patent/TWI426381B/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5978937A (en) * | 1994-12-28 | 1999-11-02 | Kabushiki Kaisha Toshiba | Microprocessor and debug system |
TW200837555A (en) * | 2007-03-14 | 2008-09-16 | Ind Tech Res Inst | Debug method |
Also Published As
Publication number | Publication date |
---|---|
TW201020764A (en) | 2010-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101739322B (en) | Test device and method of embedded system | |
US7797584B2 (en) | SATA interface tester and testing method | |
US10082899B2 (en) | Electronic apparatus with touch panel and method for updating touch panel | |
CN113160875B (en) | Chip testing system and testing method | |
TW202109278A (en) | Display device, electronic system and control method | |
CN101788946B (en) | Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device) | |
CN101739320A (en) | Error detection device and method for server | |
CN119091952A (en) | A memory testing system and a memory testing method | |
CN102103536A (en) | Board test device and method | |
TWI426381B (en) | Apparatus and method for testing an embedded system | |
CN101398467B (en) | Internal integrate circuit bus interface test system and method | |
CN101452415B (en) | Auxiliary device and method for testing embedded system | |
US20090144536A1 (en) | Monitoring method and monitor apparatus | |
US8700826B2 (en) | Controller, computer system and control method thereof | |
US6530048B1 (en) | I2C test single chip | |
US10804966B2 (en) | Storage control device and method thereof | |
CN104679123A (en) | Mainboard and data burning method thereof | |
CN101989219B (en) | Hardware fault detection debugging code information output method, device and system | |
US11126292B2 (en) | Electronic apparatus with touch panel and method for updating touch panel | |
CN102221650B (en) | Test modules for adapter components | |
TWI876444B (en) | Method for performing firmware upgrading in electronic device and micro-control unit equipped with firmware upgrading function | |
TWI768803B (en) | Audio control circuit, host device and associated control method | |
CN104572423A (en) | Debugging system and debugging device and method thereof | |
CN201107774Y (en) | SPI detection card | |
CN117406934A (en) | Flash memory data access method, electric quantity calculation method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |