9 Mode register, MODE

This register controls the TMC operating mode. The operating mode can only be changed when the TMC is in Disabled state, that is, when CTL.TraceCaptEn = 0. Attempting to write to this register in any other state results in UNPREDICTABLE behavior. The operating mode is ignored when in Disabled state.

The MODE register characteristics are:

Attributes
Offset

0x0028

Type

Read-write

Reset

0x0000000-

Width

32

The following figure shows the bit assignments.

Figure 9-416 MODE register bit assignments
To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


The following table shows the bit assignments.

Table 9-430 MODE register bit assignments

Bits Reset value Name Function
[31:5] 0x0 RAZ/WI

Read-As-Zero, Writes Ignored.

[4] 0b0 StallOnStop

Stall On Stop. If this bit is set and the formatter stops as a result of a stop event, the output atready_s is de-asserted to stall the ATB interface and avoid loss of trace. If this bit is clear and the formatter stops as a result of a stop event, signal atready_s remains asserted but the TMC discards further incoming trace.

[3:2] 0b00 RAZ/WI

Read-As-Zero, Writes Ignored.

[1:0] UNKNOWN MODE

Fixed to 0 since TMC always operates in Circular Buffer mode in this configuration.

Non-ConfidentialPDF file icon PDF version100806_0300_00_en
Copyright © 2017, 2018 Arm Limited or its affiliates. All rights reserved.