CHAPTER 5 HOW TO USE MINICUBE2 WITH 78K0S MICROCONTROLLER
User’s Manual U18371EJ1V0UM
116
5.2.5 Securing of user resources
The user must prepare the following to perform communication between MINICUBE2 and the target device and
implement each debug function. Refer to the descriptions on the following pages and set these items in the user
program or using the compiler options.
• Securement of memory space
The shaded portions in Figure 5-16 are the areas reserved for placing the debug monitor program, so user
programs cannot be allocated in these spaces.
Figure 5-16. Memory Spaces Where Debug Monitor Programs Are Allocated
Internal ROM space
0x0A or 0x18 (INTP interrupt vector)
0x7E (for software break)
304 bytes
2 bytes
2 bytes
5 bytes
Internal RAM space
Internal ROM end address
Internal RAM end address
: Debug monitor program area
Stack area for debugging
Internal ROM space
0x0A or 0x18 (INTP interrupt vector)
0x7E (for software break)
304 bytes
2 bytes
2 bytes
5 bytes
Internal RAM space
Internal ROM end address
Internal RAM end address
: Debug monitor program area
Stack area for debugging
• Securement of serial interface for communication
The register settings, concerning the INTP pin used for communication between MINICUBE2 and the target
device, performed by the debug monitor program must not be changed.