小尺寸嵌入式系统的驱动程序自动测试
Automated Driver Testing for Small Footprint Embedded Systems
摘要:
嵌入式系统代表着一个亿万富翁的市场,并存在于世界上生产的大多数处理器中。嵌入式软件通过驱动程序与传感器和执行器等外部外设进行交互。驱动程序和外部外围设备之间的强交互往往会阻碍嵌入式软件的开发,特别是测试任务,因为物理环境可能不是确定性的,并且在测试期间难以重新创建,硬件可能不可用,或者其存在可能不理想或成本高昂。针对这些问题,本文提出了一种基于被测器件、双器件和计算机三部分的微控制器驱动程序测试方法。计算机运行测试编排代码,而DUT运行测试目标代码,而Double扮演与DUT交互的真正外部外围设备的角色。所提出的解决方案已成功实施,并使用不同的协议进行了验证。
英文摘要:
Embedded systems represent a billionaire market and are present in most of the processors produced in the world.Embedded software interacts with external peripherals such as sensors and actuators through drivers. The strong interaction between drivers and external peripherals often hamper embedded software development, in special the testing task, giving that the physical environment may not be deterministic and difficult to be recreated during the tests, the hardware may not be available or its presence may not be desirable or costly. Aiming at addressing these problems, this paper introduces a solution to test drivers on microcontrollers, based on a method that uses three components: a Device Under Test (DUT), a Double device, and a computer. The computer runs a test orchestration code, while the DUT runs the test target code, and the Double plays the role of the real external peripherals that interact with the DUT. The proposed solution was successfully implemented and validated using different protocols.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。