User`s manual

EZ-0011 CHAPTER 3 USING EZ-0011
R20UT0702EJ0100 Rev. 1.00 Page 21 of 30
Jun 20, 2011
3.4 On-chip Debug
The 78K0/IB2 installed on this product supports the on-chip debug function. MINICUBE2 is required for on-chip
debugging. This section describes the procedure for on-chip debugging.
<1> Make sure that the power supply of the main unit is off, and connect MINICUBE2 to the main unit.
<2> Set the mode selection switch of MINICUBE2 to M2 (select the 78K0 microcontroller), and set the power
supply selection switch to T (use the power supply of the target system). Connect it to the PC using the USB
cable.
<3> Connect the power cable to the main unit, and connect it to the receptacle.
<4> Turn the power switch of the main unit to the ON position to supply AC power.
<5> Check that the power indicator LED is on.
Figure 3-4. Connection for On-chip Debugging
<6> Start the integrated debugger (ID78K0-QB) on the PC.
The on-chip debug function can be used for evaluation by operating the ID78K0-QB.
<7> When the evaluation is finished, exit from the ID78K0-QB.
<8> Turn the power switch of the main unit to the OFF position to stop the AC power supply.
Cautions 1. To use the on-chip debug function, memory space must be reserved in the 78K0/IB2 in
advance. When our compiler is used, this setting can be done with the linker option. To use
the on-chip debug function, select the "On-chip debug[-go](C)" check box in the linker option
to specify the size.
If the pseudo real-time RAM monitor (RRM) function is not used, reserve 256 bytes as a
debugging monitor area.
On-chip debug emulator
MINICUBE2
PC for program
development
and evaluation