2.3.3.1 [Connect Settings] tab

In the [Connect Settings] tab, you configure the connection with the debug tool for each one of the following categories.

 

(1) [Internal ROM/RAM]

(2) [Clock]

(3) [Connection with Emulator]

(4) [Connection with Target Board]

(5) [Flash]

(6) [Operating Modes of CPU]

(7) [External Flash]

(1)

[Internal ROM/RAM]

The configuration of internal ROM/RAM is displayed in this category.

Figure 2.26

[Internal ROM/RAM] Category

(a)

[Size of internal ROM[KBytes]

The internal ROM size to emulate is displayed (unit: Kbytes).

You cannot change the value of this property.

(b)

[Size of internal RAM[Bytes]]

The internal RAM size to emulate is displayed (unit: bytes).

You cannot change the value of this property.

(c)

[Size of DataFlash memory[KBytes]]

The data flash memory size is displayed (unit: Kbytes).

If the currently selected microcontroller does not incorporate the data flash, [0] is displayed.

You cannot change the value of this property.

(2)

[Clock]

You can configure the clock in this category.

Caution

You cannot change the property in this category while connected to E20.

Figure 2.27

[Clock] Category [HOCO]

Figure 2.28

[Clock] Category [EXTAL]

(a)

[Main clock source]

Select EXTAL frequency or internal HOCO as the main clock source. [EXTAL] will be displayed for microcontrollers with no internal HOCO.

(b)

[Main clock frequency [MHz]]

Specify the main clock frequency (before multiplier).

Specify EXTAL frequency by directly entering a number between 0.0001 and 99.9999 (MHz). The entered value will be truncated to 4 decimal places. If the value is out of the specifiable range, it will be rounded to 0.0001 (when 0 or below) or to 99.9999 (when 100 or above).

This property is displayed only when you have selected [EXTAL] in the [Main clock source] property.

(c)

[Operating frequency [MHz]]

Specify the Operating frequency (ICLK) by directly entering a number between 0.0001 and 999.9999 (MHz).

If you enter a value with more than four decimal places, the entered value will be truncated to four decimal places. If the value is out of the specifiable range, it will be rounded to 0.0001 (if 0 or negative) or to 999.9999 (if 1000 or greater).

(d)

[Allow changing of the clock source on writing internal flash memory]

Specify whether to allow a debugger to operate the clock while the internal flash memory is being rewritten.

Caution

[E20 [RX630, RX631, RX63N, RX63T, RX210, RX21A, RX220, RX110, RX111, RX113]]
When [Yes] is selected, if internal flash ROM is rewritten by the debugger while the FlashIF clock (FCLK) of the microcontroller is outside of the guaranteed operating range (that is, while operating with LOCO or subclock), the E20 will switch the clock source. After rewriting to the internal flash ROM is completed, the clock will be restored to the previous clock source.
Note that the operating frequency of the peripheral clock will change during internal flash memory rewriting because the clock source is switched.
The clock manipulation enabling setting takes effect when the internal flash ROM is rewritten after program execution or step execution. Note that the clock source is forcibly switched regardless of the clock manipulation enabling setting if FCLK is outside of the guaranteed operating range immediately after the debug tool is activated or when the [CPU Reset] button is clicked.


(3)

[Connection with Emulator]

You can configure the connection between E20 and a host machine in this category.

Caution

You cannot change the property in this category while connected to E20.

Figure 2.29

[Connection with Emulator] Category

(a)

[Emulator serial No.]

Serial numbers of all connected E20 emulators are displayed in the drop-down list.

Select the one to be connected to the target system.

The drop-down list is updated every time it is used.

(4)

[Connection with Target Board]

You can configure the connection between E20 and the target board in this category.

Figure 2.30

[Connection with Target Board] Category [E20(Serial)]

Figure 2.31

[Connection with Target Board] Category [E20(JTAG)]

(a)

[Power target from the emulator. (MAX 200mA)]

[No] is displayed as the property value.

E20 does not support power supply function.

(b)

[Communications method]

Displays the method of communication used by the E20 emulator for communicating with the microcontroller on the target system. Specifying [RX E20(Serial)] for a debug tool in the Project Tree panel will display [FINE] in this property, and specifying [RX E20(JTAG)] will display [JTAG].

You cannot change the value of this property.

For the details of debug tool selection, see "2.3.1 Select the debug tool to use.

(c)

[JTAG clock[MHz]]

From the drop-down list, select the baud rate (JTAG clock) to be used by the E20 emulator for communicating with the microcontroller on the target system.

This property is displayed only when [JTAG] is selected in the [Communications method] property.

The following baud rate is displayed in the drop-down list.

-

16.5 (default), 12.38, 6.188, 3.094, 1.547

Caution 1.

This property cannot be changed while connected to E20.

Caution 2.

Depending on the length or the method of JTAG signal wiring on the target system, it may not be possible to communicate using the selected JTAG clock. In such a case, reducing the JTAG clock may achieve successful communication.

(d)

[FINE baud rate[bps]]

From the drop-down list, select the baud rate (FINE baud rate) to be used by the E20 emulator for communicating with the microcontroller on the target system.

This property is displayed only when [FINE] is selected in the [Communications method] property.

The following baud rate is displayed in the drop-down list.

-

2000000 (default), 750000, 500000, 250000

Caution 1.

This property cannot be changed while connected to E20.

Caution 2.

Depending on the length or the method of FINE signal wiring on the target system, it may not be possible to communicate using the selected FINE baud rate. In such a case, reducing the FINE baud rate may achieve successful communication.

(5)

[Flash]

You can configure the flash memory rewriting in this category.

Figure 2.32

[Flash] Category

(a)

[Input Mode of ID code]

Specify the mode in which to input the ID codes.

Caution

This property cannot be changed while connected to E20.

(b)

[ID code]

Enter the ID code to release the flash memory from the protected state.

If you have selected [Specify the ID code as a 32-digit hexadecimal] in the [Input Mode of ID code] property, enter the ID code in a 32-digit hexadecimal number. If you have selected [Specify the ID code as an ASCII code within 16 characters], enter the ID code using maximum 16 ASCII characters.

Caution 1.

This property cannot be changed while connected to E20.

Caution 2.

To enter the ID code as a 32-digit hexadecimal value, arrange it as a sequence of 32-bit units of data.
Byte order of the ID code of the flash programmer can be different from that of CS+. Please confirm the specification about ID code of the flash programmer youre using.

Caution 3.

If the ID code entered in ASCII characters is shorter than 16 characters, the unused space will be padded with 0.

Caution 4.

Even if you have downloaded a program that contains an ID code, that ID code is replaced with FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.

(c)

[Work RAM start address]

Specify the location address of the work RAM to be used by the debugger. 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]] property beginning with this address is to be used by the debugger firmware.

