Trace
F²MC-16FX Family, Emulating and Debugging with Softune and MB2198-01, Doc. No. 002-04828 Rev. *B
50
Code trigger attributes can be set as explained in Hardware code break point Sec 5.1.2
Here, instead of break address, one needs to specify the instruction code address. When preset instruction code
address is fetched, trace event is triggered. As per the selection in
Trace Control
option, trace data buffering will
be started or stopped.
Consider following example, it is set to
acquire
trace data before
code
trace trigger hit and
Trace start
is selected
under trace control option, because of that in trace window it is seen that trace data is acquired before trace
trigger is hit and when there is a code fetch from location H’F802D5, that event is marked by tag
===<< Trace
ON >> =====
and still further data is acquired.
Similarly instead of
Trace start
, if we select
Trace stop,
in trace window it is seen that trace data is acquired
before trace trigger is hit and when there is a code fetch from location H’F802D5, that event is marked by tag
===<< Trace OFF>> =====
andno further data is acquired.