Specifications

3 Using Wind River Trace
3.6 Tracing Execution
57
3
After Trace Counter
This counter can be used with either the Tra ce Off or Trace Around options to
capture more trace data after the matched address.
To use this counter, select After Trace Counter and enter a value in the After Trace
Counter field.
The value you enter is the number of trace records that will be captured after the
trace event is detected. The limit is FFFF. The number of instructions per trace
record varies by processor family, as follows:
For AMCC 405 processors, instructions per trace record ranges from 1 to 16.
For AMCC 440 processors, instructions per trace record ranges from 1 to 64.
For the V2 and V3 Core ColdFire processors, instructions per trace record ranges
from 1 to 8.
For the V4 Core ColdFire processors, instructions per trace record ranges from 1 to
32.
The number of instructions per trace record is normally greater when running with
the cache enabled.
You can also set the After Trace Counter using low-level commands. At the
>BKM>
prompt in the OCD Command Shell, use the following commands:
Get AT
Set AT value
value = limit is FFFF.
Post Trigger Counter
This counter can be used only with the Tra ce Trigger option, to capture a specific
area of information. If you know exactly where a problem is, a useful combination
is to set a Tr igg er (with Post Trigger Counter) at that location (code or memory
operation).
To use this counter, select Post Trigger Counter and enter a value in the Post
Trigger Counter field. The limit is FFFF.
You can also set the Post Trigger Counter using low-level commands. At the
>BKM> prompt in the OCD Command Shell, use the following commands: