5 ending trace acquisition in specified conditions, Ending trace acquisition in specified conditions – FUJITSU CM71-00329-7E User Manual

Page 211

Advertising
background image

201

CHAPTER2 Dependence Functions

2.4.8.5

Ending Trace Acquisition in Specified Conditions

This section explains the trace trigger.

Trace Trigger

A trigger can be generated to end trace acquisition in the specified conditions by monitoring the MCU bus

running status. This function is called a "trace trigger".

The trace trigger can be selected with either the code attribute or the data access attribute.

If the trace trigger hits, the execution of the program can be stopped. For details, refer to Section "2.4.6.4

Trace Trigger Break".

If necessary, when the trace trigger hits, trace acquisition can be ended after trace data has been acquired by

the specified number of frames. This function is called "delay".

How to set

Use one of the following methods to control the trace trigger.

Using GUI

1. Display the trace window.

- Select [View] - [Trace] menu.

2. The trace setting dialog appears.

- Right-click on the trace window, and select [Setup] from the pop-up menu. The trace setting dialog

appears. Select the [Trace Trigger] tab.

For details, refer to Section "4.4.8 Trace" in "SOFTUNE Workbench Operation Manual".

Using Command

1. Specify the trace trigger.

- Execute the SET TRACETRIGGER command.

For details, refer to Section "4.28 SET TRACETRIGGER" in "SOFTUNE Workbench Command

Reference Manual".

2. Specify the trace delay.

- Execute the SET DELAY command.

For details, refer to Section "4.33 SET DELAY" in "SOFTUNE Workbench Command Reference

Manual".

Note:

When the trace trigger hits, trace data is displayed until the branch instruction address just before
the trigger is generated.

Advertising