The Research of Memory Fault Simulation and Fault Injection Method for BIT Software Test

As the complexity of the avionics, BIT (Built-In-Test) as an important means of system self-test and fault diagnosis and fault isolation, it has been widely used in various airborne equipment. To realize the test of the board-level BIT software for avionics, this paper presented simulation-based fault-injection. A fault injector for memory fault was designed and implemented. Firstly, the principle of the memory fault simulation and fault injection was introduced. After analyzing the typical failure mode of the memory and the way to trigger fault, the memory fault model was built. Secondly, based on the open source simulator QEMU, a lot of code was modified and the fault injection module was added to support the memory unit fault simulation and decoder fault simulation. At last, an experiment was designed to validate the authenticity and validity of the fault injection tool.