作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (7): 220-223. doi: 10.3969/j.issn.1000-3428.2012.07.073

• 工程应用技术与实现 • 上一篇    下一篇

基于JTAG的故障注入工具设计

罗宗扬,薛利兴,左德承,张 展,杨孝宗   

  1. (哈尔滨工业大学计算机科学与技术学院,哈尔滨 150001)
  • 收稿日期:2011-04-29 出版日期:2012-04-05 发布日期:2012-04-05
  • 作者简介:罗宗扬(1986-),男,硕士研究生,主研方向:容错计算;薛利兴,博士研究生;左德承,教授、博士生导师;张 展,讲师;杨孝宗,教授、博士生导师
  • 基金资助:
    国家“863”计划基金资助项目(2008AA01A204, 2009AA 01A404);国家自然科学青年基金资助项目(61003047);科技部国际合作计划基金资助项目(2010DFA14400)

Design of Fault Injection Tool Based on JTAG

LUO Zong-yang, XUE Li-xing, ZUO De-cheng, ZHANG Zhan, YANG Xiao-zong   

  1. (School of Computer Science and Technology, Harbin Institute of Technology, Harbin 150001, China)
  • Received:2011-04-29 Online:2012-04-05 Published:2012-04-05

摘要: 针对软件模拟硬件故障注入不能突破操作系统保护而使故障注入受到限制的问题,提出一种基于JTAG调试技术的硬件故障注入方法。当目标系统处于运行状态时,通过设置断点、设置观察点、发送调试请求等方式使目标系统在硬件层次中止当前运行模式,进入硬件调试模式。通过对基于总线扫描链的移位操作插入数据或CPU本身的指令,对系统内部的总线数据、寄存器数据、存储器数据进行修改。实验结果表明,该方法可以成功地实现故障注入。

关键词: 容错系统, 可靠性评估, 故障注入, JTAG调试, 硬件调试模式, 边界扫描

Abstract: Software simulated hardware fault injection can not break through protection of operating system, leaving the fault injection to be limited. This paper presents a hardware fault injection method based on JTAG debugging techniques. By setting break points, setting watch points or sending debugging request to the target system when it is running, the target system can be turned to hardware debugging mode. By shifting bus based scan chain or adding instructions to pipe to change bus data, register data or memory data, fault injection can make effort. Experimental results show that the method can realize fault injection successfully.

Key words: fault-tolerant system, reliability evaluation, fault injection, JTAG debugging, hardware debugging mode, boundary scan

中图分类号: