摘要
为了弥补单步、断点等传统侵入式调试方式的不足,越来越多的处理器在设计中加入了硬件Trace功能。现有针对硬件Trace的应用,主要集中在程序调优方面,在基于源代码的程序执行流动态回放方面还存在明显不足。本文基于一款“魂芯”数字信号处理器的硬件Trace,针对现有Trace应用的不足,实现了一种基于源码的程序回放系统,该系统不仅可以满足程序调优的需求,而且可以更好地满足程序调试的需求。
In order to solve the shortcomings of traditional intrusive debuging methods such as single step and breakpoint,more and more processors add Trace function.Existing application of Trace mainly focus on program tuning,but there are obvious deficiencies in dynamic playback of program execution flow based on source code.This paper is based on"HunXin"digital signal processor Trace,in view of the existing Trace application shortage,implementation of a program playback system based on source code.It can not only meet the requirements of program tuning,but also better meet the requirements of program debuging.
作者
赵纪堂
林广栋
房露洁
Zhao Jitang;Lin Guangdong;Fang Lujie(Anhui Siliepoch Technology Co.,ltd.,Hefei 230088,China)
出处
《单片机与嵌入式系统应用》
2023年第7期21-24,共4页
Microcontrollers & Embedded Systems