![Freescale Semiconductor SC140 DSP Core Reference Manual Download Page 175](http://html1.mh-extra.com/html/freescale-semiconductor/sc140-dsp-core/sc140-dsp-core_reference-manual_2330564175.webp)
Trace Unit Registers
SC140 DSP Core Reference Manual
4-65
4.10.5 Event Selector Mask Disable Trace Register
(ESEL_DTB)
This 16-bit register has one bit for every source of the ES. Setting the appropriate bit configures the related
source to cause a disable trace.
Figure 4-27 displays the bit configuration of ESEL_DTB.
Figure 4-27. Event Selector Mask Disable Trace (ESEL_DTB)
If multiple sources are configured to disable trace, they are ANDed or ORed according to the value of the
SELDTB bit in the ESEL_CTRL. See
Section 4.10.1, “Event Selector Control Register (ESEL_CTRL),”
for further details. If all the bits are set to zero, the ES does not issue a disable trace.
The same event cannot be configured to both enable and disable tracing.
4.11 Trace Unit Registers
The trace unit includes the following registers:
•
Trace Buffer Control Register (TB_CTRL)
•
Trace Buffer Read Pointer Register (TB_RD)
•
Trace Buffer Write Pointer Register (TB_WR)
•
Trace Buffer Virtual Register (TB_BUFF)
4.11.1 Trace Buffer Control Register (TB_CTRL)
The TB_CTRL register controls the operation of the trace unit. The following tracing modes are possible,
all which trace the PC of execution sets that answer some conditions:
•
TEXEXT -
trace the PC of every execution set
•
TMARK -
trace the PC of execution sets that includes the MARK instruction
•
TCHOF -
trace the source and destination PC of execution set that includes
a taken COF instruction (listed in Table A-13 in Appendix A, not including
TRAP, but including the BREAK, CONT/D instructions)
•
TLOOP -
trace the exection of HW loops.
For long loops, the PC of the last address (LA) and start address (SA) are traced.
For short loops, only the PC of LA is traced.
•
TINT -
trace the interrupt point and destination PC of interrupts and exceptions
(including the TRAP, and ILLEGAL instructions)
TEXEC and TMARK can only be activated on their own, without other tracing options enabled.
BIT 15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
BIT 0
DEBUGE
V
EE4
EE3
EE2
EE1
EE0
COUN
T
EDCD
EDCA
7
EDCA
6
EDCA
5
EDCA
4
EDCA
3
EDCA
2
EDCA
1
EDCA
0
TYPE
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
rw
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Summary of Contents for SC140 DSP Core
Page 12: ...xii SC140 DSP Core Reference Manual ...
Page 18: ...xviii SC140 DSP Core Reference Manual ...
Page 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Page 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Page 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Page 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Page 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Page 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Page 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Page 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Page 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Page 758: ...I 10 Index ...
Page 759: ...SC140 DSP Core Reference Manual i ...
Page 760: ......