Securing Of User Resources And Setting Of Security Id And On-Chip Debug Option Byte - Renesas QB-MINI2 User Manual

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

Advertisement

CHAPTER
6.2.5

Securing of user resources and setting of security ID and on-chip debug option byte

The user must prepare the following to perform communication between MINICUBE2 and the target device and
implement each debug function. If NEC Electronics assembler RA78K0R or compiler CC78K0R is used, the items
can be set by using linker options. Refer to the descriptions on the following pages and set these items.
When C-SPY manufactured by IAR Systems is used, read also the following material.
- IAR C-SPY Hardware Debugger Systems User Guide issued by IAR Systems
Securement of memory space
The shaded portions in Figure 6-11 are the areas reserved for placing the debug monitor program, so user
programs or data cannot be allocated in these spaces. 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.
Figure 6-11. Memory Spaces Where Debug Monitor Programs Are Allocated
Internal ROM space
1024 bytes or
Note 1
88 bytes
10 bytes
10 bytes
1 byte
2 bytes
Note 2
: Area used for on- chip debugging
Note 1. When the pseudo RRM function is not used during 2-wire mode, it will be 88 bytes.
2. In debugging, reset vector is rewritten to address allocated to a monitor program.
Setting of security ID and on-chip debug option byte
The security ID or on-chip debug option byte must be embedded in the area filled with yellow (0xC3 and
0xC4 to 0xCD) in Figure 6-11, to prevent the memory from being read by an unauthorized person.
6
HOW TO USE MINICUBE2 WITH 78K0R MICROCONTROLLER
Internal ROM end address
(a) Debug monitor area
D8H
D7H
(a) Debug monitor area
CEH
CDH
(c) Security ID area
C4H
C3H (b) On- chip debug option byte area
03H
(a) Debug monitor area
02H
User's Manual
U18371EJ5V0UM
Internal RAM space
Internal RAM end address
6 bytes
(d) Stack area for debugging
151

Advertisement

Table of Contents
loading

Table of Contents