upd78f0730 Renesas Electronics Corporation., upd78f0730 Datasheet - Page 467

no-image

upd78f0730

Manufacturer Part Number
upd78f0730
Description
8-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
NEC
Quantity:
538
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
upd78f0730MC(S)-CAB-AX/JM
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
upd78f0730MC-CAB-AX
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
19.9 Flash Memory Programming by Self-Programming
program. Because this function allows a user application to rewrite the flash memory by using the
programming library, it can be used to upgrade the program in the field.
servicing can be executed. To execute interrupt servicing, restore the normal operation mode after self-programming
has been stopped, and execute the EI instruction.
programming can be resumed.
F F F F H
F E F F H
F 9 D 1 H
F 9 D 0 H
F F 0 0 H
F B 0 0 H
F 7 F F H
3 F F F H
F 8 0 0 H
F 0 0 0 H
4 0 0 0 H
0 0 0 0 H
The
If an interrupt occurs during self-programming, self-programming can be temporarily stopped and interrupt
Remark For details of the self-programming function and the 78K0/Kx2 self-programming library, refer to
Cautions 1. Input a high level to the FLMD0 pin during self-programming.
µ
expansion RAM
(common area)
Flash memory
PD78F0730 supports a self-programming function that can be used to rewrite the flash memory via a user
Internal high-
speed RAM
USB area
Reserved
Reserved
Internal
Normal mode
SFR
78K0/Kx2 Flash Memory Self Programming User’s Manual (U17516E).
2. Be sure to execute the DI instruction before starting self-programming.
3. Self-programming is also stopped by an interrupt request that is not masked even in the DI
4. Self-programming is executed with the internal high-speed oscillation clock. If the CPU
5. Allocate the entry program for self-programming in the common area of 0000H to 7FFFH.
The self-programming function checks the interrupt request flags (IF0L, IF0H, IF1L, and IF1H).
If an interrupt request is generated, self-programming is stopped.
status. To prevent this, mask the interrupt by using the interrupt mask flag registers (MK0L,
MK0H, MK1L, and MK1H).
operates with the X1 clock or external main system clock, the oscillation stabilization wait
time of the internal high-speed oscillation clock elapses during self-programming.
Figure 19-15. Operation Mode and Memory Map for Self-Programming
Instructions can be fetched
from common area.
firmware ROM
Flash memory
accessing
Disable
control
Preliminary User’s Manual U19014EJ1V0UD
CHAPTER 19 FLASH MEMORY
F E F F H
F F F F H
F B 0 0 H
F 9 D 1 H
F 9 D 0 H
F 7 F F H
3 F F F H
F F 0 0 H
F 8 0 0 H
F 0 0 0 H
4 0 0 0 H
0 0 0 0 H
After the self-programming mode is later restored, self-
expansion RAM
(common area)
Flash memory
Internal high-
speed RAM
Self-programming mode
USB area
Reserved
Reserved
Internal
SFR
firmware ROM
Flash memory
accessing
Enable
control
Instructions can be fetched
from common area and
firmware ROM.
µ
PD78F0730 self-
467

Related parts for upd78f0730