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

计算机工程 ›› 2010, Vol. 36 ›› Issue (23): 237-239. doi: 10.3969/j.issn.1000-3428.2010.23.080

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

基于S12微控制单元的BDM调试系统

沈晓慧1,2,刘晓升1,朱巧明1,2   

  1. (1.苏州大学计算机科学与技术学院,江苏 苏州 215006; 2.江苏省计算机信息处理技术重点实验室,江苏 苏州 215006)
  • 出版日期:2010-12-05 发布日期:2010-12-14
  • 作者简介:沈晓慧(1984-),女,硕士,主研方向:嵌入式系统;刘晓升,讲师、硕士;朱巧明,教授、博士生导师
  • 基金资助:
    江苏省产学研前瞻性联合研究基金资助项目(BY2009124);江苏省高校产业化基金资助项目(JH07032)

BDM Debug System Based on S12 Micro Controller Unit

SHEN Xiaohui1,2,LIU Xiaosheng1,ZHU Qiaoming1,2   

  1. (1.School of Computer Science & Technology, Soochow University, Suzhou 215006, China; 2.Key Lab of Computer Information Processing Technology of Jiangsu Province, Suzhou 215006, China)
  • Online:2010-12-05 Published:2010-12-14

摘要: 通过研究背景调试模式接口,设计实现一个基于S12系列微控制单元的调试系统,采用USB2.0接口实现PC和编程调试器的通信。该系统具有实时更新相关寄存器、存储器和变量值等功能,可以帮助用户快速定位和查找错误,并提供多个断点设置功能,为不同顺序结构的源程序提供高效的逐语句调试和逐过程调试。

关键词: 微控制单元, 调试系统, 断点设置, 逐语句调试, 逐过程调试

Abstract: By researching Background Debug Mode(BDM) interface, this paper designs and realizes a debug system based on S12 serial Micro Controller Unit(MCU) which adopts USB2.0 interface to communicate PC with programmable debugger. It designs the functions of updating realtime value of registers, memory and variables, which help users to seek the location and find the mistakes in an efficient and intuitive way. It implements the breakpoint setting function, and offers efficient sentencebysentence debug and processbyprocess debug for programs with different sequence structures.

Key words: Micro Controller Unit(MCU), debug system, breakpoint setting, sentencebysentence debug, processbyprocess debug

中图分类号: