Control Registers
1721
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
RAM Trace Port (RTP)
31.4.5 RTP RAM 2 Trace Region [1:2] Register (RTPRAM2REG[1:2])
and
illustrate these registers.
Figure 31-13. RTP RAM 2 Trace Region [1:2] Register (RTPRAM2REG[1:2]) [offset = 14h, 18h]
31
30
29
28
27
24
23
18
17
16
Rsvd
CPU_DMA
RW
BLOCKSIZE
Reserved
STARTADDR
R-0
R/WP-0
R/WP-0
R/WP-0
R-0
R/WP-0
15
0
STARTADDR
R/WP-0
LEGEND: R/W = Read/Write; R = Read only; WP = Write in privileged mode only; -
n
= value after reset
Table 31-13. RTP RAM 2 Trace Region [1:2] Register (RTPRAM2REG[1:2]) Field Descriptions
Bit
Field
Value
Description
31
Reserved
0
Read returns 0. Writes have no effect.
30-29
CPU_DMA
CPU and/or other master access.
This bit field indicates if read or write operations are traced
either coming from the CPU and/or from the other master.
User and privilege mode read, privilege mode write:
0
Read or write operations are traced when coming from the CPU and the other master.
1h
Read or write operations are traced only when coming from the CPU.
2h
Read or write operations are traced only when coming from the other master.
3h
Reserved
28
RW
Read/Write.
This bit indicates if read or write operations are traced in Trace Mode or Direct
Data Mode (read operation). If configured for write in Direct Data Mode (
), the
data captured will be discarded. A write operation in Direct Data Mode has to be directly to the
register instead of to RAM. Depending on the INV_RGN bit setting, accesses into
or outside the region will be traced.
User and privilege mode (read):
0
Read operations will be captured.
1
Write operations will be captured.
Privilege mode (write):
0
Trace read accesses.
1
Trace write accesses.
27-24
BLOCKSIZE
These bits define the length of the trace region. Depending on the setting of INV_RGN
(
), accesses inside or outside the region defined by the start address and
blocksize will be traced. If all bits of BLOCKSIZE are 0, the region is disabled and no data will
be captured.
Region size (in bytes):
0
0
1h
256
2h
512
3h
1K
4h
2K
Ah
128K
Bh
256K
Ch-Fh
Reserved
23-18
Reserved
0
Read returns 0. Writes have no effect.
17-0
STARTADDR
0-3 FFFFh
These bits define the starting address of the address region that should be traced. The start
address has to be a multiple of the block size chosen. If the start address is not a multiple of
the block size, the start of the region will begin at the next lower block size boundary.