Datasheet

RL78/L12 CHAPTER 27 ON-CHIP DEBUG FUNCTION
R01UH0330EJ0200 Rev.2.00 829
Dec 13, 2013
Figure 27-2. Memory Spaces Where Debug Monitor Programs Are Allocated
(512 bytes or
256 bytes
Note 2
)
: Area used for on-chip debugging
Note 1
Note 3
Code flash memory
Use prohibited
Internal RAM
Code flash
area
Mirror area
SFR area
Debug monitor area
(2 bytes)
Debug monitor area
(10 bytes)
Security ID area
(10 bytes)
On-chip debug option byte area
(1 byte)
Stack area for debugging
(4 bytes)
Note 4
01000H
000D8H
000CEH
000C4H
000C3H
00002H
00000H
Internal RAM
area
Notes 1. Address differs depending on products as follows.
Products (code flash memory capacity) Address of Note 1
R5F10Rx8 (x = B, F, G, J) 01FFFH
R5F10RxA (x = B, F, G, J, L) 03FFFH
R5F10RxC (x = B, F, G, J, L) 07FFFH
2. When real-time RAM monitor (RRM) function and dynamic memory modification (DMM) function are not
used, it is 256 bytes.
3. In debugging, reset vector is rewritten to address allocated to a monitor program.
4. Since this area is allocated immediately before the stack area, the address of this area varies depending on
the stack increase and decrease. That is, 4 extra bytes are consumed for the stack area used.
When using self-programming, 12 extra bytes are consumed for the stack area used.