< 7. Sampling Trace >
7-4
TI 34M6A82-01E
2nd Edition : Nov. 1, 2002-00
You can specify sampling data in the following way.
Sampling data is stored sequentially in the sampling trace buffer (rotary buffer) of the
CPU when a sampling trace is executed in a specified sampling mode (see the figure on
the right).
The sampling trace buffer can store up to 1,024 trace data items for each specified
device.
You can obtain the required 1,024 items of sequential data from all trace data collected.
In this case, a trigger condition should be established as a reference point by specifying
a delay count.
There are two ways to specify a delay count.
- Specifying a negative delay count
- Specifying a positive delay count
1. Specifying a negative delay count
When you specify a negative delay count, the specified number of data items
immediately before a trigger condition is established are collected, and then items
following the trigger condition are collected until the total data items collected
reaches 1,024. These data items are all stored in the sampling trace buffer.
The following illustration shows an example when you specify a delay count as
"-500."
The 500 data items collected before the trigger condition is established and the 524
data items collected after the condition is established are stored as sampling data.