User`s guide

Libraries and Runtime Code
EOnCE Library
351Targeting MC56F83xx/DSP5685x Controllers
Trace Buffer Capture Options
The options in Table 11.14 determine which kind of changes-of-flow will be captured.
OR in as many of the following defined identifiers into the options parameter of the
_eonce_SetupTraceBuffer function.
Table 11.13 Miscellaneous Trigger Options
Defined Identifiers Description
INVERT_B2_COMPARE the signal from breakpoint 2 is inverted before entering the
combination logic; this can be OR’ed into the options
parameter of the _eonce_SetTrigger or
_eonce_SetCounterTrigger function
EXTEND_COUNTER the counter, when using the special counting function, is
extended to 40-bits by using the OSCNTR as the most
significant 24-bits; this can be OR’ed into the options
parameter of the _eonce_SetCounterTrigger function when
configuring breakpoint unit 0; WARNING: It is not
recommended that this option be used if the processor will
enter debug mode (breakpoint, console or file I/O) before the
counter is read, because the OSCNTR is needed for
stepping and would corrupt the counter
Table 11.14 Trace Buffer Capture Options
Defined Identifiers Description
CAPTURE_CHANGE_OF_FLOW_
NOT_TAKEN
saves target addresses of conditional branches
and jumps that are not taken to the trace buffer
CAPTURE_CHANGE_OF_FLOW_
INTERRUPT
saves addresses of interrupt vector fetches and
target addresses of RTI instructions to the trace
buffer
CAPTURE_CHANGE_OF_FLOW_
SUBROUTINE
saves the target addresses of JSR, BSR, and RTS
instructions to the trace buffer