摘要 |
PURPOSE:To debug firmware itself without waiting for an actual device to be completed by loading a control program and a correct solution value in a dummy main memory, and comparing he result value of simulation with the correct solution value and debugging the firmware to be tested. CONSTITUTION:The control program and data such as the correct solution value for a processor 1 are loaded previously in a main memory 4. The processor 1 accesses an input/output device 5, and a dummy peripheral equipment 6 with a certain instruction in a test program to obtain its result value and then passes the control to a comparative decision program. The comparative decision program compares the obtained result value with the correct solution value and stores the result value and the execution address of its instruction in the main memory 4 unless said compared values are equal to each other. In this case, the firmware to be tested has a bug, so the part of the firmware where the bug may be present can be specified according to the store contents.
|