打印

Debugger-based Firmware Test Framework

[复制链接]
319|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
喷水壶|  楼主 | 2018-9-9 09:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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.

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

433

主题

437

帖子

0

粉丝