12 sampling by external probe, Sampling by external probe – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 147

Advertising
background image

133

CHAPTER 2 DEPENDENCE FUNCTIONS

2.2.12

Sampling by External Probe

An external probe can be used to sample (input) data. There are two sampling types:
sampling the trace buffer as trace data, and sampling using the SHOW SAMPLING
command.

Sampling by External Probe

There are two sampling types to sample data using an external probe: sampling the trace buffer as trace data,

and sampling using the SHOW SAMPLING command.

When data is sampled as trace data, such data can be displayed by using the SHOW TRACE command or

SHOW MULTITRACE command, just as with other trace data. Sampling using the SHOW SAMPLING

command, samples data and displays its state.

In addition, by specifying external probe data as events, such events can be used for aborting a program, and

as multi trace and performance trigger points.

Events can be set by using the SET EVENT command.

External Probe Sampling Timing

Choose one of the following for the sampling timing while executing a program.

- At rising edge of internal clock (clock supplied by emulator)

- At rising edge of external clock (clock input from target)

- At falling edge of external clock (clock input from target)

Use the SET SAMPLING command to set up; to display the setup status use the SHOW SAMPLING

command.

When sampling data using the SHOW SAMPLING command, sampling is performed when the command is

executed and has nothing to do with the above settings.

[Example]

>>SET SAMPLING/INTERNAL

>>SHOW SAMPLING

sampling timing : internal

channel

7 6 5 4 3 2 1 0

1 1 1 1 0 1 1 1

Advertising