Texas Instruments CC2650DK 사용자 설명서

다운로드
페이지 1570
Functional Description
Two literal comparators for matching against literal loads from Code space, and remapping to a
corresponding area in System space
Six instruction comparators for matching against instruction fetches from Code space, and remapping
to a corresponding area in System space. Alternatively, the comparators can be individually configured
to return a Breakpoint Instruction (BKPT) to the processor core on a match for hardware breakpoint
capability
A reduced FPB unit contains:
Two instruction comparators. You can configure each comparator individually to return a Breakpoint
Instruction to the processor on a match, to provide hardware breakpoint capability
The FPB contains both a global enable and individual enables for the eight comparators. If the comparison
for an entry matches, the address is either:
remapped to the address set in the remap register plus an offset corresponding to the comparator that
matched
remapped to a BKPT instruction if that feature is enabled.
The comparison happens dynamically, but the result of the comparison occurs too late to stop the original
instruction fetch or literal load taking place from the Code space. The processor ignores this transaction
however, and only the remapped transaction is used
If the FPB supports only two breakpoints then only comparators 0 and 1 are used, and the FPB does not
support flash patching.
3.2.6 Trace Port Interface Unit (TPIU)
The Cortex-M3 TPIU acts as a bridge between the on-chip trace data from the Embedded Trace Macrocell
(ETM) and the Instrumentation Trace Macrocell (ITM), with separate IDs, to a data stream. The TPIU
encapsulates IDs where required, and the data stream is then captured by a Trace Port Analyzer (TPA).
There are two configurations of the TPIU:
A configuration that supports ITM debug trace.
A configuration that supports both ITM and ETM debug trace
3.2.7 Data Watchpoint and Trace Unit (DWT)
The DWT provides watchpoints, data tracing, and system profiling for the processor. A full DWT contains
four comparators that you can configure as:
A hardware watchpoint
An ETM trigger
A PC sampler event trigger
A data address sampler event trigger
The first comparator, DWT_COMP0, can also compare against the clock cycle counter, CYCCNT. The
second comparator, DWT_COMP1, can be used as a data comparator. A reduced DWT contains one
comparator that can be used as a watchpoint or as a trigger. It does not support data matching.
The DWT contains counters for:
Clock cycles (CYCCNT)
Folded instructions
Load Store Unit (LSU) operations
Sleep cycles
CPI, that is all instruction cycles except for the first cycle
Interrupt overhead
The DWT to generate PC samples at defined intervals, and to generate interrupt event information.It can
also provide periodic requests for protocol synchronization to the ITM and the TPIU.
224
Cortex™-M3 Peripherals
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated