TWI228219B - Method for recording test procedure - Google Patents

Method for recording test procedure Download PDF

Info

Publication number
TWI228219B
TWI228219B TW91134590A TW91134590A TWI228219B TW I228219 B TWI228219 B TW I228219B TW 91134590 A TW91134590 A TW 91134590A TW 91134590 A TW91134590 A TW 91134590A TW I228219 B TWI228219 B TW I228219B
Authority
TW
Taiwan
Prior art keywords
test
memory
self
test code
electronic device
Prior art date
Application number
TW91134590A
Other languages
Chinese (zh)
Other versions
TW200408938A (en
Inventor
Kuen-Hung Huang
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW91134590A priority Critical patent/TWI228219B/en
Publication of TW200408938A publication Critical patent/TW200408938A/en
Application granted granted Critical
Publication of TWI228219B publication Critical patent/TWI228219B/en

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention provides a method for recording test procedure. A signal transmitting device and a storage device are arranged on the circuit board of an electronic device. A recording procedure is configured between any two test procedures of power-on self test of the electronic device. When starting to perform power-on self test, the electronic device executes the recorded procedure after executing a test procedure at each time to sequentially transmit, via the signal transmitting device, the testing code of the test procedure executed by the power-on self test to the storage device for being stored as a testing record.

Description

1228219 --. 五、發明說明(1) 發明所屬之技術領域: 之開機自:=ί η::之方法’尤指-種電子裝置 序之測試代碼可被記錄成後’該測試程 先前技術: 按’對於電腦之用戶 ^ 電腦幾乎是每天必做的事:…丁開電腦之電源、,以啟動 (〇perating System,簡稱但電腦在顯示作業系統 行了那些處理?相 )之開機晝面前,到底 !從從打開電源; = 未:t楚:為能了解電 茲作以下簡單之說明· 、一 釗,迅腦進行那些處理, 在傳統電腦的啟動過程中七 ^ μ ^ 我檢測機制。對於採用Award有一套非吊完善的開機自 到電源開始進行開 i〇s的電腦而言,其自接收 成-百多個檢測步㉟。測機制之幾秒鐘内’就可以完 念:動過程前,必須了解兩個基本概 如七㈣,簡稱’BI〇;mv先(Basic input 〇吻以 封裝在該電鵰曰基本輸/入輸出系統實際上就是被 直之一組程库aa ,其係負責協調和管理電腦應體 制。在傳續且為該電腦提供最低階、最直接的硬體控 統,而之:多硬體中,都設有基本輸入輸出系 出系統)、 勺硬體如·主機板(也稱為系統基本輸入輸 '、 、示卡整合電子式驅動介面(Integrated 1228219 -五、發明說明(2)1228219-. V. Description of the invention (1) The technical field to which the invention belongs: Started from: = ί η :: Method 'especially-a test code for an electronic device sequence can be recorded' The prior process of the test process : Press' For computer users ^ Computer is almost a must-do thing every day: ... turn on the computer's power to start (〇perating System, but the computer does what the operating system does?) In the end! Turn on the power from the following; = Not: t Chu: In order to understand the electricity, make the following simple instructions, Yizhao, Xunao performs those processing, and the detection mechanism during the traditional computer startup process. For a computer that uses Award to have a complete set of non-suspended start-ups to power on, it has received more than a hundred detection steps since it was received. The measurement mechanism can be completed within a few seconds: Before moving, you must understand two basic outlines such as seven ㈣, referred to as' BI〇; mv first (Basic input 〇 kiss to encapsulate the basic input / input in the electric carving) The output system is actually a group of libraries aa, which is responsible for coordinating and managing the computer application system. In the continuation and providing the computer with the lowest level and most direct hardware control system, and in the multi-hardware, All are equipped with a basic input and output system), hardware such as a motherboard (also known as the system's basic input / output system), a graphics card integrated electronic drive interface (Integrated 1228219-V. Description of the invention (2)

Dr lve Electronics,簡稱:iDE)、小型電腦系統介面 (Small Computer System lnterface ,簡稱:SCSI)、網 路卡(Network Interface Card)···等以及其它一些設備, 都存在基本輸入輸出系統,其中系統基本輸入輸出系統是 我們要說明的部份,因為電腦的啟動過程,係在系統基本 輸入輸出系統的控制下進行的。系統基本輪入輸出系統之 開機程序’一般係被存放在主機板之唯讀記憶體(R〇M) 中’所以即使在電腦關機或失去電源之後,開機程序也不 會憑空消失。 第一個基本概念是記憶體的儲存地址,通常電腦中安 裝有具有一定記憶容量之記憶體,為了便於電腦之中央處 理為之存取’這些記憶體的每一個位元組(b y t e )都被職予 了一個地址。例如:三十二百萬位元組(32MB)的地址範 圍’係使用十六進制數表示,也就是其儲存地址由〇〜 1FFFFFFH,其中〇〜FFFFFH的低端1MB記憶體非常特殊,因 為以3 2位元之處理器而言,其能夠直接存取的記憶體最大 只有1MB ’因此這1MB的低端64〇千位元組(KB)被稱為基本 記憶體,而儲存地址由A0 0 0 0H〜BFFFFii要保留給顯示卡的 使用的’此外儲存地址由C0 0 0 0 H〜FFFFFH則被保留給電腦 所有硬體之基本輪入輸出系統使用,其中系統基本輸入輸 出系統一般佔用最後的64KB或更多一點的空間,而顯示卡 之基本輸入輪出系統一般在儲存地址C〇〇〇〇H〜C7FFFH處, 整合電子式驅動介面的基本輸入輸出系統,則在儲存地址 C8000H〜CBFFFH 處。Dr lve Electronics (abbreviation: iDE), Small Computer System Interface (abbreviation: SCSI), Network Interface Card (...) The basic input-output system is the part we want to explain, because the computer startup process is performed under the control of the system's basic input-output system. The booting process of the system's basic input-output system is generally stored in the ROM of the motherboard. Therefore, the booting process will not disappear even after the computer is turned off or power is lost. The first basic concept is the storage address of the memory. Usually, a memory with a certain memory capacity is installed in the computer. In order to facilitate the central processing of the computer to access it, each byte of these memories is I have an address. For example, the address range of 32 megabytes (32MB) is expressed in hexadecimal numbers, that is, its storage address is from 0 to 1FFFFFFH, and the low-end 1MB memory of 0 to FFFFFH is very special because For a 32-bit processor, the maximum amount of memory that can be directly accessed is only 1MB '. Therefore, the 1MB low-end 64 kilobytes (KB) is called basic memory, and the storage address is A0. 0 0 0H ~ BFFFFii is reserved for the use of the graphics card. In addition, the storage address is reserved by C0 0 0 0 H ~ FFFFFH is reserved for the basic round-in-output system of all hardware of the computer. The basic input-output system of the system generally occupies the last 64KB or more, and the basic input and output system of the graphics card is generally stored at the addresses of C000000H ~ C7FFFH, and the basic input / output system integrated with the electronic drive interface is stored at the addresses of C8000H ~ CBFFFH Office.

第5頁 1228219Page 5 1228219

解了這坚丞本概念之後,下面我們將詳細說明電腦 文電源後到進入作業系統之開機畫面前,電腦之啟動 過程: 一 弟:步·當我們按下電腦之電源開關時,該電腦之電 二了應:所提供之電源,將開始向主機板和其它硬體供 ^ 此時所提供之電壓尚不穩定,其主機板控制晶片組 = pset) ’會向其中央處理單元(CPU)發出並保持一個重 # —ESET) k唬,讓中央處理單元初始化。俟,電源開始 思疋供電後(從不穩定到穩定之電壓,其過程是非長短暫 2 ,/亥控制晶片組便取消重置信號,相同的,若是手動 文了兒腦面板上所設之重置按鈕來重新啟動電腦,那麼鬆 α +重置按紐後,该控制晶片組就會取消去重置信號,係 ^央處理單元立即從儲存地FFFFOH處,開始執行指令, k個儲存地址在系統之基本輸入輸出系統之地址範圍内 無論是AWard BI〇s還是Bi〇s,放在這裡的只是—’ 轉指令,跳到系統基本輸人輸出系統中真正的啟動代碼桃 嚴 〇 w 一第_步·系統基本輸入輸出系統的啟動代碼, 進行就是開機自我測試(P〇wer 〇n Self Test,簡稱·要 post),開機自我測試的主要任務,是檢測系統中的— 關鍵設備是否存在和能否正常工作,#記憶體和顯示卡1 =。由於,該開機自我測試之檢測過程在顯示卡初始 月1 ’因此,如果在開機自我測試的過程中發現了一此i t 錯决,如沒有找到記憶體或者記憶體有問題時(開機自致命After understanding this concept, we will explain in detail the computer startup process after the computer power is turned on before entering the operating system boot screen: Brother: Step · When we press the computer ’s power switch, the computer ’s Responding to electricity: The supplied power will start to supply the motherboard and other hardware ^ At this time, the voltage provided is not stable, and its motherboard control chipset = pset) 'will be supplied to its central processing unit (CPU) Issue and hold a heavy # —ESET) kbl and let the central processing unit initialize. Alas, after the power supply started to think about the power supply (from unstable to stable voltage, the process is non-long and short 2), the / HI control chipset cancels the reset signal, the same, if you manually set the weight on the brain panel Set the button to restart the computer, then after releasing the alpha + reset button, the control chipset will cancel the reset signal, and the central processing unit immediately starts executing instructions from the storage location FFFFOH, k storage addresses are The basic input and output system of the system, whether it is AWard BI0s or Bi0s, is placed here just-'transfer instruction, jump to the real boot code in the system's basic input and output system. _Step · The system's basic input and output system startup code is carried out as a power-on self test (Pοwer 〇n Self Test, referred to as a post). The main task of the power-on self-test is to detect the presence of key equipment in the system. Whether it works properly, #Memory and graphics card 1 =. Because the detection process of the boot-up self-test is in the initial month of the graphics card 1 ', so if the boot-up self-test process I found this indecision, such as when no memory was found or there was a problem with the memory

