CHAPTER 26 FLASH MEMORY
User’s Manual U16896EJ2V0UD
650
26.5.6 Internal resources used
The following table lists the internal resources used for self programming. These internal resources can also be
used freely for purposes other than self programming.
Table 26-11. Internal Resources Used
Resource Name
Description
Entry RAM area
(internal RAM/external RAM size:
136 bytes)
Routines and parameters used for the flash macro service are located in this area. The
entry program and default parameters are copied by calling a library initialization
function.
Stack area (stack size: 600 bytes)
An extension of the stack used by the user is used by the library (can be used in both the
internal RAM and external RAM).
Library code (code size:
Approx. 1600 bytes)
Program entity of library (can be used anywhere other than the flash memory block to be
manipulated).
Application program
Executed as user application.
Calls flash functions.
Maskable interrupt
Can be used in user application execution status or self programming status.
To use this interrupt in the self-programming status, since the processing transits to the
address of the internal RAM start a 4 addresses (3FFB004H), allocate the jump
instruction that transits the processing to the user interrupt servicing at the address of
the internal RAM start a 4 addresses in advance.
NMI interrupt
Can be used in user application execution status or self programming status.
To use this interrupt in the self-programming status, since the processing transits to the
address of the internal RAM start address (3FFB000H), allocate the jump instruction that
transits the processing to the user interrupt servicing at the internal RAM start address in
advance.
TM50, TM51
Because TM50 and TM51 are used in the flash macro service, do not use them in the
self programming status.
When using TM50 and TM51 after self programming, set them again.
Remark
For details, refer to the
V850 Series Flash Memory Self Programming (Single Power Supply Flash
Memory) User’s Manual
.
Contact an NEC Electronics sales representative for the above manual.
<R>