Datasheet

78K0/Ix2 CHAPTER 26 ON-CHIP DEBUG FUNCTION
R01UH0010EJ0500 Rev.5.00 672
Feb 28, 2012
Figure 26-1. Connection Example of QB-MINI2 and 78K0/Ix2 Microcontrollers (2/3)
(2) When using the TOOLC0 and TOOLD0 pins (with X1/X2 oscillator is used, both debugging and
programming are performed)
1
2
3
4
5
6
7
8
9
GND
RESET_OUT
R.F.U.
R.F.U.
R.F.U.
TOOLD0(X2)
N
ote
3
11
13
15
R.F.U.
DATA
RESET_IN
Note 4
R.F.U.
8
TOOLC0(X1)
Note 3
10 k
Note 4
RxD
TxD
8
10
R.F.U.
RESET
N
ote
1
12
14
16
FLMD1
FLMD0
RESET
V
DD
V
DD
V
DD
1 k
Note 4
Note 5
GND
V
DD
V
DD
Target connector
Target device
Reset connector
N
o
t
e
4
CLK
Note 2
Notes 1. If there are capacitance elements such as capacitors, on-chip debugging might not operate normally.
2. A clock signal provided on the 78K0-OCD board, a 4, 8, or 16 MHz clock signal generated in QB-MINI2, or the
clock signal generated by the internal high-speed oscillator of the device can be used for the clock signal of the
target device during on-chip debugging.
Only the internal high-speed oscillator of the device can be used during flash programming.
3. During on-chip debugging, the settings specified by the user program are ignored, because these pins are used
as pins dedicated to on-chip debugging. However, if the pins are specified as input pins, the pins must be
processed (because they are left open when QB-MINI2 is not connected.)
4. This connection is designed assuming that the reset signal is output from the N-ch open-drain buffer (output
resistance: 100 or less). For details, refer to 4.1.3 Connection of reset pin of QB-MINI2 On-Chip Debug
Emulator with Programming Function (18371E).
5. Never connect an oscillation circuit to the 78K0-OCD board during on-chip debugging and flash programming.
To prevent an oscillation circuit from not oscillating due to wiring capacitance when the target device operates
(when QB-MINI2 is not connected), also consider countermeasures such as disconnecting the oscillation circuit
from the target connectors by setting the jumpers.
A program that was downloaded using the debugger does not operate when QB-MINI2 is not connected.
Caution The bold lines in the figure (TOOLD0 and TOOLC0) must be designed so that the device pins are less than
30 mm from the QB-MINI2 connectors or the paths must be shielded by connecting them to GND.