Renesas QB-MINI2 User Manual page 154

On-chip debug emulator with programming function
Hide thumbs Also See for QB-MINI2:
Table of Contents

Advertisement

CHAPTER
(a) Securement of debug monitor area
This is the area to which the debug monitor program is to be allocated. The monitor program performs
initialization processing for debug communication interface and RUN or break processing for the CPU.
This user programs or data must not be placed in an area of 22 bytes near the on-chip debug option
byte, and an area of 1,024 bytes
rewritten to address allocated to a monitor program.
Note It is an area of 88 bytes when the pseudo RRM function is not used during debugging in 2-wire
mode. If the internal ROM end address is 0x3FFFF, a monitor program of 88 bytes is allocated to
the area from 0x3FFA8 to 0x3FFFF.
[How to secure areas]
The following shows an example for securing the area when using NEC Electronics assembler
RA78K0R or compiler CC78K0R. Select the "On-Chip Debug Option Bytes [-go]" check box as shown
in the figure below. An area of 22 bytes is thus secured near the on-chip debug option byte. An area
of 1,024 bytes before the internal ROM end address is also secured by setting the start address and
size.
Example Internal ROM end address is 0x3FFFF
152
6
HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER
Note
before the internal ROM end address. In addition, reset vector is
Figure 6-12.
Securement of Debug Monitor Area
User's Manual
U18371EJ5V0UM

Advertisement

Table of Contents
loading

Table of Contents