CHAPTER 17 ON-CHIP DEBUG FUNCTION
User’s Manual U18172EJ2V0UD
269
Note 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, X2, RESET, INTP1, V
DD
, V
SS
RESET, INTP1, V
DD
, V
SS
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