Caution 1.

This property cannot be changed while connected to E20.

Caution 2.

The work RAM area can also be used by the user program because the emulator saves and restores data in this area. Note, however, that the work RAM area is not specifiable as:
the destination or origin of a DMA or DTC transfer, an address where a DTC vector table or transfer information is to be allocated, or the interrupt vector for a DMAC or DTC activation source.

(d)

[Work RAM size[bytes]]

Displays the size of work RAM to be used by the debugger.

(6)

[Operating Modes of CPU]

In this category, you configure the operating mode of the microcontroller to be emulated.

Caution

This property cannot be changed while connected to E20.

Figure 2.33

[Operating Modes of CPU] Category

(a)

[Mode pins setting]

Specify the operating mode set by the mode pin of the microcontroller.

(b)

[Allow erasing the USB boot program]

Select whether to erase the USB boot program in the user boot area when you are starting up the emulator in the user boot mode by using a microcontroller in which the USB boot program is stored.

This property is displayed only when [User boot mode] is selected for the [Mode pins setting] property. Note that this is not displayed for an microcontroller in which the USB boot program in the user boot area does not need to be erased when you are starting up the emulator.

(c)

[Register setting]

Specify the operating mode to be set by the register.

The operating mode that can be specified depends on the type of the microcontroller.

(d)

[Endian]

Displays the project endian. Acquires endian information from the project and displays its value. Can be selected only when the debug tool is disconnected.

(7)

[External Flash]

In this category, you can configure external flash.

The settings in this category are required when downloading to an external flash memory. For more details regarding property setting, see 2.5.2.5 Downloading files to external flash memory [E1] [E20].

Caution

You cannot change the property in this category while connected to E20.