2.3.4.2 [Debug Tool Settings] tab

In the [Debug Tool Settings] tab, you configure the basic settings of the debug tool for each one of the following categories.

 

(1) [Memory]

(2) [Access Memory While Running]

(3) [Register]

(4) [Break]

(5) [System]

(6) [Trace]

(7) [Timer] [RX600 series]

(1)

[Memory]

You can configure the memory in this category.

Figure 2.51

[Memory] Category

(a)

[Memory mappings]

Current memory mapping status is displayed 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.

-

[Memory type]
Indicates the memory type of the corresponding area.
Each memory type corresponds to the following areas.

On-chip ROM area

Program ROMNote 1 and data flashNote 2

On-chip RAM area

On-chip RAM

I/O registers area

Peripheral I/O register

Divided into areas with different endians for display

External area(CS7/CS6/.../CS0)

External address space

CS0 to CS7 are displayed separately

Other memory area

FCU-RAMNote 3, FCU firmwareNote 3, user boot

Reserved area

Areas other than those listed above

I/O protection area

Address range in an external area that is not read by the debugger. Register this area in the Memory Mapping dialog box.

Note 1.

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.

Note 2.

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.

Note 3.

Do not use the debugger to write to FCU-RAM. The FCU firmware area also cannot be written by the debugger.

-

[Start address]
Displays the starting address of the corresponding area.

-

[End address]
Displays the ending address of the corresponding area.

-

[Access width[bits]]
Displays the access width of the corresponding area.
When [Memory type] Indicates the memory type of the corresponding area. Each memory type corresponds to the following areas. is an external area, the access width can only be changed when the debug tool is disconnected.

-

[Endian]
Displays the endians of the external area and the I/O register area.
When [Memory type] Indicates the memory type of the corresponding area. Each memory type corresponds to the following areas. is an external area, the endian can only be changed when the debug tool is disconnected.

Caution

Connecting to a debug tool (see "2.4.1 Connect the debug tool to CS+") will display details for each memory type.

(b)

[Verify on writing to memory]

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.

(2)

[Access Memory While Running]

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.

Figure 2.52

[Access Memory While Running] Category

(a)

[Access by stopping execution]

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).

(b)

[Update the display during execution]

Specify whether to update the display in the Watch panel/Memory panel while executing a program.

Select [Yes] to update the display (default).

Caution

You cannot change this property while the program is in execution.

(c)

[Update interval[ms]]

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.

Caution

You cannot change this property while the program is in execution.

(3)

[Register]

In this category, make settings related to PC display in the Status bar during program execution.

Figure 2.53

[Register] Category

(a)

[PC display during the 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."

Caution 1.

You cannot change this property while the program is in execution.

Caution 2.

[RX100 Series]
This property is hidden because these microcontrollers do not support display of the PC value in the status bar during program execution.

(b)

[Display update interval for PC[ms]]

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.

Caution

You cannot change this property while the program is in execution.

(4)

[Break]

You can configure the break function in this category.

Figure 2.54

[Break] Category

(a)

[Type of breakpoints to be preferentially used]

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.

Software break

Sets software breakpoint preferentially.

Hardware break

Sets hardware breakpoint preferentially (default).

(5)

[System]

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]".

Figure 2.55

[System] Category

(a)

[Debug the program re-writing the on-chip PROGRAM ROM]

Specify whether to debug programs that rewrite on-chip program ROM area, such as those that use ROM P/E mode.

Caution

You cannot change this property while connected to EZ Emulator.

(b)

[Debug the program re-writing the on-chip DATA FLASH]

Specify whether to debug programs that rewrite on-chip data flash area, such as those that use data flash P/E mode.

Caution

You cannot change this property while connected to EZ Emulator.

(c)

[Execute the specified routine immediately before execution of the user program]

Specify whether to execute a specified routine before executing the user program.

Caution

You cannot change this property while the program is in execution.

(d)

[Routine to run immediately before execution starts]

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].

Caution

You cannot change this property while the program is in execution.

(e)

[Execute the specified routine immediately after the user program stops]

Specify whether to execute a specified routine after the user program break.

Caution

You cannot change this property while the program is in execution.

(f)

[Routine to run immediately after execution stops]

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].

Caution

You cannot change this property while the program is in execution.

(g)

[Work RAM start address for executing a specified routine]

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.

Caution 1.

You cannot change this property while the program is in execution.

Caution 2.

Specify the range of memory that is not used by the user program.

(h)

[Work RAM size [bytes] for executing a specified routine]

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.

(6)

[Trace]

You can configure the trace function in this category.

Figure 2.56

[Trace] Category

(a)

[Usage of trace function]

[Trace] is displayed as the usage of trace function.

You cannot change the value of this property.

(b)

[Operation after trace memory is full]

Select the trace acquisition mode from the following drop-down list.

Overwrite trace memory and continue execution

Continues overwriting the older trace data after the trace memory is full.

Stop trace

Stops writing the trace data after the trace memory is full.

Stop

Breaks after the trace memory is full.

(c)

[Trace data type]

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.

-

[RX600, RX700 Series]
Branch, Branch+Data access, Data access

-

[RX100, RX200 Series]
Branch, Data access

(d)

[Output timestamp]

Specify whether timestamp information is added to the trace data to be collected.

The change options in this property vary depending on the microcontroller series and the specified value of [Trace data type] property, as follows:

Microcontroller

Data type

Change options

RX600, RX700 Series

Branch, Branch+Data access,
Data access

Changeable only when program is halted.

RX200 Series

Branch

Not changeable.

[No] is always displayed.

Data access

Changeable only when program is halted.

RX100 Series

Branch, Data access

Not changeable.

[No] is always displayed.

(e)

[Trace clock count source[MHz]]

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.

Caution 1.

You cannot change this property while the program is in execution.

Caution 2.

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 collected after it is set.

(7)

[Timer] [RX600 series]

You can configure the timer function in this category.

Figure 2.57

[Timer] Category

(a)

[Use 64bit counter]

Specify whether to use two 32-bit counters or one 64-bit counter.