Everything
2.5.3 Connect to the debug tool using hot plug-in

With hot plug-in function, you can connect the debug tool to the target board during execution of a program (without having to turn off the system) and debug the program while it is in execution.

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

Caution 1.

The hot plug-in connection is enabled only when the on-chip debugging emulator and IE850A is used.

Caution 2.

When a hot plug-in connection is made, the settings of the following properties are ignored (i.e. the program operates as if the specification for them is [No]). The settings of them become valid again after reconnection with CS+.

-

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

-

[Set OPJTAG in LPD connection before connecting]

-

[Set OPJTAG in JTAG connection before disconnecting]

-

[Using the code flash self programming

-

[Change the clock to flash writing]

-

[Mask WAIT signal]

-

[Mask RESET signal]

Caution 3.

When a hot plug-in connection is made, events currently being set in the project are ignored. They become valid again after reconnection with CS+.

(1)

Execute the program

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

(2)

Select the debug tool

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

(3)

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

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

(4)

Connect to the target board

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

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

 

(5)

Hot plug-in connection completed

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

Figure 2.12

Statusbar Indicating Successful Hot plug-in Connection to Debug Tool