In addition, there are two signals formed by the MTB_DWT module and driven to the
MTB_RAM controller: TSTART (trace start) and TSTOP (trace stop). These signals can
be configured using the trace watchpoints to define programmable addresses and data
values to affect the program trace recording state.
19.3 Memory Map and Register Definition
The MTB_RAM and MTB_DWT modules each support a sparsely-populated 4 KB
address space for their programming models. For each address space, there are a variety
of control and configurable registers near the base address, followed by a large unused
address space and finally a set of CoreSight registers to support dynamic determination of
the debug configuration for the device.
Accesses to the programming model follow standard ARM conventions. Taken from the
ARM CoreSight Micro Trace Buffer documentation, these are:
• Do not attempt to access reserved or unused address locations. Attempting to access
these locations can result in UNPREDICTABLE behavior.
• The behavior of the MTB is UNPREDICTABLE if the registers with UNKNOWN
reset values are not programmed prior to enabling trace.
• Unless otherwise stated in the accompanying text:
• Do not modify reserved register bits
• Ignore reserved register bits on reads
• All register bits are reset to a logic 0 by a system or power-on reset
• Use only word size, 32-bit, transactions to access all registers
19.3.1 MTB_RAM Memory Map
MTB memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
F000_0000 MTB Position Register (MTB_POSITION) 32 R/W Undefined 19.31.1/306
F000_0004 MTB Master Register (MTB_MASTER) 32 R/W 0000_0080h 19.31.2/307
F000_0008 MTB Flow Register (MTB_FLOW) 32 R/W Undefined 19.31.3/309
F000_000C MTB Base Register (MTB_BASE) 32 R Undefined 19.31.4/310
F000_0F00 Integration Mode Control Register (MTB_MODECTRL) 32 R 0000_0000h 19.31.5/310
F000_0FA0 Claim TAG Set Register (MTB_TAGSET) 32 R 0000_0000h 19.31.6/311
F000_0FA4 Claim TAG Clear Register (MTB_TAGCLEAR) 32 R 0000_0000h 19.31.7/311
F000_0FB0 Lock Access Register (MTB_LOCKACCESS) 32 R 0000_0000h 19.31.8/312
Table continues on the next page...
Memory Map and Register Definition
KL25 Sub-Family Reference Manual, Rev. 3, September 2012
304 Freescale Semiconductor, Inc.