CHAPTER 5 HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER
User’s Manual U18371EJ1V0UM
114
(4) Connecting the USB cable
Connect MINICUBE2 to the host machine as shown in Figure 5-15,
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 5-15. 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 green 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
To perform debugging with MINICUBE2, the debug monitor area must be secured. For details, refer to
5.2.5 Securing of user resources
.
• 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
.