CHAPTER 5 HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER
User’s Manual U18371EJ1V0UM
120
5.2.6 Debugging of alternate-functions of X1 and X2 pins
The X1 and X2 pins are used when the debugger is started for the first time (when downloading the monitor
program) and when programming is performed with the QB-Programmer.
It is not necessary to use the X1 and X2 pins if the monitor program has already been downloaded to the target
device, so the X1 and X2 pins and their alternate functions can be debugged by using the following procedures.
To implement debugging of the X1 and X2 pins, the circuit must be designed appropriately. For details, refer to
5.1.5 Connection of X1 and X2 pins
.
(1) Disconnect the external parts connected to the X1 and X2 pins in the target device. (If the circuit is designed
as shown in Figure 5-11, short jumper pins 1 and 2.)
(2) Turn on power to the target system and MINICUBE2 in accordance with
5.2.3 System startup procedure
.
(3) Start the debugger. At this time, do not download the load module
Note
. (The monitor program will be
downloaded automatically immediately after startup.)
(4) Terminate the debugger.
(5) Turn off power to the target system and MINICUBE2 in accordance with
5.2.4 System shutdown
procedure
.
(6) Connect the external parts to the X1 and X2 pins in the target device. (If the circuit is designed as shown in
Figure 5-11, short jumper pins 2 and 3.)
(7) Turn on power to the target system and MINICUBE2 in accordance with
5.2.3 System startup procedure
.
(8) Start the debugger.
Note
If a project has already been created in the project manager (PM+), the load module will automatically be
downloaded. In this case, terminate PM+ and then start the debugger.
Remark
The next time the debugger is started, perform the procedure from step (7). However, if the program is
written via the QB-Programmer and the monitor program is erased, the procedure must be performed
from step (1) again.