256
Philips Semiconductors
Preliminary User Manual
LPC2119/2129/2292/2294
ARM-based Microcontroller
REGISTER DESCRIPTION
The ETM contains 29 registers as shown in Table 226. below. They are described in detail in the ARM IHI 0014E document
published by ARM Limited, which is available via the Internet at http://www.arm.com.
Table 226: ETM Registers
Register
encoding
Name
Description
Access
000 0000
ETM Control
Controls the general operation of the ETM
Read/Write
000 0001
ETM Configuration Code
Allows a debugger to read the number of each type of resource
Read Only
000 0010
Trigger Event
Holds the controlling event
Write Only
000 0011
Memory Map Decode Control
Eight-bit register, used to statically configure the memory map
decoder
Write Only
000 0100
ETM Status
Holds the pending overflow status bit
Read Only
000 0101
System Configuration
Holds the configuration information using the SYSOPT bus
Read Only
000 0110
Trace Enable Control 3
Holds the trace on/off addresses
Write Only
000 0111
Trace Enable Control 2
Holds the address of the comparison
Write Only
000 1000
Trace Enable Event
Holds the enabling event
Write Only
000 1001
Trace Enable Control 1
Holds the include and exclude regions
Write Only
000 1010
FIFOFULL Region
Holds the include and exclude regions
Write Only
000 1011
FIFOFULL Level
Holds the level below which the FIFO is considered full
Write Only
000 1100
ViewData event
Holds the enabling event
Write Only
000 1101
ViewData Control 1
Holds the include/exclude regions
Write Only
000 1110
ViewData Control 2
Holds the include/exclude regions
Write Only
000 1111
ViewData Control 3
Holds the include/exclude regions
Write Only
001 xxxx
Address Comparator 1 to 16 Holds the address of the comparison
Write Only
010 xxxx
Address Access Type 1 to 16 Holds the type of access and the size
Write Only
000 xxxx
reserved
-
-
100 xxxx
reserved
-
-
101 00xx
Initial Counter Value 1 to 4
Holds the initial value of the counter
Write Only
101 01xx
Counter Enable 1 to 4
Holds the counter clock enable control and event
Write Only
101 10xx
Counter reload 1 to 4
Holds the counter reload event
Write Only
101 11xx
Counter Value 1 to 4
Holds the current counter value
Read Only
110 00xx
Sequencer State and Control Holds the next state triggering events.
-
110 10xx
External Output 1 to 4
Holds the controlling events for each output
Write Only
110 11xx
Reserved
-
-
111 0xxx
Reserved
-
-
111 1xxx
Reserved
-
-