English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (868/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 28 ON-CHIP DEBUG FUNCTION
Table 28-1. Lists the Differences Between 1-line Mode and 2-line Mode.
Communicat
ion mode
1-line mode
Flash memory
programming
function
Available
2-line mode None
Debugging function
• Pseudo real-time RAM monitor (RRM) function not supported.
• DMM function (rewriting memory in RUN) not supported.
• The debugger speed is two to four times slower than 2-line mode.
• Pseudo real-time RAM monitor (RRM) function supported
• DMM function (rewriting memory in RUN) supported
Remark 2-line mode is not used for flash programming, however, even if TOOL1 pin is connected with CLK_IN of QB-
MINI2, writing is performed normally with no problem.
28.2 On-Chip Debug Security ID
The 78K0R/Lx3 microcontrollers have an on-chip debug operation control bit in the flash memory at 000C3H (see
CHAPTER 26 OPTION BYTE) and an on-chip debug security ID setting area at 000C4H to 000CDH, to prevent third
parties from reading memory content.
When the boot swap function is used, also set a value that is the same as that of 010C3H and 010C4H to 010CDH in
advance, because 000C3H, 000C4H to 000CDH and 010C3H, and 010C4H to 010CDH are switched.
For details on the on-chip debug security ID, refer to the QB-MINI2 On-Chip Debug Emulator with Programming
Function User’s Manual (U18371E).
Table 28-2. On-Chip Debug Security ID
Address
On-Chip Debug Security ID
000C4H to 000CDH Any ID code of 10 bytes
010C4H to 010CDH
28.3 Securing of User Resources
To perform communication between the 78K0R/Lx3 microcontrollers and QB-MINI2, as well as each debug function,
the securing of memory space must be done beforehand.
If Renesas Electronics assembler RA78K0R or compiler CC78K0R is used, the items can be set by using linker options.
(1) Securement of memory space
The shaded portions in Figure 28-2 are the areas reserved for placing the debug monitor program, so user
programs or data cannot be allocated in these spaces. When using the on-chip debug function, these spaces must
be secured so as not to be used by the user program. Moreover, this area must not be rewritten by the user
program.
R01UH0004EJ0501 Rev.5.01
852
Jun 20, 2011