首页 | 本学科首页   官方微博 | 高级检索  
     

基于JTAG的片上调试器与调试系统的设计实现
引用本文:常志恒,肖铁军,史顺波.基于JTAG的片上调试器与调试系统的设计实现[J].计算机工程与应用,2012,48(30):78-82.
作者姓名:常志恒  肖铁军  史顺波
作者单位:江苏大学 计算机科学与通信工程学院,江苏 镇江 212013
摘    要:提出了一种基于JTAG协议的嵌入式CISC处理器的调试系统的设计方案。针对自主研发的教学用JU-C2型处理器设计了片上调试器和CPU内部寄存器扫描链,为构成一个完整的调试系统,还设计了USB-JTAG协议转换器和PC机控制软件。调试系统可以实现微指令级和机器指令级的单步、断点以及CPU内部寄存器值的查看和PC(程序计数器)写入,还有CPU的运行停止和复位这些常用的调试功能。分别介绍了系统的各个组成部分以及它们的原理,进行了系统测试,验证系统工作的正确性。调试系统对CPU内部数据通路侵入性较小,在教学中也有一定的实用性。

关 键 词:片上调试器  片上调试系统  复杂指令集计算机(CISC)处理器  联合测试行动组(JTAG)  边界扫描  

Design of on-chip-debugger and debug system based on JTAG
CHANG Zhiheng , XIAO Tiejun , SHI Shunbo.Design of on-chip-debugger and debug system based on JTAG[J].Computer Engineering and Applications,2012,48(30):78-82.
Authors:CHANG Zhiheng  XIAO Tiejun  SHI Shunbo
Affiliation:School of Computer Science and Telecommunications Engineering, Jiangsu University, Zhenjiang, Jiangsu 212013, China
Abstract:A design scheme of debug system for embedded CISC processor based on JTAG protocol is put forward. A OCD(On-Chip-Debugger)is designed for JU-C2 processor which is a self-development processor used on teach- ing. USB-JTAG protocol convertor, control console on PC and self-build data scan chaining in CPU are also designed, which finally composes a complete debug system. The debug system can implement microinstruction and machine instruction step debug, breakpoint debug, processor internal registers examine and PC write, moreover, processor run/stop and reset commonly used debug function. It respectively introduces the system components and their principles, then tests the system to verify the correctness of the system work.The debug system is less invasive for the CPU internal data path, and has a certain degree of practicality in teaching.
Keywords:On-Chip-Debugger(OCD)  on chip debug system  Complex Instruction Set Computer(CISC)processor  Joint Test Action Group(JTAG)  boundary scan
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号