The present application claims priority to Taiwan patent application Serial No. 112151180 filed on Dec. 28, 2023 the entire content of which is incorporated by reference to this application.
The present invention relates to a method for writing test parameters into board memories, particularly to a method capable of improving the efficiency of writing test parameters.
To enhance testing efficiency, a typical test device needs to simultaneously test multiple chips under test. The test device is equipped with a plurality of test boards, each of which can define a plurality of test sites. Chips under test are placed into these test sites for testing. In practice, a single test site may correspond to a plurality of pins of a test board, with each corresponding pin electrically connected to a corresponding pad of the chip under test. Through this connection, the test board can read data from or write data to the chip under test at the test site. However, when the test device writes test parameters into the board memories of these test boards, it often requires a considerable amount of time.
Please refer to
Next, in step S92, the conventional test device converts the test code of each channel into a corresponding set of test parameters. For example, a channel may transmit test codes such as 0, 1, 2, etc., where test codes 0, 1, and 2 each represent a specific test pattern. Then, in step S94, the conventional test device combines the physical addresses of the board memories with the corresponding test parameters in a plurality of registers. Here, the conventional test device needs to allocate one register for each test board, allowing the register to first combine the physical address of the corresponding board memories with the test parameters. For instance, address 0 of the register for test board No. 0 needs to store “the test parameters corresponding to physical address 0 of the board memory,” address 1 needs to store “the test parameters corresponding to physical address 1 of the board memory,” and so forth.
Finally, in step S96, the conventional test device writes the data from the register of each test board into the corresponding board memory. For example, the conventional test device writes the data from the register of test board No. 0 into the first row of the board memory of test board No. 0, representing the test task to be executed by test board No. 0 at a first time (time interval). In other words, the test parameters stored at address 0 of the register are written into physical address 0 of the board memory, and the test parameters stored at address 1 of the register are written into physical address 1 of the board memory. Those skilled in the art will understand that the test device needs to continuously execute a plurality of test tasks for the chips under test. This means that the conventional test device often has to repeat steps S92 to S96 several times to complete writing a series of test tasks. In particular, repeatedly combining the physical addresses of the board memories with the corresponding test parameters in the registers (S94) is time-consuming, and allocating a register for each test board also incurs higher costs. Accordingly, there is a need in the industry for a new method for writing test parameters into board memories to reduce hardware costs and improve the testing efficiency of the test device.
The present invention provides a method for writing test parameters into board memories, which eliminates the need to combine the physical address of the board memory with the corresponding test parameters in the register, thereby reducing the number of registers required and improving the testing efficiency of the test device.
The present invention provides a method for writing test parameters into board memories, used in a test device having a plurality of test boards, each of the test boards having N pins. The method comprises: establishing a channel-pin mapping table associated with each of the test boards, the channel-pin mapping table indicating that an i-th channel among M channels corresponds to a j-th pin among the N pins of the respective test board; converting each test code transmitted by the M channels at a first time into a corresponding set of test parameters; maintaining a channel-code mapping table in a test register, the channel-code mapping table storing the set of test parameters corresponding to the i-th channel among the M channels at the first time; and writing the set of test parameters corresponding to the i-th channel at the first time into a physical address of the board memory of each corresponding test board based on the channel-pin mapping table and the channel-code mapping table. Wherein the physical address of the board memory is associated with the j-th pin among the N pins, M and N are positive integers, i is a positive integer not greater than M, and j is a positive integer not greater than N.
In some embodiments, the method for writing test parameters into board memories further comprises: converting each test code transmitted by the M channels at a second time into another corresponding set of test parameters to update the channel-code mapping table maintained in the test register, the channel-code mapping table indicating the set of test parameters corresponding to the i-th channel among the M channels at the second time; and writing the set of test parameters corresponding to the i-th channel at the second time into the board memory of each corresponding test board based on the channel-pin mapping table and the updated channel-code mapping table. Here, the set of test parameters stored in the board memory of each test board corresponding to the first time is a first test task, and the set of test parameters stored corresponding to the second time is a second test task subsequent to the first test task. Additionally, each of the test boards is provided with at least one test position, the test position being configured to accommodate a chip under test, and the test position defining a plurality of connection pads, each of the connection pads corresponding to one of the N pins.
In summary, the method for writing test parameters into board memories provided by the present invention utilizes the establishment of a channel-pin mapping table and a channel-code mapping table to significantly reduce the time required to combine the physical address of the board memory with the corresponding test parameters. Furthermore, the present invention requires only one test register, unlike the conventional approach that necessitates allocating a corresponding register for each test board, thereby not only reducing costs but also improving the testing efficiency of the test device.
The features, targetions, and functions of the present invention are further disclosed below. However, it is only a few of the possible embodiments of the present invention, and the scope of the present invention is not limited thereto; that is, the equivalent changes and modifications done in accordance with the claims of the present invention will remain the subject of the present invention. Without departing from the spirit and scope of the invention, it should be considered as further enablement of the invention.
Please refer to
Unlike the conventional method for writing test parameters into board memories, this embodiment does not require repeatedly combining the physical address of the board memory with the corresponding test parameters in registers multiple times. For a practical example, assume the test device determines that the first channel corresponds to pin No. 63 of test board No. 3 and pin No. 0 of test board No. 0, the second channel corresponds to pin No. 62 of test board No. 3 and pin No. 1 of test board No. 0, and the third channel corresponds to pin No. 61 of test board No. 3 and pin No. 2 of test board No. 0.
In step S10, the test device of this embodiment can pre-establish a channel-pin mapping table associated with each test board. For example, as illustrated in
Next, in step S12, the test device of this embodiment can convert each test code transmitted by all channels at a first time into a corresponding set of test parameters. For example, at the first time, each channel may respectively transmit its own test code, such as 0, 1, 2, L, H, X, Z, V, etc., each representing a specific test pattern. In one example, test code 0 may correspond to command signals comprising parameters TP, IO, and CARE, allowing the test device to combine these parameters (TP, IO, and CARE) to form the test pattern indicated by the channel. Those skilled in the art should understand the meanings of parameters TP, IO, and CARE, and this embodiment will not elaborate further on them.
Next, in step S14, the test device of this embodiment can provide a test register, and the test register can maintain a channel-code mapping table. Here, the channel-code mapping table can store the set of test parameters corresponding to the i-th channel among M channels at the first time. Please refer to
Next, in step S16, the test device of this embodiment writes the set of test parameters stored in the test register (corresponding to the first time) into the physical address of the board memory of the corresponding test board based on the channel-pin mapping table and the channel-code mapping table stored in the test register. Using the example above, please refer to
The test device of this embodiment can then determine, based on the channel-pin mapping table of test board No. 0, that pins No. 1, 2, . . . correspond to channels named 2, 3, . . . , allowing the test device to retrieve the test parameters corresponding to the channels named 2, 3, . . . and write them into the physical addresses No. 1, 2, . . . of the board memory of test board No. 0. Similarly, the test device of this embodiment can further determine, based on the channel-pin mapping table of test board No. 3, that pins No. 63, 62, 61, . . . correspond to channels named 1, 2, 3, . . . , allowing the test device to retrieve the test parameters corresponding to the channels named 1, 2, 3, . . . and write them into the physical addresses No. 63, 62, 61, . . . of the board memory of test board No. 3.
After the test device of this embodiment writes the test parameters of all channels corresponding to the first time into the board memory of each test board, it can then proceed to process test tasks associated with a second time. In practice, the channel-pin mapping table associated with each test board, which indicates the hardware connection relationships, should remain unchanged between consecutive test tasks. Therefore, the test device of this embodiment can reuse the already established channel-pin mapping table associated with each test board without needing to re-establish it.
Assuming the test task at the second time is similar to the test task at the first time, the test device of this embodiment returns to step S12 in
In summary, the method for writing test parameters into board memories provided by the present invention utilizes the establishment of a channel-pin mapping table and a channel-code mapping table to significantly reduce the time required to combine the physical address of the board memory with the corresponding test parameters. Furthermore, the present invention requires only one test register, unlike the conventional approach that necessitates allocating a corresponding register for each test board, thereby not only reducing costs but also improving the testing efficiency of the test device.
Number | Date | Country | Kind |
---|---|---|---|
112151180 | Dec 2023 | TW | national |