CHAPTER 6 HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER
User’s Manual U18371EJ1V0UM
144
(4) Connecting the USB cable
Connect MINICUBE2 to the host machine as shown in Figure 6-10,
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 6-10. Connecting MINICUBE2 to Host Machine
MINICUBE2
USB cable
Host machine
MINICUBE2
USB cable
Host machine
(5) 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 power application.
(6) Debugger startup
Start the debugger. The mode LED glows yellow 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 users manual for the OCD Checker.
• The user resource has not been secured or the security ID and on-chip debug option byte have not been set
To perform debugging with MINICUBE2, the debug monitor area must be secured and the security ID and
on-chip debug option byte must be set. For details, refer to
6.2.5 Securing of user resources and
setting of security ID and on-chip debug option byte
.
• 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
.