CHAPTER 4 HOW TO USE MINICUBE2 WITH 78K0 MICROCONTROLLER
User’s Manual U18371EJ1V0UM
73
4.2.3 System startup procedure
This section describes the system startup procedure. Observe the following order.
(1) Preparation and installation of software
The following software is required to perform on-chip debugging. For details on preparation and installation of
software, refer to the setup manual supplied with MINICUBE2.
• Debugger
• USB driver
• Device file (may be unnecessary when using a partner manufacture
'
s debugger)
(2) Switch setting
Set the mode select switch to
″
M2
″
. Set the power select switch by referring to Table 4-7.
Caution Do not change the switch setting while the USB cable is connected.
Table 4-7. Setting of Power Select Switch
Setting Description
3
3 V is supplied from MINICUBE2 to the target system
Note
.
5
5 V is supplied from MINICUBE2 to the target system
Note
.
T
Power supply of the target system is used.
MINICUBE2 detects the power for the target system.
The detected power is also used as the power supply for the communication interface.
Note
The maximum rating of the current is 100 mA, so do not use MINICUBE2 with the target system with
the higher current rating. The power is always supplied after MINICUBE2 is connected to the host
machine.
(3) 78K0-OCD board setting
The settings of the 78K0-OCD board vary depending on how clock is supplied to the target device. A 20 MHz
oscillator is mounted on the 78K0-OCD board at shipment. If either of the following conditions applies, the
factory setting must be changed. Refer to
4.2.5 Clock setting
and set the clock.
• The target device does not operate with a 20 MHz clock, or the target voltage that does not operate with 20
MHz clock is used
• A clock frequency other than 20 MHz is needed as the high-speed system clock.