引用本文: | 曲明成,崔乃刚,吴翔虎,陶永超.嵌入式软件虚拟化测试技术标准框架研究[J].哈尔滨工业大学学报,2017,49(5):49.DOI:10.11918/j.issn.03676234.201505075 |
| QU Mingcheng,CUI Naigang,WU Xianghu,TAO Yongchao.Research on general framework of virtual testing for embedded software[J].Journal of Harbin Institute of Technology,2017,49(5):49.DOI:10.11918/j.issn.03676234.201505075 |
|
摘要: |
针对嵌入式系统硬件平台采用纯软件仿真并对嵌入式软件进行功能级测试的相关研究存在较多不足,缺乏整体、统一、灵活、标准的仿真部件间接口,致使不同体系、类型的处理器仿真核与各类外设间较难进行快速、直接的整合与交互、导致缺乏系统级可配置能力、各类仿真核与调试器 (GDB) 间不能进行直接、有效地互联和交互,从而无法达到可定制、组件化的系统级仿真及虚拟测试环境快速搭建目标.基于组件化思想,提出一套处理器仿真、外设仿真和调试器 (GDB) 三者间可进行直接、快速交互的标准结构、标准接口和基本处理逻辑,优化和删减了GDB层次,扩充了新功能,使之在运行时可动态加载、支持多种仿真处理器体系.研发了虚拟测试系统,验证了所提方法、结构、接口的有效性和正确性,与其他同类技术、项目进行了综合能力比较.结果表明本文所提方法、技术具有较多优势.
|
关键词: 嵌入式软件测试,虚拟目标机,虚拟测试系统 |
DOI:10.11918/j.issn.03676234.201505075 |
分类号:TP337 |
文献标识码:A |
基金项目:国家自然科学基金(61402131);中国博士后科学基金(2014M551245);黑龙江省博士后科学基金(LBH-Z13105);中央高校基本科研业务费专项资金(HIT.NSRIF.201651); 中国博士后基金(2016T90293) |
|
Research on general framework of virtual testing for embedded software |
QU Mingcheng1,2,CUI Naigang 2,WU Xianghu1,TAO Yongchao1
|
(1. School of Computer Science and Technology, Harbin Institute of Technology, Harbin 150001, China; 2.Aerospace Science and Technology Postdoctoral Workstation, Harbin Institute of Technology, Harbin 150001, China)
|
Abstract: |
In recent years, lots of fruitful results have been achieved in the aspects of simulation technology for embedded hardware and virtual testing for embedded software. However, there are some shortcomings in the previous achievements. For example, there are no overall, unified, flexible and general interfaces among the generic components, so it results that different architecture or different type of simulation processors cannot interact and integrate with simulation devices directly, and result that system-level customization capabilities are lack. Based on component, a set of general structures, standard interfaces, processing logics for virtual processors, virtual peripherals and debugger are proposed. We did some optimizations and deletions, added some new features in GDB, so that GDB can dynamically load at runtime to support multiple processor architectures. A virtual testing system is developed, by it the validity and correctness of the proposed method, structure, interfaces are verified. The proposed methods and technologies have more advantages compared with other similar technologies or projects.
|
Key words: embedded software testing virtual target machine virtual test system |