In the [Debug Tool Settings] tab, you configure the basic settings of the debug tool for each one of the following categories.
(2) [Access Memory While Running]
(7) [Timer] [RX600, RX700 series]
(8) [Coverage] [RX71M, RX66x, RX65x, RX64M, RX72M, RX72N, and RX72T Groups]
You can configure the memory in this category.
Current memory mapping status is displayed in detail for each type of memory area.
It is not possible to change mapping on this panel.
To add or delete an I/O protection area, select the [Memory mappings] property and click on the [...] button that appears on the right to open the Memory Mapping dialog box. For details on how to change settings, refer to the section of the Memory Mapping dialog box.
This property displays only the number of memory areas.
Expanding the [Memory mappings] property will display the following sub-items.
Indicates the memory type of the corresponding area.
Each memory type corresponds to the following areas.
Address range in an external area that is not read by the debugger. Register this area in the Memory Mapping dialog box. |
If data in the on-chip flash ROM area is changed by means other than downloading (e.g. by manipulating it via the Memory panel or line assembling), the flash ROM reflects this change next time the user program is run. |
If an attempt is made to reference data in erased data flash ROM, only undefined values are displayed due to the specifications of the microcontroller. If the debugger is used to write to the data flash ROM, on the other hand, data is written in 256-byte units. Written areas do not hold undefined values. |
Do not use the debugger to write to FCU-RAM. The FCU firmware area also cannot be written by the debugger. |
The area including the option setting memory areas listed below is displayed as an on-chip RAM area. Note that values cannot be specified in this area through the memory panel. |
[RX71M, RX66x, RX65x, RX64M, and RX72T Groups]
[RX65N-2M, RX651-2M, RX72M, RX66N, and RX72N]
[Access width[bits]] |
[Endian] |
Connecting to a debug tool (see "2.4.1 Connect the debug tool to CS+") will display details for each memory type. |
Specify whether to perform a verify check when the memory value is initialized from the drop-down list.
Select [Yes] to perform verification after download or when values are changed in the Watch panel/ Memory panel.
You can configure the memory access while executing a program in this category.
The settings of this category are required when using the real-time display update function. See "2.11.1.4 Displaying and changing memory contents during program execution" for details on the real-time display update function.
Specify from the drop-down list whether to allow access to the memory area while executing a program.
Select [Yes] to allow access ([No] is selected by default).
Specify whether to update the display in the Watch panel/Memory panel while executing a program.
Select [Yes] to update the display (default).
This property is displayed only when the [Update the display during execution] property is set to [Yes].
Specify the interval in 100ms unit to update the contents in the Watch panel/Memory panel display while executing a program.
Directly enter the Integer number between 100 and 65500 (rounding up the fractions less than 100ms) ([500] is specified by default).
Note that if you've changed the specified value of the [Update the display during execution] property from [No] to [Yes], the previous set value is displayed in this property.
Specify whether to set RRM area automatically.
This property is displayed only when you have selected [Real-time RAM Monitor] in the [Usage of trace function] property. If you have selected [Trace] there, [No] is displayed instead.
In this category, make settings related to PC display in the Status bar during program execution.
This property specifies whether the PC value is displayed in the Status bar during program execution.
When you select [No], the Status bar under execution will show "Running."
[RX100 Series] |
This property is displayed only when you've selected [Yes] in the [PC display during the execution] property.
During program execution, specify a PC display updating interval in the Status bar in 100 ms units.
Enter an integer directly in the range 100 to 65500 (with fractions below 100 ms rounded up). (By default, [500] is specified.)
Note that if you've changed the specified value of the [PC display during the execution] property from [No] to [Yes], the previous set value is displayed in this property.
You can configure the break function in this category.
Specify from the following drop-down list the type of preferential breakpoint to be used with a single click of the mouse in the Editor panel/Disassemble panel.
When setting a break point after the preferential break point type has been used up, the other break point type will be automatically selected.
See "2.10.2 Stop the program at the arbitrary position (breakpoint)" for details on breakpoints.
You can configure the emulation system in this category.
For more information regarding the execution of a specified routine before the execution and after the break of a program, see "2.9.4 Execute a specified routine [E1] [E20] [EZ Emulator]".
Specify whether to debug programs that rewrite on-chip program ROM area, such as those that use ROM P/E mode.
Specify whether to debug programs that rewrite on-chip data flash area, such as those that use data flash P/E mode.
Specify whether to execute a specified routine before executing the user program.
Specify the address to be executed immediately before the user program execution. This property is displayed only when [Execute the specified routine immediately before execution of the user program] property is set to [Yes].
Specify whether to execute a specified routine after the user program break.
Specify the address to be executed immediately after the user program break. This property is displayed only when [Execute the specified routine immediately after the user program stops] property is set to [Yes]
Specify the address where the work RAM for use in execution of the specified routine starts. Specify an address value that is a multiple of four bytes. If the entered value is not a multiple of four bytes, the value is automatically corrected. The amount of memory indicated by the [Work RAM size [bytes] for executing a specified routine] property beginning with this address is to be used by the debugger firmware.
This property is displayed only when you have selected [Yes] either for the [Execute the specified routine immediately before execution of the user program] or [Execute the specified routine immediately after the user program stops] property.
Indicates the size of the work RAM for use in execution of the specified routine.
This property is displayed only when you have selected [Yes] either for the [Execute the specified routine immediately before execution of the user program] or [Execute the specified routine immediately after the user program stops] property.
You can configure the trace function in this category.
Specify whether to use it as real-time RAM monitor function (RRM function) utilizing the trace function. If you select [Real-time RAM Monitor], part of the trace functions will be disabled.
For details on applicable restrictions, see "2.11.1.4 Displaying and changing memory contents during program execution".
This property can be changed only when the program is not running.
To use the real-time RAM monitor function, the E20 and the target board must be connected via a 38-pin JTAG cable. If the E20 and the target board are connected in any other way or via the 38-pin to 14-pin conversion adapter, select [Trace]. |
Select the trace acquisition mode from the following drop-down list.
Continues overwriting the older trace data after the trace memory is full. |
|
Stops writing the trace data after the trace memory is full. |
|
[E20(JTAG) [RX600, RX700 Series]] |
Select the type of data for which trace is to be acquired from the drop-down list.
The type of data that can be selected differs depending on the series of the microcontroller.
Following data types are displayed in the drop-down list.
Branch, Branch + Data access, Data access, Branch + Data access (without Access data), or Data access (without Access data)
[E20(JTAG) [RX600, RX700 Series]] |
[Start address for trace area without access data][RX65N-2M, RX651-2M, RX66T, RX72T, RX72M, RX66N, and RX72N Group] |
Specify the start address for the trace area without access data.
[End address for trace area without access data][RX65N-2M, RX651-2M, RX66T, RX72T, RX72M, RX66N, and RX72N Group] |
Specify the end address for the trace area without access data.
Select the bus master which generated the data access.
This property is displayed only when [Branch+Data access] or [Data access] is specified in the [Trace data type] property.
The following bus masters are displayed in the drop-down list.
When [Trace] is selected in the [Usage of trace function] property,
for data access tracing, only the trace results of data access from the specified bus master are displayed on the trace panel.
When [Real-time RAM Monitor] is selected in the [Usage of trace function] property, The bus master is fixed to [CPU] and cannot be changed. |
For an microcontroller that does not have the function for selecting the Bus master of data access, the [Bus master of data access] [RX71M, RX66x, RX65x, RX64M, RX72M, RX72N, and RX72T Groups] property is not displayed. In this case, the bus master is fixed to [CPU]. |
From the following drop-down list, select the method in which to externally output the trace acquisition data.
If you have selected [Real-time RAM Monitor] in [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, RX66x, RX65x, RX64M, RX72M, RX72N, and RX72T Groups] |
Specify the size of memory used to retain the trace data.
The following memory sizes are displayed in the drop-down list.
If you have selected [Real-time RAM Monitor] in [Usage of trace function] property, the property value is displayed as [1] and becomes unchangeable. |
Specify whether timestamp information is added to the trace data to be collected.
This property is selectable only when you've specified [Trace] in the [Usage of trace function] property.
The change options in this property vary depending on the microcontroller series and the specified value of [Trace data type] property, as follows:
Branch, Branch + Data access, |
||
This property is displayed only when you've specified [Yes] in the [Output timestamp] property.
Enter a count source with which a timestamp value is calculated from a count value.
To specify this, enter a value directly in the range 0.0001 to 999.999.
Note that if this property is blank, the set value of the [Operating frequency [MHz]] property in the [Clock] category of a [Connect Settings] tab is used in place of the count source.
The property's set value is not reflected in the trace data that has already been collected. The property you've set is reflected beginning with the trace data that is Division ratio of trace clock count source collected after it is set. |
[Division ratio of trace clock count source][RX71M, RX66x, RX65x, RX64M, RX72M, RX72N, and RX72T Groups] |
Specify the division ratio of trace clock count source for the timestamp.
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, RX66x, RX65x, RX64M, RX72M, RX72N, and RX72T Groups] property is not displayed. In this case, the division ratio is fixed to [1/1] |
You can configure the timer function in this category.
Specify whether to use two 32-bit counters or one 64-bit counter.
You can configure the coverage function in this category.
See "2.15 Measure Coverage [Simulator] [E20 [RX71M, RX66x, RX65x, RX64M, RX66T, RX72T, RX72M, and RX72N Groups]]" for details on the coverage function and this category configuration.