Instruction and System Trace
Instruction Trace
Instruction trace enables the non-intrusive debug of random
time-related issues, which are difficult to replicate by
The code view tracks
the entry selected in
the trace view
Export trace entries
to text files for
post-analysis
Zoom from 1 to
10,000 instructions
per slot
stepping through the code, and the performance analysis of
critical areas of software.
When trace is enabled, the debugger records the last
instructions executed by the target. When the execution
stops, the trace view is filled with a history of instructions
around a trigger point, synchronized with the code view.
Instruction trace requires a JTAG connection to devices
featuring an Embedded Trace Macrocell (ETM) or
Program Trace Macrocell (PTM).
The number of instructions recorded is limited by the size of
the on-chip Embedded Trace Buffer (ETB). If you need a
larger buffer, trace off-chip to the 4GB buffer on DSTREAM.
Using Tracepoints and Filters
By default, DS-5 traces all the instructions executed by the
processor into a circular buffer. The contents of the trace
buffer are collected, decompressed and displayed when the
target stops - for example, when hitting a breakpoint.
Trace start and trace stop points enable you to restrict
trace to certain areas of the code. This is useful to optimize
the analysis of certain functions when tracing to an ETB, or
to prevent ETM FIFO overflows when the trace port is slow.
View tracepoints and
triggers embedded in
the trace list
Use the Properties
and Ranges tabs to
configure trace
Trace View.
Heat map of activity
per function
Ranges (also called filters) can be used in conjunction with
trace start and trace stop points. They enable you to select
an address range outside of which trace is always disabled.
Triggers are highlighted on the trace view, and can be used
to identify and search interesting areas in the code. In
addition, triggers enable you to configure the tools to collect
trace around, before, or after a certain instruction. Just check
the Stop on Trigger box in the trace view’s Properties tab
to trace around a trigger point.
System Trace
The Instrumentation Trace Macrocell (ITM) and
System Trace Macrocell (STM) provide high-bandwidth,
low latency “printf-style” instrumentation links.
The output of ITM and STM is routed to the on-chip trace
bus, and can be collected by the debugger and displayed on
its Event Viewer or exported to a text file.
The Event Viewer can be configured from the Event Viewer
tab of the Debug Configurations dialog.
Event Viewer configuration and output.
8
DS-5 Quick Start Guide
相关PDF资料
DSUT1CSU SURGE SUPPR NETWORK W/GROUND
DTEL2 SURGE SUPPRESSOR PHONE RJ11/RJ45
DV003001 PROGRAMMER PICSTART PLUS 16C/17C
DV164035 MPLAB ICD3 IN-CIRC DEBUGGER
DV164039 KIT DEV PIC24FJ256DA210
DV164101 KIT DEV PICKIT1 FLASH 8/14PIN
DV164120 KIT STARTER PICKIT 2
DV164121 KIT PICKIT 2 DEBUG EXPRESS
相关代理商/技术参数
DST-SSS-R1 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-R2 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-RS2-1 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-S1 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-S2 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-T1 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-T2 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED
DST-SSS-TU1-1 制造商:DOMINANT 制造商全称:DOMINANT Semiconductors 功能描述:Right Angle LED