2.3.3.1 [Connect Settings] tab

You configure the connection with the debug tool for each one of the following categories.

 

(1) [Clock]

(2) [Connection with Emulator]

(3) [Connection with Target Board]

(4) [E2 Expansion Interface] [E2]

(5) [Flash]

(6) [Memory]

(7) [CPU Virtualization Support Function]

(1)

[Clock]

You can configure the clock.

Figure 2.22

[Clock] Category [E1]

(a)

[Mount main clock on target board]

Select whether to mount the main clock circuit on the target board.

Select [No] when you use the on-chip oscillation circuit instead of the main clock circuit.

Select [Yes] when you use the main clock circuit, and specify its frequency in the [Main clock frequency [MHz]] property.

Note that when [No] is selected, the following properties become fixed values.

 

[LPD mode]: [4pin]

[Set OPJTAG in LPD connection before connecting]: [No]

 

(b)

[Main clock frequency [MHz]]

Specify the main clock frequency (before multiplication).

You can specify the frequency from the drop-down list or by directly entering a frequency value between 0.001 and 999.999 (unit: MHz) (default: [10.00]).

(c)

[CPU clock frequency [MHz]]

Specify the CPU clock frequency (after multiplication) for each core.

The names of cores incorporated in the selected microcontroller are displayed as subproperties of this property. You can specify the frequency for each core from the drop-down list or by directly entering a frequency value between 0.001 and 999.999 (unit: MHz).

The number of subproperties displayed here and the default value of the CPU clock frequency differ depending on the selected microcontroller.

Remark

The CPU clock frequency is used to convert the time stamp information for a trace to an actual time.

(2)

[Connection with Emulator]

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

Caution

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

Figure 2.23

[Connection with Emulator] Category

(a)

[Emulator serial No.]

Serial numbers of all connected E1 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.

(3)

[Connection with Target Board]

You can configure the connection between E1 and the target board.

Caution

Properties in this category cannot be changed when CS+ is connected to E1.
The [Supply voltage] property can be changed when CS+ is connected to E2.

Figure 2.24

[Connection with Target Board] Category [E1]

(a)

[LPD mode]

Select LPD communication mode to use.

The selectable pin values differ depending on the selected microcontroller.

Note, however, that this property value cannot be changed when only one communication mode is available.

(b)

[Baud rate [Kbps]]

This property appears only when the [LPD mode] property is set to [1pin].

Select the baud rate for LPD communication (default: [500]).

(c)

[LPD clock frequency [kHz]]

This property appears only when the [LPD mode] property is set to [4pin].

Select the clock frequency for the LPD communication (default: [Default]).

When [Default] is selected, the default value specific to the microcontroller is used in connection to the target board.

(d)

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

Specify whether power is supplied from E1 to the target system.

Select [Yes] to supply power to the target board (default: [No]).

(e)

[Interface for supplying the power] [E2]

This property appears only when the [Power target from the emulator (MAX 200mA)] property is set to [Yes].

Select the interface for supplying the power to the target board from the emulator (default: [USER I/F]).

(f)

[Supply voltage]

This property appears only when the [Power target from the emulator (MAX 200mA)] property is set to [Yes].

Select the power voltage supplied to the target board (default: [3.3V]).

(g)

[Set OPJTAG in LPD connection before connecting]

Select whether to start up the microcontroller in serial programming mode upon connection to the debug tool and change the option byte settings to select LPD connection.

When [Yes] is selected, the debug tool starts up the microcontroller in serial programming mode upon its connection to CS+. The debug tool then checks the OPJTAG byte and, if LPD is not selected, changes the setting to select LPD. After that, the microcontroller enters debugging mode (default).

When [No] is selected, the debug tool starts up the microcontroller in debugging mode upon its connection to CS+. The debug tool then checks OPJTAG and, if LPD is not selected, shows a message dialog box.

(h)

[Set OPJTAG in JTAG connection before disconnecting]

This property can be changed only when the [Set OPJTAG in LPD connection before connecting] property is set to [Yes].

Select whether to change the option byte settings to select JTAG connection before disconnection of the debug tool.

