English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (867/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 28 ON-CHIP DEBUG FUNCTION
CHAPTER 28 ON-CHIP DEBUG FUNCTION
28.1 Connecting QB-MINI2 to 78K0R/Lx3 microcontrollers
The 78K0R/Lx3 microcontrollers use the VDD, FLMD0, RESET, TOOL0, TOOL1Note 1, and VSS pins to communicate with
the host machine via an on-chip debug emulator (QB-MINI2).
Caution The 78K0R/Lx3 microcontrollers have an on-chip debug function, which is provided for development
and evaluation. Do not use the on-chip debug function in products designated for mass production,
because the guaranteed number of rewritable times of the flash memory may be exceeded when this
function is used, and product reliability therefore cannot be guaranteed. Renesas Electronics is not
liable for problems occurring when the on-chip debug function is used.
Figure 28-1. Connection Example of QB-MINI2 and 78K0R/Lx3 microcontrollers
QB-MINI2 target connector
FLMD0
RESET_IN
RESET_OUT
Target reset
EVDD
78K0R/Lx3
microcontrollers
FLMD0
RESET
RXDNote 2
TXDNote 2
CLK_IN
GND
VDD
TOOL0
TOOL1Note 1
VSS
VDD
Notes 1. Connection is not required for communication in 1-line mode but required for communication in 2-line mode.
At this time, perform necessary connections according to Table 2-2 Connection of Unused Pins since
TOOL1 is an unused pin when QB-MINI2 is unconnected.
2. Connecting the dotted line is not necessary since RXD and TXD are shorted within QB-MIN2. When using
the other flash memory programmer, RXD and TXD may not be shorted within the programmer. In this case,
they must be shorted on the target system.
Remark The FLMD0 pin is recommended to be open for self-programming in on-chip debugging. To pull down
externally, use a resistor of 100 kΩ or more.
1-line mode (single line UART) using the TOOL0 pin or 2-line mode using the TOOL0 and TOOL1 pins is used for serial
communication For flash memory programming, 1-line mode is used. 1-line mode or 2-line mode is used for on-chip
debugging. Table 28-1 lists the differences between 1-line mode and 2-line mode.
R01UH0004EJ0501 Rev.5.01
851
Jun 20, 2011