Everything
2.3.2.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) [E2 Expansion Interface] [E2]

(5) [Break]

(6) [System]

(7) [Trace]

(8) [Timer] [RX600, RX700 series]

 

(1)

[Memory]

You can configure the memory in this category.

Figure 2.17

[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 RAMNote 4

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.

Note 4.

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]

-

SPCC Serial Programmer Command Control Reg.

-

OSIS OCD/Serial Programmer ID Setting Reg.

-

Endian select registers (MDE)

-

Option function select register 0 (OFS0)

-

Option function select register 1 (OFS1)

 

[RX65N-2M, RX651-2M, RX671, RX72M, RX66N, and RX72N]

-

SPCC Serial Programmer Command Control Reg.

-

OSIS OCD/Serial Programmer ID Setting Reg.

-

Endian select registers (MDE)

-

Option function select register 0 (OFS0)

-

Option function select register 1 (OFS1)

-

Bank Select Register (BANKSEL)

-

Flash Access Window Setting Register (FAW)

-

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

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

[Display 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.19

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

Caution 3.

While current consumption is being measured, this property is fixed to [No].

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

[E2 Expansion Interface] [E2]

You can configure the E2 Expansion Interface.

Figure 2.20

[E2 Expansion Interface] Category

(a)

[External trigger input]

Set the settings related to the external trigger input.

You can select different actions for each channel.

<1>

Channel number

The channel number is displayed.

<2>

Use

Specify whether to use the external trigger input for this channel number.

<3>

Input signal

Specify the input signal.

<4>

Action when inputting the external trigger

The action when inputting the external trigger is displayed.

(b)

[External trigger output]

Set the settings related to the external trigger output.

You can select different actions for each channel.

<1>

Channel number

The channel number is displayed.

<2>

Use

Specify whether to use the external trigger output for this channel number.

<3>

Output timing

The output timing is displayed.

<4>

Output signal

The output signal displayed.

<5>

Pulse width [us]

Specify the pulse width.

(5)

[Break]

You can configure the break function in this category.

Figure 2.21

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

(6)

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

Figure 2.22

[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 E1.

(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 E1.

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

(7)

[Trace]

You can configure the trace function in this category.

Figure 2.23

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

[Bus master of data access][RX71M, RX66x, RX65x, RX64M, RX671, RX72M, RX72N, and RX72T Groups]

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.

-

CPU (default), DMAC/DTC

 

For data access tracing, only the trace results of data access from the specified bus master are displayed on the trace panel.

Caution 1.

This property setting cannot be changed during program execution.

Caution 2.

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, RX671, RX72M, RX72N, and RX72T Groups] property is not displayed. In this case, the bus master is fixed to [CPU].

(e)

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

(f)

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

(g)

[Division ratio of trace clock count source][RX71M, RX66x, RX65x, and RX64M Groups]

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.

-

1/1 (default), 1/16, 1/256, 1/4096

 

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

Caution 1.

This property setting cannot be changed during program execution.

Caution 2.

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, and RX64M Groups] property is not displayed. In this case, the division ratio is fixed to [1/1].

(8)

[Timer] [RX600, RX700 series]

You can configure the timer function in this category.

Figure 2.24

[Timer] Category

(a)

[Use 64bit counter]

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