Abstract:At present, the testing of embedded software in the aerospace control field faces two problems: the use of the physical environment for the actual operation of the software is limited; in the physical environment, certain faults and boundary test cases cannot be executed, resulting in insufficient test coverage and accuracy. Satisfy. In order to solve the above problems, the external equipment of embedded software was researched, and a plan to build a digital test platform to replace the physical environment was proposed, and the virtualization of external equipment such as bus 1553B, bus RS422, AD acquisition, I/O, etc. was designed and completed. The platform simulates the real operating environment of the embedded software, the test process is not restricted by the physical environment, and the injection of test incentives is not restricted in any way, ensuring the adequacy of the test. Finally, taking the test process simulation of the lower computer of a certain power supply as an example, a digital simulation platform that does not rely on the real hardware environment can be built, which can realize the execution of special test cases such as fault injection and boundary testing, which verifies the effectiveness of the platform in embedded software testing.