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

JTAG调试通信接口的软件模拟
引用本文:段振中,范东睿.JTAG调试通信接口的软件模拟[J].微电子学与计算机,2008,25(2):157-159.
作者姓名:段振中  范东睿
作者单位:1. 中国科学院,计算技术研究所,北京,100080;中国科学院,研究生院,北京,100039
2. 中国科学院,计算技术研究所,北京,100080
基金项目:“九七三”重点专项(2005CB321600),中国科学院计算技术研究所创新项目(20056610)
摘    要:介绍了对处理器中JTAG调试通信接口的软件模拟方法。JTAG接口负责连接主机端与目标处理器,其由tdi、tms、tck和tdo构成,其中tck是tap控制器的时钟控制信号,比处理器的主频小几个数量级;Tms是tap状态机控制信号,tdi和tdo分别是串行数据输入和输出信号。主机端的这种时钟信号是脉冲性的,不具有周期性,给模拟主机端同目标处理器的通信带来困难。利用当前主流操作系统中的多任务环境,给主机和目标处理器分配不同的进程,结合共享内存机制和进程间通信机制有效地实现了对JTAG调试接口信号的软件模拟。这种方法目前已经用在了GodsonX处理器的JTAG调试系统中。

关 键 词:JTAG  GodsonX  模拟器
文章编号:1000-7180(2008)02-0157-03
收稿时间:2007-03-07
修稿时间:2007年3月7日

Simulation of JTAG Debug Communication Interface
DUAN Zhen-zhong,FAN Dong-rui.Simulation of JTAG Debug Communication Interface[J].Microelectronics & Computer,2008,25(2):157-159.
Authors:DUAN Zhen-zhong  FAN Dong-rui
Abstract:This article introduces a method for simulating JTAG debug communication interface in processor.JTAG interface is used in connecting host and target machines.JTAG interface is composed of tck,tms,tdi and tdo signal.Tck is clock signal,the frequency of which is less than cpu frequency in large scale.Tms is state control signal of tap controller.Tdi and tdo are serial data in and out signal.Clock signal in host machine is pulse signal and is nonperiodic,all these make communication between host and target machines difficult.Based on the multi-task environment in current mainstream operating system,one can allocate two processes for host and target machines.Through memory share mechanism and inter-process communication mechanism,one can simulate JTAG debug communication interface truly.This method is used in JTAG debug system for GodsonX processor now.
Keywords:JTAG  GodsonX  simulator
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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