Make settings in the [Trace] category on the Property panel’s [Debug Tool Settings] tab.
Part of the trace functions and real-time RAM monitor functions (RRM functions) can be used only on a mutually exclusive basis. Therefore, in this property, specify which function you want to be used preferentially. Here, select [Trace] from the drop-down list below.
[E20(Serial)] |
[E20(JTAG) [RX600 Series]] |
[Stop trace] and [Stop] cannot be used. Only [Overwrite trace memory and continue execution] can be used. |
|
Specify the operation to be performed when the trace memory is filled with collected trace data, from the drop-down list below.
This property is displayed only when you've selected [Trace] for the [Usage of trace function] property.
Specify the type of trace data to be collected, from the drop-down list below.
[E20(Serial) [RX100, RX200 Series]] |
[E20(Serial) [RX100, RX200 Series]] |
This property is displayed only when [Branch+Data access] or [Data access] is specified in the [Trace data type] property.
Select the Bus master of data access from the drop-down list.
The following bus masters are displayed in the drop-down list.
The results of data access from CPU are displayed on the trace panel. |
|
The results of data access from DMAC/DTC are displayed on the trace panel. |
For data access tracing, only the trace results of data access from the specified bus master are displayed on the trace panel.
For an microcontroller that does not have the function for selecting the Bus master of data access, the [Bus master of data access] [RX71M and RX64M Groups] property is not displayed. In this case, the bus master is fixed to [CPU]. |
Specify the method on how the collected trace data should be output from the drop-down list below.
When [Real-time RAM Monitor] is selected in the [Usage of trace function] property, [Do not output] cannot be selected from the drop-down list. |
If Step in is executed when [CPU execution] or [Trace output] is specified and trace data is being displayed on the Trace panel correct trace data may not always be displayed. |
[RX71M and RX64M Groups] |
Specify the size of memory used to retain trace data from the drop-down list below.
This property specifies whether timestamp information is added to the trace data to be collected. Specify [Yes] when you want timestamp to be output.
[E20(Serial) [RX200 Series]] |
[E20 [RX100 Series]] |
Enter a count source for the timestamp in the range 0.0001 to 999.999.
Note that if this property is blank, the set value of the [Operating frequency [MHz]] in the [Clock] category of a [Connect Settings] tab is used in place of the count source.
This property is displayed only when [Yes] is selected in the [Output timestamp] property.
Select the frequency division ratio for the timestamp count source from the drop-down list.
The following frequency division ratios are displayed in the drop-down list.
The frequency specified in the [Trace clock count source[MHz]] property is divided by the specified value (the frequency is multiplied by 1/n) and one cycle of the obtained frequency is used as the unit for timestamp count (the frequency for count value 1).
For an microcontroller that does not have the function for dividing the timestamp frequency for tracing, the [Division ratio of trace clock count source] [RX71M and RX64M Groups] property is not displayed. In this case, the division ratio is fixed to [1/1]. |