Datasheet

CHAPTER 17 ON-CHIP DEBUG FUNCTION
User’s Manual U18172EJ3V0UD
281
Notes 2. This is the pin connection when the X1 and X2 pins are not used in the target system. When using
the X1 and X2 pins, refer to 17.1.2 Connection of X1 and X2 pins.
3. No problem will occur if the dashed line portions are connected.
4. This pin is connected to enhance the accuracy of time measurement between run and break during
debugging. Debugging is possible even if this pin is left open, but measurement error occurs in
several ms units.
5. The INTP1 pin is used for communication between QB-MINI2 and the target device during
debugging. When debugging is performed with QB-MINI2, therefore, the INTP1 pin and its
alternate-function pin cannot be used. For INTP1 pin connection, refer to 17.1.1 Connection of
INTP1 pin.
Pins for communication depend on whether the monitor program has been written or not. (refer to Table 17-1)
X1 and X2 pins can be used as I/O port pins or the pins for oscillation, after the monitor program has been written.
Table 17-1. Pins for communication with QB-MINI2
Before writing the monitor program After writing the monitor program
X1
Note 1
, X2
Note 2
, RESET, INTP1, VDD, VSS RESET, INTP1, VDD, VSS
Notes 1.
μ
PD78F920x: X1/P23/ANI3,
μ
PD78F950x: EXCLK/P23
2.
μ
PD78F920x: X2/P22/ANI2,
μ
PD78F950x: P22
17.1.1 Connection of INTP1 pin
The INTP1 pin is used only for communication between QB-MINI2 and the target device during debugging.
Design circuits appropriately according to the relevant case among the cases shown below.
(1) INTP1 pin is not used in target system (as is illustrated in Figure 17-1. Recommended Circuit
Connection)
See Figure 17-2.
(2) QB-MINI2 is used only for programming, not for debugging
See Figure 17-3.
(3) QB-MINI2 is used for debugging and debugging of the INTP1 pin is performed only with a real machine
See Figure 17-4.
Figure 17-2. Circuit Connection for the Case Where INTP1 Pin Is Not Used in Target System
INTP1
Target connector
Target device
INTP
1 kΩ
12
V
DD
Figure 17-3. Circuit Connection for the Case Where QB-MINI2 Is Used Only for Programming
INTP1
Target connector
Target device
INTP
12
<R>
<R>