2.4.3 Connect the debug tool to CS+ using hot plug-in [E1(JTAG)] [E20(JTAG)]

With hot plug-in function, you can connect the debug tool to the CS+ and debug the program while it is in execution.

Follow the steps below to establish hot plug-in connection.

(1)

Execute the program

Execute the program which has been downloaded onto the microcontroller on the target system without connecting to the emulator.

(2)

Specify the debug tool

In the active project, specify the debug tool which supports hot-plug in connection ([E1(JTAG)]/[E20(JTAG)]).

Remark

[E1(Serial)] [E20(Serial)] [EZ Emulator]
Hot plug-in connection is not supported.

(3)

Connect the debug tool to CS+ using hot plug-in

Select [Hot Plug-in] from [Debug] menu to initiate the preparation for hot plug-in connection.

(4)

Connect to the target system

Following message will appear once you are ready to start hot plug-in connection. Connect the emulator to the target system and click [OK]. This will start the communication with the debug tool which is selected in the currently active project.

Figure 2.77

Message Indicating that Hot Plug-in Connection Is Ready to be Started

Caution

[E1(JTAG)]
To establish hot plug-in connection, you need to connect the emulator to the target system via "Hot-plug Adapter" (R0E000010ACB00) which is optionally available.

(5)

Hot plug-in connection completed

Once the connection to the debug tool is successfully completed, the Status bar on the Main window will change as shown below. For details on each item displayed on the Status bar, see the section of the "Main window".

Figure 2.78

Status Bar Indicating the Successful Hot plug-in Connection to the Debug Tool

Caution 1.

The trace function will not be available until the program breaks following the completion of hot plug-in connection.

Caution 2.

The real-time RAM monitor function (RRM function) will not be available until the program breaks following the completion of hot plug-in connection. Do not select [Real-time RAM monitor] for the [Usage of trace function] property under the[Trace] category.

Caution 3.

Once the hot plug-in connection is established, all the events that have been set in the project as the user information (excluding built-in event) will be deleted.

Caution 4.

When conducting hot plug-in connection, do not use a project for which software break point is set as it may result in unsuccessful connection. Check that all the software break points are deleted in the Events panel of the active project before starting hot plug-in connection (see 2.17.5 Deleting events).

Caution 5.

The emulator stops the program temporarily for approximately 800μs to check the ID code at hot plug-in connection (CPU clock: 100 MHz, JTAG clock: 16.5 MHz).

Caution 6.

[RX630, RX631, RX63N, and RX63T Groups]
Confirm that the endian settings of the endian select registers (MDEB, MDES) written on the microcontroller match the endian information of the project. See the hardware manual of the microcontroller for the details of endian select registers.
Hot plug-ins cannot be used while a flash rewrite program is running.