首页|嵌入式软件中断程序综合测试方法

嵌入式软件中断程序综合测试方法

扫码查看
中断驱动型嵌入式系统在汽车电子、航空航天、医疗电子和无线传感器等领域广泛应用,发生错误可能导致任务失败或系统崩溃,甚至带来安全风险,但由于中断事件触发响应机制的特殊性,常规测试方法难以实现充分测试.为了解决上述问题,提出了一种嵌入式软件中断程序综合测试方法,通过静态方法检查中断代码设计简洁性、优先级结构设置、资源访问冲突和现场备份及恢复,通过动态方法测试中断程序响应时间、处理时间和中断触发异常,静/动结合完成嵌入式软件中断程序的专项测试.经工程应用验证,与传统测试相比,该方法能够更精准地发现嵌入式软件中断程序中存在的问题,提高中断测试的有效性和充分性.
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

胡晓明、高园园、李立攀、石朝禧

展开 >

陕西烽火通信集团有限公司,陕西 宝鸡 721000

软件测试 嵌入式软件 中断 代码审查 动态测试

2024

电子产品可靠性与环境试验
工业和信息化部电子第五研究所(中国电子产品可靠性与环境试验研究所) (中国赛宝实验室)

电子产品可靠性与环境试验

影响因子:0.438
ISSN:1672-5468
年,卷(期):2024.42(4)