Comprehensive Test Method for Embedded Software Interrupt Program
Interrupt-driven embedded system are widely used in automotive electronics,aerospace,medical electronics and wireless sensors. Errors may lead to mission failure or system collapse,or even bring security risks. However,due to the particularity of interrupt event trigger and response mechanism,conventional testing methods is difficult to achieve adequate testing. In order to solve the above problems,a comprehensive testing method for embedded software interrupt program is proposed,which uses static method to check the brevity of the interruption code design,priority structure setting,resource access conflict,field backup and recovery,and dynamic method to test the interrupt program response time,processing time and interrupt trigger exception,and combination of static and dynamic testing to complete the special testing of the embedded software interruption program. According to the engineering application verification,compared with the traditional test,this method can more accurately find the problems in the embedded software interruption program,and improve the effectiveness and adequacy of the interrupt testing.
software testembedded softwareinterruptcode reviewdynamic test