Renesas QB-MINI2 User Manual page 124

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

Advertisement

CHAPTER
(1) Securement of area for debug monitor program
In the internal ROM space of the target device, the shaded portions in Figure 5-16 are the areas where the
debug monitor program is allocated. The monitor program performs initialization processing for debug
communication interface and RUN or break processing for the CPU. The internal ROM area must be filled
with 0xFF. This area must not be rewritten by the user program.
[How to secure areas]
It is not necessarily required to secure this area if the user program does not use this area.
To avoid problems that may occur during the debugger startup, however, it is recommended to secure this
area in advance, using the compiler.
The following shows examples for securing the area, using the NEC Electronics assembler RA78K0S. Add
the assemble source code, as shown below.
• Assemble source example that securse INTP interrupt vector
SSS
CSEG
DB
Remark Describe the INTP interrupt vector address to the portion of "0018h".
examples of the 78K0S/Kx1+.
When using 78K0S/KU1+ or 78K0S/KY1+: INTP1 (000ah)
When using 78K0S/KA1+ or 78K0S/KB1+: INTP3 (0018h)
• Assemble source example that secures an area for software break
SSS
CSEG
DB
• Assemble source example that secures monitor program area lower than internal ROM end address
SSS
CSEG
DB
DB
:
:
DB
122
5
HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER
"SSS" is an arbitrary symbol name (eight characters or less)
AT
0018h;
0ffh,
0ffh
"SSS" is an arbitrary symbol name (eight characters or less)
AT
007eh;
0ffh,
0ffh
"SSS" is an arbitrary symbol name (eight characters or less)
AT
0ed0h;
0ffh,
0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh
0ffh,
0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh
0ffh,
0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh,0ffh
User's Manual
U18371EJ5V0UM
The following shows
19 lines

Advertisement

Table of Contents
loading

Table of Contents