upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 417

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
16.7.5 Software environment
Location of entry
program
Execution status of
program
Masking interrupts
Manipulation of V
voltage
Initialization of internal
timer
Stopping reset signal
input
Stopping NMI signal
input
Reserving stack area
Saving general-purpose
registers
The following conditions must be satisfied before using the entry program to call the device internal processing.
Item
PP
Execute the entry program in memory other than the flash memory area.
The device internal processing cannot be directly called by the program that is executed on the flash
memory.
The device internal processing cannot be called while an interrupt is being serviced (NP bit of PSW =
0, ID bit of PSW = 1).
Mask all the maskable interrupts used. Mask each interrupt by using the corresponding interrupt
control register.
Mask the maskable interrupts even when the ID bit of the PSW = 1 (interrupts are disabled).
Stabilize the voltage applied to the V
memory. After completion of manipulation, return the voltage of the V
Do not use 16-bit timer 0 while the flash memory is being manipulated.
Because 16-bit timer 0 is initialized after the flash memory has been used, initialize the timer with the
application program to use the timer again.
Do not input the reset signal while the flash memory is being manipulated.
If the reset signal is input while the flash memory is being manipulated, the contents of the flash
memory under manipulation become undefined.
Do not input the NMI signal while the flash memory is being manipulated.
If the NMI signal is input while the flash memory is being manipulated, the flash memory may not be
correctly manipulated by the device internal processing.
If an NMI occurs while the device internal processing is in progress, the occurrence of the NMI is
reflected in the NMI flag of the RAM parameter. If manipulation of the flash memory is affected by the
occurrence of the NMI, the function of each self-programming function is reflected in the return value.
area of 300 bytes be reserved for the stack size of the user program when the device internal
processing is called. r3 is used as the stack pointer.
The device internal processing rewrites the contents of r6 to r14, r20, and r31 (lp).
Save and restore these register contents as necessary.
The device internal processing takes over the stack used by the user program. It is necessary that an
Table 16-9. Software Environmental Conditions
CHAPTER 16 FLASH MEMORY
User’s Manual U12768EJ4V1UD
PP
pin (V
Description
PP
voltage) before starting manipulation of the flash
PP
pin to 0 V.
417

Related parts for upd70f3017ay