当前位置:网站首页>Arm debug interface (adiv5) analysis (I) introduction and implementation [continuous update]
Arm debug interface (adiv5) analysis (I) introduction and implementation [continuous update]
2022-06-30 07:36:00 【Snow fish】
I am a Snow fish , a FPGA lovers , The research direction is FPGA Architecture exploration and SOC Design .
Official account , Pull you in “IC Design communication group ”.
List of articles
One 、ADIv5 brief introduction
ADI yes Arm Used to connect and use inline CoreSight framework SoC Interface of commissioning function , The latest version is ADIv6, What I use in my current job ADIv5, So first ADIv5 To study .
ADIv5 There are two main components :
- Access Port(AP):ADIv5.0 Two are defined AP, namely
JTAG-APandMEM-AP- JTAG-AP: visit JTAG equipment
- MEM-AP: visit memory Or with memory-mapped Components of the interface
- Debug Port(DP): ADIv5.0 Two are defined DP, namely
JTAG-DPandSW-DP
Two 、ADIv5 The implementation of the
ADI How to implement , The actual module , go by the name of Debug Access Port (DAP).DAP Provide standard interfaces for external debuggers , Such as JTAG/SW To visit SoC Debugging resources in . The schematic diagram is shown in the figure below :

One DAP The following components are required to support JTAG Scan chain .
- One Debug TAP State Machine (DBGTAPSM), It's actually TAP, Make a state transition , Yes IR and DRs To operate .
- One Instruction register(IR), Select and control available scan chains
- Multiple Data register(DRs), stay DRs Accessible debugging related data is stored in , There are two main categories
- DAP Component's DR
- By DAP Access the debug component or JTAG In the equipment DR
Physical layer connection mode :

2.1 JTAG-DP
External debuggers can be implemented by IEEE1149.1 JTAG The standard DBGTAP Scan the chain to access JTAG-DP , Read and write related register data . JTAG-DP Is based on IEEE 1149.1 Standard for Test Access Port (TAP) and Boundary Scan Architecture canonical , But the names are different :

IR The width of can be defined as 4bit perhaps 8bit, The standards that must be realized IR Command value has :

There are mainly 5 individual IR Command value , Map to the corresponding DR.
(1) DPACC/APACC The purpose of is to use respectively DP and AP Register to read and write .
- DPACC The scanning chain adopts
A[3:2], SELECT.DPBANKSEL , RnW
To decide what to visit DP The address of the register .DP The register has ;

DPACC and APACC The seat widths are 35bit .
Scan chain operation :
When IR Choose DPACC perhaps APACC when , Will DPACC/APACC Register is placed in DBGTDI and DBGTDO Scan the chain , As shown in the figure below :

- Capture-DR state : Grab the last operation result onto the scan chain and output , The result of this operation has 3 bit Response data for ACK. There are two kinds , It is divided into
OK/FAULTandWAITThe definition is as follows :

边栏推荐
- Embedded test process
- Stepper motor
- Xiashuo think tank: 42 reports on planet update today (including 23 planning cases)
- RT thread kernel application development message queue experiment
- ADC basic concepts
- Minecraft 1.16.5模组开发(五十) 书籍词典 (Guide Book)
- Virtual machine VMware: due to vcruntime140 not found_ 1.dll, unable to continue code execution
- 線程池——C語言
- Dynamic memory management
- Analysys analysis: online audio content consumption market analysis 2022
猜你喜欢

期末複習-PHP學習筆記6-字符串處理

Shell command, how much do you know?

03 - programming framework: Division of application layer, middle layer and driver layer in bare metal programming

Analysys analysis: online audio content consumption market analysis 2022

Cubemx completes STM32F103 dual serial port 485 transceiver transmission
![Experiment 1: comprehensive experiment [process on]](/img/19/6c6e18d7e1f042bfd3ee4832b78542.png)
Experiment 1: comprehensive experiment [process on]

Tencent and Fudan University "2021-2022 yuan universe report" with 102 yuan universe collections

FreeRTOS timer group

Application of stack -- using stack to realize bracket matching (C language implementation)

视频播放器(一):流程
随机推荐
Socket socket programming -- UDP
Minecraft 1.16.5 module development (50) guide book
DXP shortcut key
342 maps covering exquisite knowledge, one of which is classic and pasted on the wall
Processes, jobs, and services
Raspberry pie 4B Getting Started Guide
C language implementation of chain stack (without leading node)
期末复习-PHP学习笔记4-PHP自定义函数
QT elementary notes
Investment and financing analysis report of Supply Chain & logistics industry in 2021
03 - programming framework: Division of application layer, middle layer and driver layer in bare metal programming
Basic operation command
Research Report on search business value in the era of big search in 2022
RT thread kernel application development message queue experiment
Cmake generate map file
Three software installation methods
期末复习-PHP学习笔记11-PHP-PDO数据库抽象层.
Tencent and Fudan University "2021-2022 yuan universe report" with 102 yuan universe collections
手机开户股票开户安全吗?开户需要准备什么?
Parameter calculation of deep learning convolution neural network