节点文献

用于8051微控制器的片上调试系统的硬件设计

Hardware Design of an Onchip Debug System for 8051 MCU

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 肖哲靖徐静平雷青松钟德刚

【Author】 Xiao Zhejing Xu Jingping Lei Qingsong Zhong Degang(Department of Electronics Science and Technology,Huazhong University of Science and Technology,Wuhan 430074)

【机构】 华中科技大学电子科学与技术系

【摘要】 为工业用8051微控制器设计了一个片上调试系统,将调试功能集成到单片机芯片内部。该系统基于专用集成电路的设计流程设计,不仅具有控制8051单片机挂起、正常运行、单步运行和指令跳转的能力,而且能够读写片内寄存器、内外部数据,程序存储器、特殊功能寄存器的值,并能在其中设置硬件断点。该调试系统使用比工业上的JTAG标准接口占用空间更少的三线接口作为其和计算机的连接通道。系统在Xilinx的xc3s400 FPGA上完成功能验证,利用SMIC0.18μm工艺库完成版图设计。结果表明,系统有效解决基于传统软件调试和仿真器调试方式的弊端,并能省去用户购买商业仿真器的调试花费,减少调试成本,提高调试效率。提出的设计方法同样适用于其他微控制器片上调试系统的设计。

【Abstract】 This paper designed an onchip debug system for industrial 8051 MCU with the process of ASIC and put the all debug fuction into one chip.The debug system not only can make the 8051 halt,run,step into or skip an instruction,but also can read and write all registers,internal and external program memories,data memories and SFRs and set hardware breakpoints in them.A three-wire interface is used by the debug system to connect computer which takes less space than the standard JTAG.It was verified on Xilinx’s xc3s400 FPGA and P&R with SMIC 0.18μm technology library.Results shows the system can effectively avoid the disadvantages of traditional debug method based on software simulation or emulator and it also can save much money for users spent on the commercial emulator and improve debug efficiency.The proposed design method is also applicable to other microcontroller.

【关键词】 片上调试系统微控制器仿真器指令寄存器
【Key words】 onchip debugger systemMCUemulatorinstructionregister
【基金】 国家自然科学基金项目(编号:60976091)资助
  • 【文献出处】 计算机与数字工程 ,Computer & Digital Engineering , 编辑部邮箱 ,2011年09期
  • 【分类号】TN402
  • 【被引频次】2
  • 【下载频次】102
节点文献中: 

本文链接的文献网络图示:

本文的引文网络