Datasheet

59
SAM9261 [DATASHEET]
Atmel-6062O-ATARM-SAM9261-Datasheet_21-Jun-16
Figure 11-4. ETM9 Block
11.5.5.2 Implementation Details
This section gives an overview of the Embedded Trace resources.
Three-state Sequencer
The sequencer has three possible next states (one dedicated to itself and two others) and can change on every
clock cycle. The state transition is controlled with internal events. If the user needs multiple-stage trigger schemes,
the trigger event is based on a sequencer state.
Address Comparator
In single mode, address comparators compare either the instruction address or the data address against the user-
programmed address.
In range mode, the address comparators are arranged in pairs to form a virtual address range resource.
Details of the address comparator programming are:
The first comparator is programmed with the range start address.
The second comparator is programmed with the range end address.
The resource matches if the address is within the following range:
(address > = range start address) AND (address < range end address)
Unpredictable behavior occurs if the two address comparators are not configured in the same way.
Data Comparator
Each full address comparator is associated with a specific data comparator. A data comparator is used to observe
the data bus only when load and store operations occur.
A data comparator has both a value register and a mask register, therefore it is possible to compare only certain
bits of a preprogrammed value against the data bus.
Memory Decoder Inputs
The eight memory map decoder inputs are connected to custom address decoders. The address decoders divide
the memory into regions of on-chip SRAM, on-chip ROM, and peripherals. The address decoders also optimize
the ETM9 trace trigger.
ARM926EJ-S
Bus Tracker
TMS
TCK
TDI
TDO
Scan Chain 6
TAP
Controller
Trace
Control
Trigger, Sequencer, Counters
FIFO
Trace Enable, View Data
TPS-TPS0
TPK15-TPK0
TSYNC
ETM9