第6頁 1228219 五、發明說明(4) =试過程只檢查640κ常規記 =出來的,這時系統開機自我^式疋可通去在顯示器上被 务聲來報丘_ #举彳主、^ 。μ電細之剩口八 測試過:ί= ^ ;在—般正常情況下,開機自我 卡的基本輸人輸出系、统,存 2⑯技寻顯不 :讀記憶體的起始地址通常在⑽。心,二::工:: 二糸卡基本輸入輪出系統之後,;== 多數Γ :ΐ本輸入輸出系統來完成顯示卡的初始化。大 卡在這個過程通常會在顯示幕上顯示出一些顯示 下31b心,如:生產廠商、圖形晶片類型、 容查也就是我們一般開機時所看到的第一個晝面,=過這 固旦面幾乎是一閃而過的,也有的顯示卡之基本輸入輸出 ί統使用了延時功㉟’以便用戶可以看清顯示的信息。接 者糸統基本輸入輸出系統會查找其它硬體的基本輸入輸出 系統程序,找到後同樣要調用該等硬體之基本輸入輸出系 統内部的初始化代碼來初始化該等硬體。 ” / 第四步··查找完所有其它硬體的基本輪入輸出系統之 後’系統基本輸入輸出系統將顯示它自已的啟動畫面,其 中包括有系統基本輸入輸出系統的類型、序列號和版本號 等内容。同時其顯示器底端左下角會出現主機板信息代化 碼’包含系統基本輸入輸出系統的版本日期、主機板之控 制晶片組型號、主機板的識別編碼及廠商代碼等。Page 6 1228219 V. Description of the invention (4) = Only the 640κ routine record is checked during the test. At this time, the system boots itself up. It can be reported on the display by the voice of the service. # 举 # 主 、 ^. μElectrical details left to test: ί = ^; Under normal circumstances, the basic input and output systems and systems of the self-card on booting are stored in memory. Finding the obvious: the starting address of the memory is usually at ⑽ . Mind, two :: work :: After the basic input and output system of the second card is released, == most of the Γ: this input and output system completes the initialization of the display card. In this process, the big card usually displays some 31b hearts on the display screen, such as: the manufacturer, the type of graphics chip, and the capacity check is the first daytime surface we usually see when we turn on the machine. Once the screen is almost flashed, some of the basic input and output of the graphics card all use the delay function so that the user can clearly see the displayed information. The basic I / O system of the system will look for the basic I / O system programs of other hardware. After finding the same, the initialization code inside the basic I / O system of these hardware will be called to initialize the hardware. "/ Step 4 ·· After finding all the basic hardware I / O systems of other hardware, the 'System Basic I / O System will display its own startup screen, which includes the type, serial number and version number of the system's basic I / O system. At the same time, at the bottom left of the display, the motherboard information code will appear, including the version date of the system ’s basic input and output system, the motherboard ’s control chipset model, the motherboard ’s identification code, and the manufacturer ’s code.

