标签:Trace Port AP CoreSight 组件 trace32 arm coresight
arm coresight是什么
Arm CoreSight技术提供了额外的调试和跟踪功能,目的是调试整个片上系统(SoC)。CoreSight是一个硬件组件的集合,可以由芯片设计者根据自己的片上系统选择并实现,以扩展内核的调试特性。
Trace32调试器需要哪些设置来支持SoC上实现的CoreSight组件。又有哪些CoreSight特性的trace32调试器命令?
coresight架构图
找了三个coresight架构图,以不同视角显示coresight的逻辑。
- 两个接口
- Debug port:Debug接口,可控制core的调试状态
- Trace port:Trace接口,跟踪core执行数据
- 两条通路
- AXB:SoC的系统访问通道,访问内存和寄存器
- APB:coresight组件配置通路
图1
图2
图3
coresight component组件
CoreSight component types
- Control components
CoreSight systems can include Embedded Cross Trigger (ECT) control components. The ECT includes:- Cross Trigger Interface (CTI).
- Cross Trigger Matrix (CTM).
- Trace sources
CoreSight systems can include the following trace sources:- Embedded Trace Macrocells (ETMs).
- AMBA Trace Macrocells.
- Program Flow Trace Macrocells (PTMs).
- System Trace Macrocells (STMs).
- Trace links
CoreSight systems can include the following trace links:- Trace funnels.
- Replicators.
- ATB bridges.
- Trace sinks
CoreSight systems can include the following trace sinks:- Trace Port Interface Units (TPIUs).
- Embedded Trace Buffers (ETBs).
- Trace Memory Controllers (TMCs).
- Debug Ports (DPs) and Access Ports (APs)
DPs and APs 提供了访问coresight组件和其他系统的功能。DPs and APs遵循ARM ADI标准。
DP提供了访问AP组件的硬件连线的机制,有以下形式:
- A Serial Wire Debug Port (SW-DP).
- A JTAG Debug Port (JTAG-DP).
- A Serial Wire JTAG Debug Port (SWJ-DP).
AP提供了访问总线和其他coresight组件的机制,有以下形式: - An APB Access Port (APB-AP).
- An AHB Access Port (AHB-AP).
- An AXI Access Port (AXI-AP).
- A JTAG Access Port (JTAG-AP).
CTI
CTI(cross trigger interface),接收和发送trigger信号,每个master一个CTI。
CTM
所有的CTI和CTM相连,因此可以实现多个CTI之间的trigger信号的相互发送与接收。
ROM table
ROM表保存调试组件的信息。
- 如果ADI的一个实现连接到单个调试组件,则不需要ROM Table
- 如果一个ADI的实现连接到多个调试组件,系统必须在至少包含一个ROM表。ROM Table连接到由MEM-AP控制的总线
SYStem.DETECT DAP
:trace32自动发现ROM组件,可能需要先设置DAP- https://developer.arm.com/documentation/ihi0074/d/?lang=en
How to enable CoreSight topology detection
Reference
Trace32 coresight介绍:https://www2.lauterbach.com/pdf/app_arm_coresight.pdf
arm coresight 架构设计:https://developer.arm.com/documentation/ihi0029/f/?lang=en
coresight介绍:http://www.lujun.org.cn/?p=2148
标签:Trace,Port,AP,CoreSight,组件,trace32,arm,coresight 来源: https://www.cnblogs.com/lvzh/p/16628873.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。