|
网上找的。share一下
【文件名】:06915@52RD_ETM.rar
【格 式】:rar
【大 小】:3886K
【简 介】:一些ETM的介绍资料,有的是从arm网站下的。
【目 录】:Chapter 1 Introduction
1.1 About the Embedded Trace Macrocell ........................................................ 1-2
1.2 ETM versions and variants .......................................................................... 1-6
Chapter 2 Controlling Tracing
2.1 About controlling tracing ............................................................................. 2-3
2.2 ETM event resources .................................................................................. 2-4
2.3 ETM event logic ........................................................................................ 2-17
2.4 Triggering a trace run ................................................................................ 2-18
2.5 External outputs ........................................................................................ 2-20
2.6 Trace filtering ............................................................................................ 2-21
2.7 Address comparators ................................................................................ 2-39
2.8 Operation of data value comparators ........................................................ 2-61
2.9 Instrumentation resources, from ETMv3.3 ................................................ 2-70
2.10 Trace port clocking modes ........................................................................ 2-74
Contents
vi Copyright © 1999-2002, 2004-2006 ARM Limited. All rights reserved. ARM IHI 0014N
2.11 Considerations for advanced cores, ETMv2 and later only ...................... 2-77
2.12 Supported standard configurations in ETMv1 .......................................... 2-82
2.13 Supported configurations from ETMv2 ..................................................... 2-84
Chapter 3 Programmer’s Model
3.1 About the programmer’s model .................................................................. 3-2
3.2 Programming and reading ETM registers ................................................... 3-3
3.3 CoreSight support ..................................................................................... 3-10
3.4 The ETM registers .................................................................................... 3-11
3.5 Detailed register descriptions ................................................................... 3-20
3.6 Using ETM event resources ................................................................... 3-111
3.7 Example ViewData and TraceEnable configurations ............................. 3-116
3.8 Power-down support, ETMv3.3 and later ............................................... 3-122
3.9 Access permissions for ETM registers ................................................... 3-130
Chapter 4 Signal Protocol Overview
4.1 About trace information .............................................................................. 4-2
4.2 Signal protocol variants .............................................................................. 4-3
4.3 Structure of the trace port ........................................................................... 4-4
4.4 Decoding required by trace capture devices .............................................. 4-8
4.5 Instruction trace ........................................................................................ 4-10
4.6 Data trace ................................................................................................. 4-14
4.7 Context ID tracing ..................................................................................... 4-16
4.8 Debug state .............................................................................................. 4-17
4.9 Endian effects and unaligned access ....................................................... 4-18
4.10 Definitions ................................................................................................. 4-20
4.11 Coprocessor operations ........................................................................... 4-23
Chapter 5 ETMv1 Signal Protocol
5.1 ETMv1 pipeline status signals .................................................................... 5-2
5.2 ETMv1 trace packets .................................................................................. 5-5
5.3 Rules for generating and analyzing the trace in ETMv1 ............................. 5-6
5.4 Pipeline status and trace packet association in ETMv1 ............................. 5-9
5.5 Instruction tracing in ETMv1 ..................................................................... 5-10
5.6 Trace synchronization in ETMv1 .............................................................. 5-13
5.7 Data tracing in ETMv1 .............................................................................. 5-15
5.8 Filtering the ETMv1 trace ......................................................................... 5-19
5.9 FIFO overflow ........................................................................................... 5-21
5.10 Cycle-accurate tracing .............................................................................. 5-22
5.11 Tracing Java code, ETMv1.3 only ............................................................ 5-23
Chapter 6 ETMv2 Signal Protocol
6.1 ETMv2 pipeline status signals .................................................................... 6-2
6.2 ETMv2 trace packets .................................................................................. 6-7
6.3 Rules for generating and analyzing the trace in ETMv2 ............................. 6-9
Contents
ARM IHI 0014N Copyright © 1999-2002, 2004-2006 ARM Limited. All rights reserved. vii
6.4 Trace packet types .................................................................................... 6-10
6.5 Trace synchronization in ETMv2 ............................................................... 6-17
6.6 Tracing through regions with no code image ............................................ 6-25
6.7 Instruction tracing with ETMv2 .................................................................. 6-26
6.8 Data tracing in ETMv2 .............................................................................. 6-32
6.9 Filtering the ETMv2 trace .......................................................................... 6-34
6.10 FIFO overflow ........................................................................................... 6-35
6.11 Cycle-accurate tracing .............................................................................. 6-36
Chapter 7 ETMv3 Signal Protocol
7.1 Introduction ................................................................................................. 7-2
7.2 Packet types ............................................................................................... 7-3
7.3 Instruction tracing ........................................................................................ 7-5
7.4 Data tracing ............................................................................................... 7-47
7.5 Additional trace features for ARMv7-M cores, from ETMv3.4 ................... 7-60
7.6 Behavior of EmbeddedICE inputs, from ETMv3.4 .................................... 7-67
7.7 Synchronization ........................................................................................ 7-70
7.8 Trace port interface ................................................................................... 7-82
7.9 Tracing through regions with no code image ............................................ 7-84
7.10 ETMv2 and ETMv3 compared .................................................................. 7-85
Chapter 8 Trace Port Physical Interface
8.1 Target system connector ............................................................................ 8-2
8.2 Target connector pinouts ............................................................................ 8-3
8.3 Connector placement ................................................................................ 8-17
8.4 Timing specifications ................................................................................. 8-19
8.5 Signal level specifications ......................................................................... 8-21
8.6 Other target requirements ......................................................................... 8-22
8.7 JTAG control connector ............................................................................ 8-23
Chapter 9 Tracing Dynamically Loaded Images
9.1 About tracing dynamically-loaded code ...................................................... 9-2
9.2 Software support for Context ID .................................................................. 9-5
9.3 Hardware support for Context ID ................................................................ 9-6
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|