第7頁 1228219 五、發明說明(5) 單元以和:著系統基本輸入輸出系統將檢測… 這就是我們開機看丄央處:;單 =二在顯示器上, 來系統基本輸入輪出系統開始測試主機所主頻。接下 量,並同時在顯示器上顯示記憶體被測4::己憶體容 f就是一般在該顯示器上半部份- i飛速翻节=夏數值, 數器。而這個過程我們可以在基本輸入輸出“的記憶體計 擇快逮檢測"或者耗時多的,,全面出檢^^置中選 由上圮可知,在電腦之啟動過程之第二牛方式。 開機自我測試之檢測過程在該顯示卡初始[:由於該 就是說電腦之顯示器在該開機自我測試進行,也 無:会顯示出任何晝…在—般正常情況二過程中,是 測试過程進行得非常.夬’我們幾乎盔遠開機自我 故,此時若發現了 一些錯誤是盔=見到這個過程, 來的,使得用戶也無法進行相:庙μ t不器上被顯示出 開機自我測試係透過該電腦έ,"之is。々排除’此時,該 处电知之喇叭發聲來 惟,該喇叭以其發出之聲立 =口1曰决丨月况 錯誤類型,且依據不同廠商(A ^旦口-人文乃代表各種 所製造之基本輸入輸出系統,夂:MI、Awar“ph〇enix) 相同聲音的長短和次數表:,:该錯誤類型不-定是依 來相當多的困擾,尤其i j對於1用f在使=帶 根本不可能完全了解各廠商::於電腦不热悉: 2錯誤類型,甚至一般電 以^ 和次 數對應錯誤類型之手冊’亦無法了::誤;;,此外,電 1228219Page 7 1228219 V. Description of the invention (5) Unit and: The system's basic input and output system will detect ... This is where we turn on and watch the central office: single = two on the display, come to the system basic input wheel out system to start testing The main frequency of the host. Take the measurement and display the memory on the display at the same time. 4 :: Self-memory appearance f is generally on the upper part of the display-i rapid turning = summer value, counter. And in this process, we can select quick detection in the memory of the basic input and output "or it takes a lot of time to complete the inspection ^^. From the above, we can see that the second best way in the startup process of the computer . The test process of the boot-up self-test starts at the beginning of the video card [: because it means that the computer's display is performed during the boot-up self-test, and there is no: it will show any day ... In the normal normal situation, the process is the test process. It ’s going very well. 夬 'We almost start the helmet to start ourselves, so if we find some errors at this time, the helmet = see this process, so that the user can not perform the phase: the startup self is displayed on the temple The test was made through the computer, "is." Excluded 'At this time, the speaker of the electric sound here sounds, but the speaker stands with its sound = mouth 1 said decision 丨 month status error type, and according to different manufacturers (A ^ Dankou-Humanities represents various basic input and output systems manufactured, 夂: MI, Awar "ph〇enix) The length and frequency of the same sound:,: The type of this error may not be dependent on quite a lot Bother For ij, it is impossible to fully understand the manufacturers with the f = band. It is impossible to fully understand the manufacturers: 2 The types of errors, even manuals that correspond to the types of errors with ^ and the number of times. In addition, electricity 1228219

腦之製造廠商在研發階段時,必須針對電 ΚΔ. ^ -T- JL. 如所有份進打 除“,而在電腦之開機自我測試過程中, ^ te , ^ AiL . 此日"Γ若發生錯 型係具有參考價值,但其並無法直接提供給 研兔人貝麥考,且最重要的是該喇叭所發 .L 出之聲音的長短 和次數並不容易記憶及分辨,故,若能以〜種較便捷、直 接的記錄錯誤類型方式’令電腦之用戶可逯過讀取錯誤類 型’而獲知目前錯誤的類型,相信是大眾所樂見的。 發明内容: 有鑑於傳統電腦利用其剩ϋ八所發出之聲音的長短和次 數代表各種錯誤類型,並不容易記憶及分辨,發明人經過 長久努力研究與實驗,終於開發設計出本發明之一種記錄 測試程序之方法,該方法係在一電子裝置之開機自我測試 之任二測試程序間設有一記錄程序’俾該電子裝置開始進 行開機自我測試時,其每執行一測減程序後’可再執行該 記錄程序,以透過該電子裝置所設之一訊號傳送元件,依 序將該開機自我測試所進行測試程序之測試代碼,傳送到 該電子裝置所設之一儲存元件中儲存成一測試記錄。 為便貴審查委員能對本發明之目的、形狀、構造裝 置特徵及其功效,做更進一步之認識與瞭解,茲舉實施例 配合圖示,詳細說明如下· 實施方式: 本發明係一種記錄測試程序之方法,請參閱第1圖所During the R & D phase of the brain manufacturer, the manufacturer must address the electric charge Δ. ^ -T- JL. If all copies are deleted, and during the computer's boot-up self-test, ^ te, ^ AiL. Today " Γ 若The occurrence of the wrong type is of reference value, but it cannot be directly provided to the research rabbit man Bemai Kao, and the most important thing is that the length and number of sounds produced by the speaker. L are not easy to remember and distinguish. Therefore, if It is possible to know the current error type in a more convenient and direct way to record the error type 'so that the user of the computer can read the error type', which is believed to be popular with the public. Summary of the Invention: In view of the traditional computer using its The length and frequency of the sound emitted by the left eighth represent various types of errors, and it is not easy to remember and distinguish. After a long period of research and experiment, the inventor finally developed a method for recording a test program of the present invention. The method is An electronic device is provided with a recording program between any two self-testing procedures of the boot-up self-test. "When the electronic device starts the boot-up self-test, each time it performs a test-reduction procedure." Then execute the recording program to sequentially transmit the test code of the test procedure performed by the boot-up self-test through a signal transmission component provided in the electronic device to a storage component provided in the electronic device to store a test record. In order that the review committee can further understand and understand the purpose, shape, structural features and functions of the present invention, the examples are illustrated in detail with the illustrations as follows. Implementation: The present invention is a record test Procedure method, please refer to Figure 1.

1228219 五、發明說明(7) I °亥方法係在一電子裝置(如··電腦)之電路板1 (如··主 )設有一訊號傳送元件如·· Inter-Integrated 二⑶11,簡稱UC BUS),該訊號傳送元件1〇可接收該 代傳兮來f之開機自我測試之測試代碼,並可傳送該測試 情卿’ ^電路板上另設有一儲存元件12(如:非揮發性記 ^俾#储存元件12並與該訊號傳送元件10相連接’且 :子裴置開始進行開機自我測試(p〇wer 〇n Seif ’間稱:P0ST)時,其每執行一測試程序後,可再執 序,令該訊號傳送元件10可依序接收該開機自 i二Γ"式過程之測試代碼,嗣,按照其接收順序將 錄。如傳达到該儲存元件12中’並儲存成一測試記 錯爷,i§該電子裝置在該開機自我測試之過程中發生 4;儲广热法完成開機自我測試時’彳藉由-解讀裝置解 以:=ΓΓ記錄1由該解讀裝置之顯= 碼,了解透過觀察被顯示出來的測試代 Γ角午違開機自我測試過程中發生錯誤。 在口亥方法中’該開機自我 俾該開機自m “中又有一解讀軟體, 自我測試時程中發現了錯誤,❿無法完成開機 該訊號傳逆元取我測试將執行該解讀軟體,以透過 己錄中的測試代碼輸出至該電錄將 以透過觀察被顯示出來 "之,''、員不态1 4, 過程中發生铒,,w 代馬,了解該開機自我測試 來報告錯4^4立統電腦以其制。八發聲 耳a長短和次數並不容易記憶及分辨1228219 V. Description of the invention (7) The I ° method is a circuit board 1 (such as the main computer) of an electronic device (such as a computer) provided with a signal transmission component such as Inter-Integrated II CU11, referred to as UC BUS ), The signal transmitting element 10 can receive the test code of the self-test of the power generation transmitted from the generation f, and can transmit the test information '^ There is also a storage element 12 on the circuit board (such as: non-volatile memory ^俾 #Storage element 12 is connected to the signal transmission element 10 'and: When Zi Peizhi starts the power-on self-test (p〇wer 〇n Seif': P0ST), after each test procedure, it can be re- Perform the order, so that the signal transmission element 10 can sequentially receive the test code of the boot-up process from the “i”, and, according to the order in which it is received, record it. If it is transmitted to the storage element 12, it is stored as a test error Ye, i§ the electronic device occurred during the boot-up self-test 4; when the storage-wide heat method completed the boot-up self-test, '彳 by-the interpretation device explained: = ΓΓ record 1 by the display device's display = code, Understand the test generation shown through observation An error occurred during the self-test during the boot time. In the method of mouth, there should be an interpretation software in 'this boot self, this boot self m', and an error was found in the self-test schedule, and the signal transmission could not be completed. The take me test will run the interpretation software to output the test code in the recorded to the record will be displayed through observation " ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, w Daima, understand the boot-up self-test to report the wrong 4 ^ 4 stand-alone computer. It is not easy to remember and distinguish the length and frequency of the eight vocal ears a

第10頁 i 1228219 五、發明說明(8) 之缺點。 在本發明之一較佳實施例中,該電子裝置係可為一電 腦,而該電路板1乃該電腦之主機板,該主機板上設有複 數個令該電腦正常運作之硬體,該訊號傳送元件丨〇係可為 該主機板上之一直接記憶體存取(Direct Mem〇ryPage 10 i 1228219 V. Disadvantages of the invention (8). In a preferred embodiment of the present invention, the electronic device may be a computer, and the circuit board 1 is a main board of the computer. The main board is provided with a plurality of hardware for the computer to operate normally. The signal transmission element 丨 〇 is a direct memory access (Direct Mem〇ry

Access ’簡稱:DMA)控制器,而該儲存元件12係可為該主 機板上具非揮發(N 〇 n - V 〇 1 a t i 1 e )特性之一記憶體,俾該電 子I置之電源被開啟,而開始進行開機自我測試之任二測 试耘序間,該電子裝置將依照下列步驟進行處理: 首先’設定該直接記憶體存取控制器之一直接記憶體 存取輸出入埠’作為接收及傳送該測試代碼之通道; 同司,執行该圮錄程序,以利用該直接記憶體存取 入埠接收該測試代碼; 再將所接收到的該測試代碼傳送到該記憶體中, 存成一測試記錄。 增 在該實施例中,該訊 之一南橋控制晶片之雙向 Integrated Circuit ,簡 (System Management Bus 1 2係可為該主機板上之串 列匯流排或系統管理匯流 式記憶體時,該測試代碼 或系統管理匯流排之協定 為能更了解之記錄程 號傳送元件1 0係可為該主機板上 兩線式串列匯流排(Inter-稱I2C),或系統管理匯流排 ,簡稱·· SMbus),而該儲存元件 列式記憶體,俾該雙向兩線式串 排將該測試代碼,傳送到該串列 係依照該雙向兩線式串列匯流拆 儲存在該串列式記憶體中。 序係如何被設在該開機自我漁丨試Access' abbreviation: DMA) controller, and the storage element 12 can be a non-volatile (N 〇-V 〇 1 ati 1 e) memory on the motherboard. Turn on, and start any second test sequence of the boot-up self-test. The electronic device will process according to the following steps: First, 'set one of the direct memory access controller's direct memory access I / O port' as A channel for receiving and transmitting the test code; the same company executes the recording procedure to use the direct memory access port to receive the test code; and then transmits the received test code to the memory, storing Make a test record. In this embodiment, the test code is a two-way Integrated Circuit of the South Bridge control chip. When the System Management Bus 1 2 is a serial bus or a system management bus on the motherboard, the test code Or the system management bus agreement is to better understand the recording program number transmission element 10 can be the two-line serial bus (Inter-I2C) on the motherboard, or the system management bus, referred to as SMbus ), And the storage element serial memory, the bidirectional two-wire serial transmission of the test code to the serial is stored in the serial memory according to the bidirectional two-wire serial bus. How the sequence system is set up in this boot self fishing

1228219 五、發明說明(9) 中及.亥/則4代碼所代表之錯誤内容,今特舉以康柏 (Compaq)電腦為例說明,在該電腦中其測試代碼乃分別對 應一個測试程序,如下所示:1228219 V. Description of the invention (9) and the error content represented by the code of. HAI / Ze 4. Here we will take a Compaq computer as an example. The test code in this computer corresponds to a test program. ,As follows:

0 6 0 H 061H 0 6 2 H 0 6 3 H 0 64H 0 6 5 H 0 5 2 H 0 5 3H 0CCH ;Start of memory test ° ;Enter protected mode ° ;Start memory sizing o ;Get CMOS expected memory size ° ;Compare CMOS to detected o ;Start test 〇f extended memory 。 ;Start VDU option ROM search o ;Vector to VDU option ROMs 。 ;Autoconfigure PC I devices o 其中π 0 6 0 H〜OCCH" 為測試代碼,而該等測試代碼右侧 之文字描述為錯誤内容,而該電腦原來之開機自我測試之 部份過程乃如下所示: call … m〇v a 1,OCCh out 84h,a 1 mov al,52h0 6 0 H 061H 0 6 2 H 0 6 3 H 0 64H 0 6 5 H 0 5 2 H 0 5 3H 0CCH; Start of memory test °; Enter protected mode °; Start memory sizing o; Get CMOS expected memory size ° ; Compare CMOS to detected o; Start test 〇f extended memory. ; Start VDU option ROM search o; Vector to VDU option ROMs. ; Autoconfigure PC I devices o where π 0 6 0 H ~ OCCH " is the test code, and the text on the right side of these test codes is described as the error content, and the part of the computer's original boot-up self-test is as follows: call… m〇va 1, OCCh out 84h, a 1 mov al, 52h

第12頁 1228219 五、發明說明(ίο) out 8 4h, a 1 mov a 1,5 3h out 8 4h, a 1Page 12 1228219 V. Description of the invention (ο) out 8 4h, a 1 mov a 1, 5 3h out 8 4h, a 1

其中n Cal 1、m〇v、out"…等為開機自我測試之測試指 令,而n al,0CChn、n 84h,aln…等為開機自我測試之測試 語法,而"84hn為被設定之存取輸出入埠,n OCCh、52h及 53h…等為測試代碼,故,在本發明中,乃在上述之任二 測试程序間加入該記錄程序’而该記錄程序係為C 1 1 writed_post",俾該電腦原來之開機自我測試之部份過 程,將改為如下所示:Among them, n Cal 1, m0v, out " etc. are test instructions for booting self-test, and nal, 0CChn, n 84h, aln, etc. are test syntax for booting self-test, and " 84hn is a stored memory Take the input and output ports, n OCCh, 52h, 53h, etc. are test codes. Therefore, in the present invention, the recording program is added between any of the above two test programs, and the recording program is C 1 1 writed_post " Part of the original self-test process of the computer will be changed as follows:

mo v a 1, OCCh out 84h,al call wr i t ed_pos t mo v a 1, 5 2h out 84h,a 1 call wr i ted_post mo v a 1,5 3h out 84h, a 1 call wr i t ed_pos tmo v a 1, OCCh out 84h, al call wr i t ed_pos t mo v a 1, 5 2h out 84h, a 1 call wr i ted_post mo v a 1, 5 3h out 84h, a 1 call wr i t ed_pos t

第13頁 1228219Page 13 1228219

叩隹啟動母—個測 〇CCh、5 2h及5 3h ...箄)碼後’該等測試代碼(如: 成-測試記錄俾可藉由該= = 中’並儲存 測試記錄的之内容,以透t貝、3牛吻軟體’讀取該 碼,了解該開機自我測試過程中發生錯誤。3 知’本發明可運用電腦上現有之元件竭…J: 新的元件或外接硬體設備,即可達成本案’相信對製造電 腦之廠商、研發人員或一般用戶而言,將帶來莫大的^ ' 益。 按,以上所述,僅為本發明最佳之一具體實施例,惟 本發明之構造特微並不侷限於此,任何熟悉該項技藝者在 本發明領域内,町輕易思及之變化或修飾,皆可涵蓋在以 下本案之專利範圍。叩 隹 After starting the mother—a test code of 0CCh, 5 2h, and 5 3h ... 箄), these test codes (such as:-test record) can be used to store the contents of the test record "Read this code with Tpe, 3 Niu kiss software" to understand that an error occurred during the self-test of the boot. 3 Know that the present invention can use existing components on the computer to exhaust ... J: new components or external hardware equipment That is to say, it is believed that it will bring great benefits to manufacturers, R & D personnel or general users who manufacture computers. According to the above, it is only one of the best specific embodiments of the present invention. The structural features of the invention are not limited to this, and any changes or modifications easily considered by those skilled in the art in the field of the present invention can be covered by the scope of patents in the following case.

12282191228219

第15頁Page 15

Claims (1)

12282191228219 六、申請專利範圍 1 · ,種記錄测石式程序之方、去 ^ 該電子裝置之開機自我測試之任二^ $法係在〜電子裝置 一記錄程序,且該電子裝置至少包括武&序間,分別設有 一儲存元件,該訊號傳送元件與有一訊號傳送元件及 起,俾該電子裝置開始進行開機自^凡,相互電連接在一 測試程序後,可再執行該記錄程序,试時’其每執行一 件,依序將該開機自我測試所進行=透過該訊號傳送元 傳送到該儲存元件中儲存成一測二二f程序之測試代碼, 2.如申請專利範圍第丨項所述之#。 t測試係設有一解讀軟體,俾該開機自 現了錯誤,而無法完成開機自我測試日士我利武的過程中發 將執行該解讀軟體,以透過該訊號j專^,該開機自我測試 電子裝置之顯示器。 …錄中的測試代碼輸出至該 / 3.如申請專利範圍第丨項所述之方 置係可為一電腦,而該電路, ’,、中该電子裝 板上設有複數個令該電腦正 ^;知之主機板,該主機 件係可為該主機板上之一直接記情俨:體,該訊號傳送元 存元件係可為該主機板上具非發2:取控制杰,而該儲 電子裝置之電源被開啟,而進行^機=一記憶豸,俾該 程序間,該電子|士置將I 开;自我測試之任二測試 兒于衣置將依照下列步騾進行處理·· 先,堍定該直接記憶體存取控制哭之一直接$ _ ^ 存取輸出入埠,作Ά M & n沾,士 σσ之直接圮體 作為接收及傳送該測試代碼之通道; ’執行該記錄程序,以利用該直接記憶體存取輸出 第16頁 1228219 六、申請專利範圍 入埠接收該測試代碼; 再將所接收到的該測試代碼傳送到該記憶體中,並儲 存成一測試記錄。 4. 如申請專利範圍第3項所述之方法,其中該訊號傳 送元件係可為該主機板上之一南橋控制晶片之雙向兩線式 串列匯流排’而該儲存元件係可為該主機板上之串列式記 憶體,俾該雙向兩線式串列匯流排將該測試代碼,傳送到 該串列式記憶體時’該測試代碼係依照該雙向兩線式串列 匯流排之協定儲存在該串列式記憶體中。 5. 如申請專利範圍第3項所述之方法,其中該訊號傳 送元件係可為該主機板上之一系統管理匯流排,而該儲存 元件係可為該主機板上之串列式記憶體,俾該系統管理匯 流排將該測試代碼,傳送到該串列式記憶體時,該測試代 碼係依照該系統管理匯流排之協定儲存在該申列式記憶體 中 0Sixth, the scope of application for patents is 1. A method of recording the stone-testing procedures, and ^ the second one of the self-test of the electronic device ^ $ method is in ~ the electronic device records a program, and the electronic device includes at least In the sequence, a storage element is provided, and the signal transmission element and a signal transmission element are connected together. The electronic device starts to start up. After being electrically connected to a test program, the recording program can be executed again. 'Each time it is executed, the boot-up self-test is performed in sequence = the test code transmitted to the storage element through the signal transmission element is stored as a test code of test 22, 2. as described in item 丨 of the scope of patent application Of #. The t test system is provided with an interpretation software. The startup self-test has failed, and the startup self-test cannot be completed. During the process, the interpretation software will be executed to pass the signal j, and the startup self-test electronic device. Of the display. … The test code in the record is output to this / 3. The system described in item 丨 of the scope of patent application can be a computer, and the circuit, ',, and the electronic mounting board are provided with a plurality of computers. Knowing the main board, the main board can be a direct memory of the main board: the body, the signal transmission element storage element can be a non-fighting 2: take control card on the main board, and the The power of the electronic storage device is turned on, and the machine ^ machine = a memory 俾, during this program, the electronic | Shi Zhi will be turned on; any two tests of self-test in the clothes will be processed according to the following steps ... First, determine one of the direct memory access control channels: direct $ _ ^ access to the I / O port, and use M & n as the direct link of σσσ as the channel for receiving and transmitting the test code; The recording program to use the direct memory to access and output Page 16 1228219 6. Apply for a patent in the port to receive the test code; then send the received test code to the memory and store it as a test record . 4. The method as described in item 3 of the scope of patent application, wherein the signal transmission element can be a two-way two-wire serial bus of a south bridge control chip on the motherboard and the storage element can be the host When the serial memory on the board, the bidirectional two-wire serial bus sends the test code to the serial memory. The test code is based on the protocol of the bidirectional two-wire serial bus. Stored in this serial memory. 5. The method as described in item 3 of the scope of patent application, wherein the signal transmission component can be a system management bus on the motherboard, and the storage component can be a serial memory on the motherboard. When the system management bus transmits the test code to the serial memory, the test code is stored in the declarative memory according to the protocol of the system management bus. 0 第17頁Page 17
TW91134590A 2002-11-28 2002-11-28 Method for recording test procedure TWI228219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW91134590A TWI228219B (en) 2002-11-28 2002-11-28 Method for recording test procedure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW91134590A TWI228219B (en) 2002-11-28 2002-11-28 Method for recording test procedure

Publications (2)

Publication Number Publication Date
TW200408938A TW200408938A (en) 2004-06-01
TWI228219B true TWI228219B (en) 2005-02-21

Family

ID=35668098

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91134590A TWI228219B (en) 2002-11-28 2002-11-28 Method for recording test procedure

Country Status (1)

Country Link
TW (1) TWI228219B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI384362B (en) * 2008-09-30 2013-02-01 Inventec Corp Method of viewing test log file and computer program product using the method
TWI421701B (en) * 2010-12-06 2014-01-01 Inventec Corp Computer system
US8677182B2 (en) 2010-11-19 2014-03-18 Inventec Corporation Computer system capable of generating an internal error reset signal according to a catastrophic error signal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045899B (en) * 2018-10-11 2024-02-09 环达电脑(上海)有限公司 Method for displaying BIOS information in early stage of computer system startup self-check

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI384362B (en) * 2008-09-30 2013-02-01 Inventec Corp Method of viewing test log file and computer program product using the method
US8677182B2 (en) 2010-11-19 2014-03-18 Inventec Corporation Computer system capable of generating an internal error reset signal according to a catastrophic error signal
TWI421701B (en) * 2010-12-06 2014-01-01 Inventec Corp Computer system

Also Published As

Publication number Publication date
TW200408938A (en) 2004-06-01

Similar Documents

Publication Publication Date Title
CN105938450B (en) The method and system that automatic debugging information is collected
JP6124994B2 (en) Method and system for restoring from legacy OS environment to Unified Extensible Firmware Interface (UEFI) pre-boot environment, and computer program
KR100990188B1 (en) A method for booting a host device from an MMC/SD device, a host device bootable from an MMC/SD device and an MMC/SD device method a host device may be booted from
CN106030548B (en) Multinode maincenter for trust computing
TW200405209A (en) Method and system for linking firmware modules in a pre-memory execution environment
US6006344A (en) Keyboard controlled diagnostic system
TW200528978A (en) ROM-embedded debugging of computer
US20050172038A1 (en) System and method for processing computer I/O port POST codes
US20130132776A1 (en) Method for outputting power-on self test information, virtual machine manager, and processor
TWI228219B (en) Method for recording test procedure
TW201705015A (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
CN116627472A (en) Firmware program upgrading method and server of high-speed peripheral component equipment
CN110955566B (en) Error detecting method
TWI245987B (en) Automatic error-detection voice device on motherboard
JPH08252373A (en) Security system of microcomputer for game machine control
JP5788611B2 (en) Method and apparatus for saving state prior to reset for evaluation after reset
TWI221959B (en) Method and computer system using a debug system to boot up
TWI317470B (en)
WO2019169615A1 (en) Method for accessing code sram, and electronic device
TWI475486B (en) Method for executing key function and electronic apparatus
US10592256B2 (en) Early boot display system
US10372661B1 (en) Firmware debug trace capture using serial peripheral interface
TW200807235A (en) Testing system and method
CN100426234C (en) Method for self turn-on test time for measuring basic input and output system
JP2015130023A (en) Information recording device, information processor, information recording method and information recording program