Debugger System Views and Target Control
System Views
The variables view shows the value of all the application’s
variables under three groups: locals, file statics, and globals. It
also displays each variable’s type, size, value, and location
(either register or memory).
If you are interested in a defined set of variables or registers,
just type them or drag them to an expressions view . This
view also offers the flexibility to watch any C-like expression.
For bare metal development, use the register view to view
the processor, co-processor, NEON and peripheral registers
Address Modifiers
You can use address modifiers to select a certain type of
memory or target access. For instance, if you type S:0x0 ,
the debugger reads the content of memory at address
0x0 in TrustZone secure mode.
P:
S:
This is a list of the available address modifiers:
n Physical memory (MMU disabled)
n TrustZone secure mode
N:
n TrustZone non-secure mode
with the same format as in the target’s documentation.
H:
n Hypervisor
mode
The functions view lists all the functions in the target’s
DAP:
n
Direct memory access via the AHB-AP port of
application, and can be used to set breakpoints and trace
points, or navigate to the source code of a function.
Using the System Views
All the system views use color-coding to highlight content
that has recently changed, and most support drag & drop .
The code view shows variable values by hovering over them.
System views can be frozen or replicated for comparing
data between two points in time. Most views also accept C-
like expressions. For example, you can set the value of a
register with an expression such as (*my_ptr) & 0xffffff .
The way the debugger accesses the memory system (e.g. as
bytes, words, or multiple words) is configured via the
memory map .View the memory map with the info mem
command, and configure it with the mem command.
Breakpoints and Watchpoints
Set new breakpoints or tracepoints by double clicking
on the left column of the source code or disassembly views.
Set new watchpoints (data breakpoints) by right-clicking
on a cell of the memory view or a global variable in the
variable or expression view.
Edit the properties of breakpoints to assign:
a CoreSight DAP. This port enables debugger access
to physical memory with a running target.
Expressions view.
Condition:
the breakpoint only stops the execution if
the condition (a C-like expression) is evaluated true
Ignore
n
count : number of times the breakpoint is hit until
the application stops
Run
n script : the
debugger performs an action (e.g log a
message) automatically when the breakpoint is hit
n
Thread and virtual machine-specific breakpoints
stop the processor only when hit from a certain thread.
Functions View.
www.arm.com/ds5
9
相关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