Debugging Of Alternate-Functions Of X1 And X2 Pins - NEC QB-MINI2 User Manual

On-chip debug emulator with programming function
Table of Contents

Advertisement

CHAPTER 5

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.
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.
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
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.
120
HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER
At this time, do not download the load module
User's Manual U18371EJ1V0UM
For details, refer to
Note
. (The monitor program will be
System shutdown

Advertisement

Table of Contents
loading

This manual is also suitable for:

Minicube2

Table of Contents