19.31.1 MTB Position Register (MTB_POSITION)The MTB_POSITION register is the trace write address pointer and wrap bit. Thisregister can be modified by the explicit programming model writes. It is alsoautomatically updated by the MTB hardware when trace packets are being recorded.Address: F000_0000h base + 0h offset = F000_0000hBit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16RPOINTERWReset x* x* x* x* x* x* x* x* x* x* x* x* x* x* x* x*Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0RPOINTERWRAP 0WReset x* x* x* x* x* x* x* x* x* x* x* x* x* x* 0 0* Notes:x = Undefined at reset.•MTB_POSITION field descriptionsField Description31–3POINTERTrace Packet Address PointerTrace packet address pointer. Because a packet consists of two words, the POINTER field is the addressof the first word of a packet. This field contains bits[31:3] of the RAM address that points to the nextunused memory location for the trace data. This is an empty ascending location and is automaticallyupdated.A debug agent can add the value of POINTER to the value of MTB_BASE to obtain the absolute pointeraddress as seen on the system AHB bus interface.NOTE: The size of the RAM is parameterized and the most significant bits of the POINTER field areRAZ/WI.POSITION register bits greater than or equal to 15 are RAZ/WI, therefore, the active POINTER field bitsare [11:0].2WRAPThis bit is set to 1 automatically when the POINTER value wraps as determined by theMTB_MASTER[MASK] bit in the MASTER Trace Control Register. A debug agent can use the WRAP bitto determine whether the trace information above and below the pointer address is valid.1–0ReservedThis field is reserved.This read-only field is reserved and always has the value 0.Memory Map and Register DefinitionKL25 Sub-Family Reference Manual, Rev. 3, September 2012306 Freescale Semiconductor, Inc.