The disclosures herein relate generally to computer systems and more particularly to a system and method for initiating a manufacturing mode.
In the process of manufacturing a computer system, certain manufacturing functions need to be performed. In order to perform these functions, the computer system needs to determine when to initiate a manufacturing mode. One way for the computer system to know when to initiate a manufacturing mode is to have a human operator cause the mode to be initiated. Unfortunately, a human operator may fail to initiate or exit the mode at the proper time resulting in errors in the manufacturing process.
It would be desirable to automatically detect a manufacturing mode without the need for human intervention or additional equipment. Therefore, what is needed is a system and method for initiating a manufacturing mode.
One embodiment, accordingly, provides a system that includes a computer system configured to boot using a system firmware. The system firmware includes instructions for causing the computer system to detect a test apparatus coupled to the computer system and initiate a manufacturing mode of the system firmware in response to detecting the test apparatus coupled to the computer system.
A principal advantage of this embodiment is that it allows a manufacturing mode of a system firmware to be initiated without the need for additional equipment. The manufacturing mode is initiated in response to communications between a computer system and a test apparatus. By using existing components of the computer system and the test apparatus, human intervention is not needed to enable or initiate the manufacturing mode. Accordingly, the likelihood of human error may be reduced and the manufacturing process may be enhanced.
a is a first portion of a flowchart illustrating an embodiment of a method for performing functional tests on a computer system and for transferring information between a test apparatus and a computer system.
b is a second portion of a flowchart illustrating an embodiment of a method for performing functional tests on a computer system and for transferring information between a test apparatus and a computer system.
As used herein, the term “computer system” refers to any computing device configured to execute software and is also intended to cover a computer subassembly where one or more components that may comprise the finished computing have not been installed. Accordingly, the term “computer system” may refer to either a partially assembled computing device or a fully assembled computing device in the description herein.
Test apparatus 180 includes a memory 190. Memory 190 stores information 196 including a serial number 192 and a network address 194. Test apparatus 180 is configured to detachably couple to computer system 100 as indicated by an arrow 178. Test apparatus 180 may be a functional verification system (FVS) or other type of test apparatus configured to cause functional tests to be performed on computer system 100. Functional tests verify the functionality of one or more components of computer system 100 including its various computer chips and subsystems. Test apparatus 180 may include the ability to cause the operation of computer system 100 to be simulated at the operational speed of computer system 100 as well as verify the functionality of one or more components of computer system 100. Test apparatus 180 may be a “bed of nails” tester configured to connect to solder points of the motherboard of computer system 100, a plug-in board tester configured to connect to one or more ports of the motherboard, or any other type of tester configured to communicate with computer system 100. In addition, test apparatus 180 may transfer information to and from computer system 100 using any port of computer system 100 such as an ITP port, a JTAG port, a serial port, a parallel port, a USB port, an IR port, or other type of port. In one particular embodiment described in more detail below, test apparatus 180 transfers information to and from computer system 100 using a port configured to access registers 112 on processor 110 such as an ITP port or a JTAG port.
In the manufacturing process of computer system 100, computer system 100 may lack the software needed to boot itself, i.e. it may lack a system firmware. As used herein, the term “system firmware” refers to software configured to boot and/or perform basic setup and initialization functions in a computer system. One example of a system firmware is a basic input output system (BIOS). In one embodiment, circuit 170, which includes system firmware 172, is coupled to slot 146 as indicated by arrow 148 during the manufacturing process and system firmware 172 is used to boot computer system 100. In other embodiments, circuit 170 may be coupled to another port in computer system 100. In the process of booting computer system 100, system firmware 172 causes various components and subsystems of computer system 100, such as system memory 122, to be initialized.
System firmware 172 includes instructions configured to cause computer system 100 to determine whether it is coupled to test apparatus 180. In response to detecting that computer system 100 is coupled to test apparatus 180, instructions in system firmware 172 cause a manufacturing mode of system firmware 172 to be initiated. In response to a manufacturing mode being initiated, system firmware 172 causes certain operations to be performed by computer system 100 and test apparatus 180. These operations include storing system firmware 172 onto a storage device on computer system 100, programming information onto one or more devices in computer system 100, and providing information from computer system 100 to test apparatus 180.
In order to determine whether test apparatus 180 is coupled to computer system 100, system firmware 172 includes instructions that attempt to cause computer system 100 to communicate with test apparatus 180. In one embodiment, computer system 100 and test apparatus 180 communicate by handshaking various predefined values using registers 112 and buffer 124. Test apparatus 180 uses a port that allows direct access to processor 110 and registers 112, such as an ITP port or a JTAG port. In this embodiment, the handshaking is triggered by a predefined trap operation, such as an input/output (I/O) operation or a memory operation, that causes test apparatus 180 to trap. In other embodiments, computer system 100 and test apparatus 180 may communicate by handshaking information using other storage locations such as CMOS locations or I/O locations.
System firmware 172 includes instructions that cause predefined values to be stored in registers 112. System firmware 172 also includes instructions that cause a trap operation to be performed. Test apparatus 180 detects the trap operation, accesses the values in registers 112, and performs a function associated with a control code stored as one of the values in registers 112. The function performed by test apparatus 180 may include storing information from computer system 100 into memory 190 in the test apparatus or storing information into buffer 124 or other locations on computer system 100.
To determine whether test apparatus is coupled to computer system 100, system firmware 172 includes instructions that cause computer system 100 to set buffer 124 to a known value such as by clearing buffer 124, i.e. setting buffer 124 to all zeros. Although buffer 124 is shown as being in system memory 122 in the embodiment of
After the control code, buffer identifier, and verification value are stored into registers 112, instructions in system firmware 172 cause a trap operation to be performed. Test apparatus 180 detects the trap operation and accesses the values in registers 112. Test apparatus 180 verifies that the verification value is included in registers 112. If the verification value is not included in registers 112, then test apparatus 180 ignores the control code and resumes its normal functions. If the verification value is not included in registers 112, then test apparatus 180 examines the control code in registers 112. In this case, the control code is a predefined value that causes test apparatus 180, if present, to store another value, i.e. a test string, into the location associated with the buffer identifier, i.e. buffer 124. System firmware 172 includes instructions that cause computer system 100 to determine whether test apparatus 180 stored the test string into buffer 124. If computer system 100 detects the test string in buffer 124, then system firmware 172 determines that test apparatus 180 is coupled to computer system 100 and causes a manufacturing mode of system firmware 172 to be initiated. If computer system 100 does not detect the test string in buffer 124, then system firmware 172 determines that test apparatus 180 is not coupled to computer system 100 and does not cause a manufacturing mode of system firmware 172 to be initiated.
In response to the manufacturing mode being initiated, instructions in system firmware 172 cause various functions to be performed by transferring control codes and other information between computer system 100 and test apparatus 180 using registers 112 and buffer 124. Instructions in system firmware 172 cause functions to be initiated by computer system 100. These instructions cause a control code, a verification value, and/or other information to be stored in registers 112 and a trap operation to be performed as discussed above. In response to a trap operation, verification value, and a control code, test apparatus 180 either performs a function using information provided by computer system 100 or provides information 196 to computer system 100 to allow computer system 100 to perform a function using information 196. Several of these functions performed by computer system 100 and test apparatus 180 will now be described. Other functions are possible and contemplated.
System firmware 172 includes instructions that cause information to be received from test apparatus 180 and stored or programmed onto computer system 100. This information includes a serial number of computer system 100, a network address, such as a 6-byte Ethernet MAC address, of computer system 100, and/or a completion code.
In the case of the serial number, system firmware 172 includes instructions that cause buffer 124 to be cleared, cause a “get serial number” control code, a buffer identifier associated with buffer 124, and a verification value to be stored in registers 112, and cause a trap operation to be performed. In response to detecting the trap operation, test apparatus 180 ensures that the verification value is included in registers 112 and detects the “get serial number” control code and buffer identifier. Test apparatus 180 causes serial number 192 to be stored in the location associated with the buffer identifier, i.e. buffer 124. After serial number 192 is stored into buffer 124, instructions in system firmware 172 cause serial number 192 to be accessed and stored or programmed onto one or more devices on computer system 100. Instructions in system firmware 172 cause status information associated with the storing of serial number 192 to be conveyed to test apparatus 180.
If serial number 192 was successfully stored onto the device, then instructions in system firmware 172 cause a “serial number successful” control code to be stored in registers 112 and cause a trap operation to be performed. Test apparatus 180 detects the “serial number successful” control code and stores information associated with this control code into memory 190.
If serial number 192 was not successfully stored onto the device, then instructions in system firmware 172 cause a “serial number unsuccessful” control code to be stored in registers 112 and cause a trap operation to be performed. Test apparatus 180 detects the “serial number unsuccessful” control code and stores information associated with this control code into memory 190.
In the case of the network address, system firmware 172 includes instructions that cause buffer 124 to be cleared, cause a “get network address” control code, a buffer identifier associated with buffer 124, and a verification value to be stored in registers 112, and cause a trap operation to be performed. Test apparatus 180 responds to the trap operation and “get network address” control code by causing network address 194 to be stored in buffer 124 in a way similar to that just described for serial number 192. After network address 194 is stored into buffer 124, instructions in system firmware 172 cause network address 194 to be accessed and stored or programmed onto one or more devices on computer system 100 such as NIC 142 and system memory 122. Instructions in system firmware 172 cause status information associated with the storing of network address 194 to be conveyed to test apparatus 180.
If network address 194 was successfully stored onto the device, then instructions in system firmware 172 cause a “network address successful” control code to be stored in registers 112 and cause a trap operation to be performed. Test apparatus 180 detects the “network address successful” control code and stores information associated with this control code into memory 190.
If network address 194 was not successfully stored onto the device, then instructions in system firmware 172 cause a “network address unsuccessful” control code to be stored in registers 112 and cause a trap operation to be performed. Test apparatus 180 detects the “network address unsuccessful” control code and stores information associated with this control code into memory 190.
In the case of the completion code, system firmware 172 includes instructions that cause buffer 124 to be cleared, cause a “get completion code” control code, a buffer identifier associated with buffer 124, and a verification value to be stored in registers 112, and cause a trap operation to be performed. Test apparatus 180 responds to the trap operation and “get completion code” control code by causing a completion code (not shown) to be stored in buffer 124 in a way similar to that just described for serial number 192 and network address 194. After the completion code is stored into buffer 124, instructions in system firmware 172 cause the completion code to be accessed and stored or programmed onto one or more devices on computer system 100. The completion code may be used to verify that functional tests were performed and/or successfully completed by test apparatus 180 on computer system 100.
Another function performed during the manufacturing mode of system firmware 172 involves storing or flashing system firmware 172 onto a device such as flash chip 160 on computer system 100. System firmware 172 includes instructions that cause system firmware 172 to be stored onto a device on computer system 100 automatically or in response to certain conditions being met during the manufacturing mode. The storing of system firmware 172 onto the device is done in conjunction with test apparatus 180 to allow test apparatus 180 to attempt to overcome any problems that might arise on from a system firmware hang condition during a verification process associated with the storing.
After computer system 100 boots using system firmware 172, instructions in system firmware 172 cause a store operation to be initiated by storing a “begin flash verification” control code in registers 112 and performing a trap operation. In response to the trap operation, test apparatus 180 starts a watchdog timer to monitor the flash operation. If the watchdog timer expires before computer system 100 indicates that the store operation has completed, then test apparatus 180 stores information indicating the that store operation failed.
In response to the store operation being initiated, instructions in system firmware 172 cause a system firmware previously stored on flash chip 160 to be validated. If the validation process indicates that the previous system firmware is invalid, corrupt, or is not the proper version, then instructions in system firmware 172 cause system firmware 172 to be stored or flashed onto flash chip 160. If the validation process indicates that the previous system firmware is the same version as system firmware 172 and is not corrupt or invalid, then instructions in system firmware 172 do not cause system firmware 172 to be stored or flashed onto flash chip 160.
After system firmware 172 is either stored or not stored onto flash chip 160 according to the validation process, instructions in system firmware 172 cause status information to be conveyed to test apparatus 180 by storing an appropriate control code in registers 112 and performing a trap operation. The control code may indicate that:
After the functions performed during the manufacturing mode of SYSTEM FIRMWARE 172 complete, instructions in system firmware 172 cause a “manufacturing mode complete” control code to be stored in registers 112 and cause a trap operation to be performed. Test apparatus 180 responds to the trap operation and the control code by determining that the manufacturing mode has completed all of the functions in the manufacturing mode process.
In one particular embodiment where processor 110 is an x86 processor such as the Pentium III processor, the EBX, ECX, EDX, EDI, and ESI registers may be used to handshake information between computer system 100 and test apparatus 180. Specifically, control codes may be stored in the EBX register, verification codes may be stored in the ECX register, and buffer identifiers may be stored in the EDX and EDI registers. In addition, the ESI register may be set to all zeros.
Although the above embodiment described computer system 100 and test apparatus 180 communicating by handshaking information using registers 112 and buffer 124, computer system 100 and test apparatus 180 may communicate in other ways in other embodiments.
a and 7b are a first portion and a second portion of a flowchart illustrating an embodiment of a method for performing functional tests on a computer system and for transferring information between a test apparatus and a computer system. In
The flowchart continues at point A on
If information is not to be received from the computer system as determined in step 710, then a determination is made as to whether information is to be provided by the test apparatus to the computer system as indicated in step 714. If information is to be provided by the test apparatus to the computer system, then the information is provided by the test apparatus to the computer system as indicated in step 716. A determination is made as to whether the functional tests are complete as indicated in step 718. If the functional tests are not complete, then step 702 is repeated, i.e. the flowchart continues at point B on
If information is not to be provided by the test apparatus to the computer system, then a determination is made as to whether the functional tests are complete as indicated in step 718. If the functional tests are not complete, then step 702 is repeated, i.e. the flowchart continues at point B on
As can be seen, the principal advantages of these embodiments are that they allow a manufacturing mode of a system firmware to be initiated without the need for additional equipment. The manufacturing mode is initiated in response to communications between a computer system and a test apparatus. By using existing components of the computer system and the test apparatus, human intervention is not needed to enable or initiate the manufacturing mode. Accordingly, the likelihood of human error may be reduced and the manufacturing process may be enhanced.
Although illustrative embodiments have been shown and described, a wide range of modification, change and substitution is contemplated in the foregoing disclosure and in some instances, some features of the embodiments may be employed without a corresponding use of other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the embodiments disclosed herein.
Number | Name | Date | Kind |
---|---|---|---|
5535330 | Bell | Jul 1996 | A |
5864698 | Krau et al. | Jan 1999 | A |
5875293 | Bell et al. | Feb 1999 | A |
5978946 | Needham | Nov 1999 | A |
5987625 | Wolff | Nov 1999 | A |
6175919 | Ha | Jan 2001 | B1 |
6289448 | Marsland | Sep 2001 | B1 |
6330622 | Schaefer | Dec 2001 | B1 |
6487610 | Schaefer | Nov 2002 | B2 |
6532216 | Tennyson | Mar 2003 | B1 |
6622178 | Burke et al. | Sep 2003 | B1 |
6654816 | Zaudtke et al. | Nov 2003 | B1 |
6681351 | Kittross et al. | Jan 2004 | B1 |
6751569 | Merkin et al. | Jun 2004 | B2 |
Number | Date | Country |
---|---|---|
2000-207295 | Jul 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20020104040 A1 | Aug 2002 | US |