Debugger-based Firmware Test Framework

[复制链接]
462|0
 楼主| 过期账户 发表于 2018-9-9 07:06 | 显示全部楼层 |阅读模式
I\'m currently working on a Python-based framework for on-target firmware testing of firmware of Cortex-M MCU systems. The approach is heavily based on the use of the debug probe to perform unit as well as system tests.
The framework I have in mind allows us to do
firmware testing without modifications for testing (i.e., not test code compiled into the firmware)
firmware component testing without mocking of, e.g., peripherals
firmware testing with selective injection of data into the execution
firmware testing on the original target device
firmware testing using the original compiler
The tests themselves are implemented in Python and are executed on a host PC which also gives you full accesses to whatever equipment you already have available for providing external test stimuli or performing measurements.
I would like to learn what approaches you are taking for firmware testing and I would like to hear your opinion on the proposed approach. If things work out well, we plan to release the framework on GitHub later this spring.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

395

主题

395

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部