QB-MINI2-EE NEC, QB-MINI2-EE Datasheet - Page 34

EMULATOR, PROGRAMMER, MINICUBE2

QB-MINI2-EE

Manufacturer Part Number
QB-MINI2-EE
Description
EMULATOR, PROGRAMMER, MINICUBE2
Manufacturer
NEC
Type
Debug Emulatorr
Datasheet

Specifications of QB-MINI2-EE

Svhc
No SVHC (18-Jun-2010)
Mcu Supported Families
MINICUBE2
Silicon Family Name
V850, 78K0R, 78K0S
Ic Product Type
On-Chip Debug Emulator
Kit Contents
MINICUBE2, USB Cable, Target Cable, 78K0-OCD Board
Features
On-Chip Debugging, Flash Memory Programming,
34
(b) Securement of area for debug monitor program
The shaded portions in Figure 3-12 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.
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 compiler CA850.
assemble source file and link directive code, as shown below.
• Assemble source (Add the following code as an assemble source file.)
• Link directive (Add the following code to the link directive file.)
-- Secures 2 KB space for monitor ROM section
.section
.space
-- Secures interrupt vector for debugging
.section
.space
-- Secures interrupt vector for serial communication
-- Change the section name according to serial communication mode used
.section
.space
-- Secures 16 byte space for monitor ROM section
.section
.lcomm
MROMSEG : !LOAD ?R V0x03f800{
};
MRAMSEG : !LOAD ?RW V0x03ffeff0{
};
The following shows an example when the internal ROM end address is 0x3ffff and internal RAM end
address is 0x3ffefff.
"MonitorROM", const
0x800, 0xff
"DBG0"
4, 0xff
"INTCSI00"
4, 0xff
"MonitorRAM", bss
monitorramsym, 16, 4
MonitorROM
MonitorRAM
The internal ROM area must be filled with 0xFF.
CHAPTER 3
HOW TO USE MINICUBE2 WITH V850 MICROCONTROLLER
= $PROGBITS
= $NOBITS
User’s Manual U18371EJ1V0UM
/* defines monitorramsym symbol */
?A MonitorROM;
?AW MonitorRAM;
This area must not be rewritten by the user
Add the

Related parts for QB-MINI2-EE