2.13.1.4 For [Simulator]

Make settings in the [Trace] category on the Property panel’s [Debug Tool Settings] tab.

Figure 2.144

[Trace] Category [Simulator]

(1)

[Use trace function]

Specify from the drop-down list whether or not to use the trace function.

To use the trace function, specify [Yes] (by default, [No] is selected).

(2)

[Clear trace memory before running]

Specify from the drop-down list whether or not to clear (initialize) the trace memory once before the trace function begins.

To clear, specify [Yes] (default).

Remark

The trace memory can be forcibly cleared by clicking the button in the Trace panel toolbar.

(3)

[Operation after trace memory is full]

Specify the operation to be performed when the trace memory is filled with collected trace data, from the drop-down list below.

Non stop and overwrite to trace memory

When the trace memory is filled, CS+ continues writing trace data over the old data (default).

If you've selected [Yes] for the [Clear trace memory before running] property, when the program is re-executed, the trace memory is cleared before trace data is written to.

Stop

When the trace memory is filled, CS+ stops writing trace data and stops program execution at the same time.

If you've selected [No] for the [Clear trace memory before running] property, even when re-executed, the program is halted and not executed.

(4)

[Accumulate trace time]

Specify from the drop-down list whether or not to use an accumulated display for trace time display.

Specify [Yes] to use an accumulated display for trace time display, or [No] to use a difference display (default).

(5)

[Trace memory size[frames]]

Specify from the drop-down list the size of trace memory (number of trace frames).

Note that a trace frame is a unit for the trace data, and that fetch, write and read operations each use one trace frame.

The drop-down list shows the number of trace frames as follows:

64K (default), 128K, 256K, 512K, 1M, 2M, 3M