摘要
通过研究背景调试模式接口,设计实现一个基于S12系列微控制单元的调试系统,采用USB2.0接口实现PC和编程调试器的通信。该系统具有实时更新相关寄存器、存储器和变量值等功能,可以帮助用户快速定位和查找错误,并提供多个断点设置功能,为不同顺序结构的源程序提供高效的逐语句调试和逐过程调试。
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2010年第23期237-239,共3页
Computer Engineering
基金
江苏省产学研前瞻性联合研究基金资助项目(BY2009124)
江苏省高校产业化基金资助项目(JH07-032)
关键词
微控制单元
调试系统
断点设置
逐语句调试
逐过程调试
Micro Controller Unit(MCU)
debug system
breakpoint setting
sentence-by-sentence debug
process-by-process debug