If you wish to change the option byte settings to select JTAG connection before disconnecting the debug tool, select [Yes].

When [No] (the default setting) is selected, the option byte settings are not changed before the debug tool is disconnected. In this case, LPD mode is applicable as the pin mode.

Remark

On connection to E1, CS+ changes the option byte settings if LPD is not selected. For this reason, connecting and disconnecting E1 may change the value of the option bytes.

(i)

[Initialize RAM when connecting]

Select whether to initialize the RAM when connecting to the debug tool.

Select [No] when the RAM is not initialized (default: [Yes]).

When [No] is selected, debugging can be performed when an ECC error occurs because the RAM is not initialized.

Caution

When [No] is selected, the following functions involving writing to the flash memory cannot be used.

-

Downloading

-

Writing of the option bytes by using the Flash Options Setting dialog box

-

Setting of software breakpoints

 

An ECC error may also occur during access to the RAM from the Memory panel, Watch panel, Local Variables panel, etc.
When debugging an ECC error that has occurred, do not open the Memory panel, Watch panel, Local Variables panel, etc. before the RAM has been initialized by the user program.

(j)

[Release the RESET before disconnecting from the target system] [E2]

Select whether to release the RESET before disconnecting from the target system.

Select [Yes] to release the RESET (default: [No]).

(k)

[Use the PiggyBack board]

This property only appears when the selected microcontroller requires it.

Select whether to use the PiggyBack board.

Select [Yes] to use the PiggyBack board (default: [No]).

Caution

The emulator may not started if a PiggyBack board is in use but [No] is selected.

(4)

[E2 Expansion Interface] [E2]

You can configure the E2 expansion interface.

Figure 2.25

[E2 Expansion Interface] Category [E2]

(a)

[Interface for supplying the power]

Select whether to use the E2 expansion interface.

If you want to use the E2 expansion interface, select the power used by the E2 expansion interface.

(5)

[Flash]

You can configure the flash memory rewriting.

Caution

The properties in this category may vary with the selected microcontroller.
Properties in this category cannot be changed when CS+ is connected to E1.

Figure 2.26

[Flash] Category [E1]

(a)

[Security ID]

This property appears only when the selected microcontroller supports the ROM security function for flash memory.

Specify the ID code when reading the code from the internal ROM or internal flash memory.

Directly enter 32 digits hexadecimal number (16 bytes) (default: [FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF]).

(b)

[Using the code flash self programming]

Select whether to rewrite the code flash by using the flash self library of the flash self programming function.

Select [Yes] to rewrite the code flash (default: [No]).

Note that if [Yes] is selected in this property, the code flash will not be cashed.

Caution

If the [Use software break] property in the [Debug Tool Setting] tab is set to [Yes], this property is fixed to [No] (changes not allowed).

(c)

[Change the clock to flash writing]

Select whether to increase the clock speed temporarily for writing to the flash memory by the debugger operation.

Select [Yes] to overclock for writing to the flash memory so that the performance of flash rewrite is improved (default).

When [No] is selected, a flash rewrite is performed using the clock speed set by the user.

Caution

Selecting [Yes] may affect the peripheral system that is operating during a break because not only the CPU clock frequency but also the peripheral clock frequency changes.
When [No] is selected, the time of flash rewrite by the debugger operation will increase if the set clock speed is low.

(6)

[Memory]

You can configure the memory.

Figure 2.27

[Memory] Category

(a)

[Work RAM start address]

Specify the first address of the working RAM area used by the debugger.

Specify the address as a 4-byte unit; if the input value is not a 4-byte unit, it is automatically adjusted.

The firmware of the debugger uses the range from the address where the working RAM is specified to start to the address corresponding to the size indicated in the [Work RAM size [Kbytes]] property.

Caution

Since the contents of memory are saved and restored, this area can be used by the user program. However, the area allocated as the working RAM cannot be used in the following ways.

-

As the source or destination for transfer by the DMA or DTS

-

Use by other external masters

(b)

[Work RAM size [Kbytes]]

Display the size of the working RAM area used by the debugger.

(7)

[CPU Virtualization Support Function]

The property in this category is always disabled.