Debug Peripherals Registers
200
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.5.2.8
PCSR Register (Offset = 1Ch) [reset = Undefined]
PCSR is shown in
and described in
DWT Program Counter Sample Register. Use the DWT Program Counter Sample Register (PCSR) to
enable coarse-grained software profiling using a debug agent, without changing the currently executing
code. If the core is not in debug state, the value returned is the instruction address of a recently executed
instruction. If the core is in debug state, the value returned is 0xFFFFFFFF.
Figure 2-104. PCSR Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
EIASAMPLE
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
Table 2-116. PCSR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-0
EIASAMPLE
R
Undefined
Execution instruction address sample, or 0xFFFFFFFF if the core is
halted.