ADI:ARM Debug Interface,出到现在共有五代:

1)version1 and version 2:只针对ARM7TDMI和ARM9的processor;

2)version 3:只针对ARM10的processor family;

3)ADIv4:使用与所有的ARMv6 architecture;

4)ADIv5.2:针对ARMv7-A和ARMv8-A的processor;分为了Access Port(AP) architecture和Debug Port(DP) architecture

DP包括三类:1)JTAG-DP; 满足IEEE 1149.1的接口;

2)SW-DP; 基于packet-based protocol(host-target req, target-host ack, data transfer)

3)SWJ-DP; can switch between SWD and JTAG

AP包括两类:1)MEM-AP(扩展到AXI/ACE); a memory-mapped resource such as a debug peripheral

2)JTAG-AP; a legacy jtag device

DP来连接外部的host,AP来访问内部的debug component registers

ADIv5 DAP

CoreSight components

CoreSIght debug architecture

能提供的功能包括:

1)Embedded core debug functionality,由arm core和ETM这样的module来保证

1)modify the contents of the internal registers and the memory system;

2)read the contents of the internal registers and the memory system;

3)program debug events,在某个event被触发之后,processor可以由外部可控;

4)Force the processor to enter and exit debug state;

5)Trace program flow around programmable events;

2)System debug functionality,系统性的debug

1)Components within an embeded SoC

program trace

cross-triggering mechanisms

2)The interconnection fabric of the system

trace access on the interconnection fabric

从DP到AP的access:

由AP_Select选择不同的AP,

address的A[7:4]选择不同的bank;

address的A[3:2]选择不同的register;

四个寄存器保存每个ap的一些信息

在DP的implement过程中,

首先选择不同的DP接口:

选择每个JTAG-AP的JTAG scan chain的个数;

选择每个scan chain中包含的TAP的个数,主要是为了嵌套扩展;

在AP的implement过程中,

首先选择MEM-AP或者JTAG-AP,
在架构方面。可以选择MEM-AP直接连接到debug register file或者system bus再连接到debug register file,

结合ROM_TABLE进行MEM-AP的address map以及bus width的决定。

从DP到MEM-AP的access的路径图:

前半部分的memory map与DP到AP的相同,

但是到mem-ap的部分,必须有一个rom table来进行寄存器的访问。

同样的DP到JTAG-AP的路径图:

TDO的信号经过一个mux来回到jtag的接口ap中。

ADIv5.2的更多相关文章

  1. SWD接口:探索&泄密&延伸

    http://bbs.21ic.com/icview-871133-1-1.html 文买了个JLINKV9,以为神器,拿到手发现根本不是,完全没必要替换V8,想自己做个另类的调试器,当然想只是想而已 ...

  2. Serial Wire Debug (SWD) Interface -- PSoc5

    PSoC 5 supports programming through the serial wire debug (SWD) interface. There are two signals in ...

  3. Introduction to Cortex Serial Wire Debugging

    Serial Wire Debug (SWD) provides a debug port for severely pin limited packages, often the case for ...

  4. 如何在 arm 官网上找到合适的手册

    http://infocenter.arm.com/help/advanced/help.jsp 在这里输入合适的版号即可 这样就可以不用去 CSDN 了 100000_0000_00_EN - AR ...

随机推荐

  1. input的type属性的修改

    记录一下成长的历程吧! 刚开始写,没什么文笔,也没什么技术含量,可能主要的是纪录一下平常工作学习中遇到的问题,以及解决的办法吧.或者只有问题,没有解决办法. 前两天项目中遇到的一个问题,由于之前一直没 ...

  2. 利用ArcMap对tiff或jpg格式地图图片的配准步骤

    原文:利用ArcMap对tiff或jpg格式地图图片的配准步骤 在实际应用中,经常会遇到提供一张高精度的地图图片文件,如何对将该图片进行配准(使图片具有经纬度坐标). 当然我们得有一些大概的参考图层, ...

  3. 七步实现magento迁移

    很多朋友都在为magento搬家烦恼,要想把magento从一台服务器迁移到另一台服务器上并不难,下面给大家介绍一种简单方法就能轻松实现magento迁移. 范例:从http://magento.yo ...

  4. 【转】深入理解TextView实现Rich Text--在同一个TextView设置不同字体风格

    深入理解TextView实现Rich Text--在同一个TextView设置不同字体风格 作者: 字体:[增加 减小] 类型:转载   本篇文章是对Android中在同一个TextView中设置不同 ...

  5. http://www.cnblogs.com/peida/archive/2013/04/23/3036035.html

    http://www.cnblogs.com/peida/archive/2013/04/23/3036035.html

  6. LeetCode Meeting Rooms II

    原题链接在这里:https://leetcode.com/problems/meeting-rooms-ii/ Given an array of meeting time intervals con ...

  7. 为什么一个object_id在dba_objects中为什么查不到记录?

    SQL> drop table test purge;SQL> create table test (id int,comments CLOB); SQL> select INDEX ...

  8. SQLServer DMV Query

    1.DMV Query to identify all active SQL Server Sessions The query below identifies all currently acti ...

  9. typedef 和 const

    1. typedef 允许你为各种数据类型定义新名字 #include <stdio.h>typedef char *ptr_to_char; //这让我看起来,好奇怪,不好读void m ...

  10. ELK-Python(一)

    不具有通用性,留作纪念. [root@GXB-CTRLCENTER python]# cat insert_active_user.py #!/usr/bin/env python # -*- cod ...