CHAPTER 4 HOW TO USE MINICUBE2 WITH 78K0 MICROCONTROLLER
User’s Manual U18371EJ1V0UM
75
(5) Connecting the USB cable
Connect MINICUBE2 to the host machine as shown in Figure 4-25,
before the power to the target system is
turned on
.
When the power select switch is set to
″
T
″
, the mode LED
flashes
white after connection.
When the power select switch is set to
″
3
″
or
″
5
″
, the mode LED
glows
white after connection.
Figure 4-25. Connecting MINICUBE2 to Host Machine
MINICUBE2
USB cable
Host machine
MINICUBE2
USB cable
Host machine
(6) Applying power to target system
Turn on power to the target system. This step is not necessary if the power select switch is set to
″
3
″
or
″
5
″
.
The mode LED glows white after connection after power application.
(7) Debugger startup
Start the debugger. The mode LED glows orange after debugger startup.
For the operation after this step, refer to the user
'
s manual for the debugger.
If the debugger does not start normally or the operation is unstable, the possible causes may be the following.
• Communication error between MINICUBE2 and target system
Whether communication is performed normally can be checked using the OCD Checker. For details, refer
to the user
'
s manual for the OCD Checker.
• The user resource has not been secured or the security ID has not been set
To perform debugging with MINICUBE2, the user resource must be secured and the security ID must be set.
For details, refer to
4.2.6 Securing of user resources and setting of security ID
.
• Unsupported software (debugger, device file, or firmware) is used
The software used may not support debugging of the target device. Refer to the document
″
QB-MINI2
Operating Precautions
″
and check the supported version. When using software provided by an NEC
Electronics partner, refer to the documents prepared by the partner company.
• Defect of MINICUBE2
MINICUBE2 may have a defect. Refer to
CHAPTER 7 SELF-TESTING
.