国产ARM架构芯片的Trace调试数据解析研究

张淡墨, 张激, 肖伟强

集成电路与嵌入式系统 ›› 2022, Vol. 22 ›› Issue (7) : 55-58.

PDF(1047 KB)
PDF(1047 KB)
集成电路与嵌入式系统 ›› 2022, Vol. 22 ›› Issue (7) : 55-58.
新器件新技术

国产ARM架构芯片的Trace调试数据解析研究

  • 张淡墨, 张激, 肖伟强
作者信息 +

Research on Trace Debugging Data Analysis Based on Domestic ARM Architecture Chip

  • Zhang Danmo, Zhang Ji, Xiao Weiqiang
Author information +
文章历史 +

摘要

Trace调试技术是一种非侵入式的、需要硬件支持的调试技术。该技术需要设置监视点,在监视点触发时将当前调试信息存入缓冲区中,以便程序运行后读取并解析这些数据,从而分析监视点触发时程序的运行状态。然而,目前片上Trace技术使用的协议不同,对Trace数据的处理也不同。本文针对ARM架构的国产芯片FT-2000/4提出一种新的Trace数据解析办法,为集成开发环境提供Trace功能方面的支持。

Abstract

Trace debugging technology is a non-invasive debugging technology that needs hardware support.The technology needs to set up monitoring points to store the current debugging information in the buffer area when the monitoring point is triggered,so that the data can be read and parsed after the program runs,so as to analyze the running state of the program when the monitoring point is triggered.However,at present,the protocols used in on-chip trace technology are different,and the processing of trace data is also different.In the paper,a new trace data analysis method for the domestic chip FT-2000/4 with ARM architecture is proposed,which provides trace support for the integrated development environment.

关键词

Trace / FT-2000/4 / CoreSight / 数据解析

Key words

Trace / FT-2000/4 / CoreSight / data analysis

引用本文

导出引用
张淡墨, 张激, 肖伟强. 国产ARM架构芯片的Trace调试数据解析研究[J]. 集成电路与嵌入式系统. 2022, 22(7): 55-58
Zhang Danmo, Zhang Ji, Xiao Weiqiang. Research on Trace Debugging Data Analysis Based on Domestic ARM Architecture Chip[J]. Integrated Circuits and Embedded Systems. 2022, 22(7): 55-58
中图分类号: TP31   

参考文献

[1] 扈啸.嵌入式多核处理器在线追踪调试与错误检测关键技术研究[D].长沙:国防科学技术大学,2018.
[2] Duan H,Yu L,Zhou H,et al.An Embedded Tracing Debug Implementation for Crossbar Type Bus in Muti-core SoC[C]//2020 IEEE 3rd International Conference on Electronics Technology (ICET).IEEE,2020.
[3] 韩格欣,许翔,刘啸宇,等.ARM CoreSight调试与追踪体系在Cortex M3内核中的实现[J].物联网技术,2014,4(7):3.
[4] 扈啸,陈书明.面向多核片上Trace数据流合成的队列调度算法设计及实现[J].计算机研究与发展,2008,45(3):11.
[5] 齐宁,丁松阳,孙维新,等.基于加载机制分析的ELF文件main函数定位技术[J].计算机工程,2007,33(6):3.
[6] 石峰,范晓琴.从ELF文件结构看静态数组的构建[J].电脑知识与技术(学术版),2015(5X):5.

PDF(1047 KB)

Accesses

Citation

Detail

段落导航
相关文章

/