摘要
设计和开发嵌入式系统及应用,片上调试系统必不可少.针对自主设计的PKU-DSP II系统芯片,设计了基于串口通信的在线调试系统.片上调试模块在处理器内部调试数据通道和流水线管理单元的支持下,实现了软件/硬件断点、单步、复位和在线程序下载调试功能,还开发了上位机调试软件和图形界面.精确的流水线控制技术和流水线误停的处理,使得调试系统具有零时序开销的优点.FPGA原型验证结果表明设计功能正确,在不降低原有系统性能的前提下,增加调试功能后硬件资源增加小于3%.
On-chip debug is essential for design and development of embedded systems and software .UART based in-circuit debug system is designed for our PKU-DSP II system-on-a-chip .With the assist of debug data channels and pipeline control unit within the processor ,the on-chip debug module can support functions such as hardware/software breakpoint ,single-stepping ,system reset as well as online program downloading and debug software with GUI is developed for host computer . Accurate pipeline control technique and proper handling of pipeline mis-suspending provide the debug system the advantage of zero timing overhead .The FPGA prototyping results show that the proposed design is correct and the hardware cost increases by no more than 3% without reducing the performance of the system .
出处
《微电子学与计算机》
CSCD
北大核心
2014年第3期89-93,共5页
Microelectronics & Computer
基金
深圳市科技计划基础研究(JC201005270278A)
关键词
系统芯片
在线调试
串口通信
硬件
软件断点
在线下载
system-on-chip
in-circuit debug
UART
hardware/software breakpoint
online downloading