System Debug
ARM DDI 0337G
Copyright © 2005-2008 ARM Limited. All rights reserved.
11-35
Unrestricted Access
Non-Confidential
Note
DWT is not enabled in the ITM block. However, DWT stimulus entry into the FIFO is
controlled by DWTENA. If DWT requires timestamping, the TSSEN bit must be set.
ITM Integration Write Register
Use this register to determine the behavior of the ATVALIDM bit.
Figure 11-15 shows the ITM Integration Write Register bit assignments.
Figure 11-15 ITM Integration Write Register bit assignments
[9:8]
TSPrescale
Timestamp prescaler:
0b00 = no prescaling
0b01 = divide by 4
0b10 = divide by 16
0b11 = divide by 64.
[7:5]
-
Reserved.
[4]
SWOENA
Enable SWV behavior – count on TPIUACTV and TPIUBAUD.
[3]
DWTENA
Enables the DWT stimulus.
[2]
SYNCENA
Enables sync packets for TPIU.
[1]
TSENA
Enables differential timestamps. Differential timestamps are emitted when a packet is written
to the FIFO with a non-zero timestamp counter, and when the timestamp counter overflows.
Timestamps are emitted during idle times after a fixed number of two million cycles. This
provides a time reference for packets and inter-packet gaps.
If SWOENA (bit [4]) is set, timestamps are triggered by activity on the internal trace bus only.
In this case there is no regular timestamp output when the ITM is idle.
[0]
ITMENA
Enable ITM. This is the master enable, and must be set before ITM Stimulus and Trace Enable
registers can be written.
Table 11-22 ITM Trace Control Register bit assignments (continued)
Bits
Field
Function
31
0
1
Reserved
ATVALIDM