RTP Control Registers
2173
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
RAM Trace Port (RTP)
37.3.6 RTP RAM 3 Trace Region Registers (RTPRAM3REG[1:2])
FIFO3 was originally designed to support RAM trace limiting to a maximum trace range of 256kB. In this
device, FIFO3 is dedicated for tracing the PCR1 peripheral accesses. Peripherals in PCR1 occupy a total
address range of 512kB of space. Therefore, it is not possible to trace the entire range of 512kB since
there are only 18 bits of address being traced out in the packet. You can use the two trace regions to
trace any two areas in the lower half of the PCR1's space from 0xFFF80000 to 0xFFFBFFFF provided
there is not an intentional or un-intentional access to the upper half of the space. If you want to trace the
upper half of PCR1's space from 0xFFFC0000 to 0xFFFFFFFF then the external hardware/software must
reconstruct the full 32-bit address by forcing address bit 18 high and also ensures that there is no
intentional or un-intentional accesses to the lower half of the space. Since the external hardware is unable
to distinguish between the lower half and the upper half of PCR1, you can not trace both of the halves at
the same time.
NOTE:
Bit REG (
) in the protocol for peripheral trace will be not be applicable to the
PCR1 trace. PCR1 trace follows the RAM trace protocol with 18 bits of address trace out.
and
illustrate these registers.
Figure 37-14. RTP RAM 3 Trace Region Registers (RTPRAM3REGn) (offset = 1Ch and 20h)
31
29
28
27
24
23
18
17
16
CPU_DMA
RW
BLOCKSIZE
Reserved
STARTADDR
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 37-15. RTP RAM 3 Trace Region Registers (RTPRAM3REGn) Field Descriptions
Bit
Field
Value
Description
31-29
CPU_DMA
When the device is configured in lock-step mode, bit 31 will return 0 and a write has no effect.
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 (RTPGLBCTRL), the
data captured will be discarded. A write operation in Direct Data Mode has to be directly to the
RTP direct data mode write register (RTPDDMW) instead of to RAM. Depending on the
INV_RGN bit setting, accesses into or outside the region will be traced.
Read:
0
Read operations will be captured.
1
Write operations will be captured.
Write in Privilege:
0
Trace read accesses.
1
Trace write accesses.