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

计算机工程 ›› 2006, Vol. 32 ›› Issue (8): 283-285.

• 开发研究与设计技术 • 上一篇    

一种扩展的片上实时调试系统设计

赵 岩 1,2,张果 2,张春 3,王志华3   

  1. 1. 中南大学物理学院,长沙 410083;2. 清华大学电子工程系,北京 100084;3. 清华大学微电子所,北京 100084
  • 出版日期:2006-04-20 发布日期:2006-04-20

Design of An Extended On-chip Real Time Debug System

ZHAO Yan1,2, ZHANG Guo2, ZHANG Chun3, WANG Zhihua3   

  1. 1. School of Physics, Central South University, Changsha 410083; 2. Department of Electronics Engineering, Tsinghua University,Beijing 100084; 3. Institute of Microelectronics, Tsinghua University, Beijing 100084
  • Online:2006-04-20 Published:2006-04-20

摘要: 提出了一种为不支持调试模式的CPU 扩展调试功能的系统设计方法。该方法在保持原CPU 结构性和完整性的情况下,在片上增加了CPU 监视/运行分析模块、调试控制模块、时钟/复位管理和JTAG 兼容的调试访问接口,用较少的硬件开销实现了指令/数据断点、单步、运行/停止、CPU 复位、查看CPU 核心寄存器、读取/修改外部存储器以及在线编程等功能,且调试命令的设置和执行完全独立于CPU,保证了CPU 运行的实时性。

关键词: 调试模式;片上调试系统;门控时钟;JTAG

Abstract: A design of on-chip debug facilities for a CPU not supporting debug mode is introduced. It preserves structural integrity of the CPU by utilizing some add-on units including CPU monitor, debug control, clock/reset management and a JTAG compatible debug access port to implement all the higher level debug functions with only a small hardware overhead. The debug command configuration and execution are totally independent of the CPU so that the CPU can run in real time

Key words: Debug mode; On-chip debug system; Gated clock; JTAG