Renesas QB-MINI2 User Manual page 88

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

Advertisement

CHAPTER
4
HOW TO USE MINICUBE2 WITH 78K0 MICROCONTROLLER
(a) Debug monitor area (this area must be secured)
Addresses 0x02, 0x03 and area starting from address 0x8F must be secured to embed the debug monitor
program.
If this area is rewritten by flash self programming, on-chip debugging can no longer be performed.
[How to secure areas]
When using NEC Electronics compiler CC78K0, addresses 0x02, 0x03 and area starting from address can be
secured for debug monitoring, using the linker option (-go). Figure 4-33 shows the Linker Options dialog box
of the project manager. Select the "On-Chip Debug" check box as shown in the figure below. If the pseudo
RRM function is not used, set the size to 256 bytes (in actuality, 257 bytes from 0x8F to 0x18F are secured).
Select the "On-Chip Debug" check box as shown in the figure and specify the ROM size according to the
<R>
device specifications.
(Specify at least 256 bytes. The area to allocate differs depending on the target
device.) If the pseudo RRM function is used, refer to (f).
Figure 4-33. Linker Option Setting (Debug Monitor Area)
x
86
User's Manual
U18371EJ5V0UM

Advertisement

Table of Contents
loading

Table of Contents