User`s guide

Libraries and Runtime Code
EOnCE Library
352
Targeting MC56F83xx/DSP5685x Controllers
Trace Buffer Full Options
The options in Table 11.15 describe what action to take when the trace buffer is full.
One of the following defined identifiers must be OR’ed into the options parameter of
the _eonce_SetupTraceBuffer function.
Miscellaneous Trace Buffer Option
The TRACE_BUFFER_HALTED option may be OR’ed into the options parameter of
the _eonce_SetupTraceBuffer function. This option puts the trace buffer in a halted
state when leaving _eonce_SetupTraceBuffer function. This is most useful when
setting a trigger, by calling _eonce_SetTrigger, to start the trace buffer when a
specific condition is met.
CAPTURE_CHANGE_OF_FLOW_0 saves the target addresses of the following taken
instructions to the trace buffer:
BCC forward branch
BRSET forward branch
BRCLR forward branch
JCC forward and backward branches
CAPTURE_CHANGE_OF_FLOW_1 saves the target addresses of the following taken
instructions to the trace buffer:
BCC backward branch
BRSET backward branch
BRCLR backward branch
Table 11.15 Trace Buffer Full Options
Defined Identifiers Description
TB_FULL_NO_ACTION capture continues, overwriting previous
entries
TB_FULL_HALT_CAPTURE capture is halted
TB_FULL_DEBUG processor enters debug mode
TB_FULL_INTERRUPT processor interrupts to vector specified as
Trace Buffer Interrupt
Table 11.14 Trace Buffer Capture Options (continued)
Defined Identifiers Description