upd78f0103hmca1-5a4-a Renesas Electronics Corporation., upd78f0103hmca1-5a4-a Datasheet - Page 353

no-image

upd78f0103hmca1-5a4-a

Manufacturer Part Number
upd78f0103hmca1-5a4-a
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
21.8 Boot Swap Function
programming and the program in the boot area is lost, the boot swap function can execute the program correctly after
re-application of power, reset, and start.
21.8.1 Outline of boot swap function
and also set the boot flag
reset and started next time. Consequently, the above area to be swapped is used as a boot area, and the program is
executed correctly. Figure 21-21 shows an image of the boot swap function.
X X X X H
X X X X H
0 0 0 0 H
0 0 0 0 H
The 78K0/KB1+ has a boot swap function.
Even if a momentary power failure occurs for some reason while the boot area is being rewritten by self-
Before erasing the boot program area by self-programming, write a new boot program to the block to be swapped,
Note The boot flag is controlled by the flash memory control firmware of the 78K0/KB1+.
User program
User program
User program
Boot program
User program
User program
User program
Boot program
Note
. Even if a momentary power failure occurs, the address is swapped when the system is
programming
programming
Self-
Self-
X X X X H
Figure 21-21. Image of Boot Swap Function
0 0 0 0 H
X X X X H
0 0 0 0 H
(1) If boot swap is not supported
(2) If boot swap is supported
CHAPTER 21 FLASH MEMORY
Erasure in progress
New boot program
Erasure in progress
User’s Manual U16846EJ3V0UD
User program
User program
User program
User program
User program
power failure
Momentary
power failure
Momentary
X X X X H
0 0 0 0 H
X X X X H
0 0 0 0 H
New boot program
Undefined data
User program
User program
Undefined data
User program
User program
User program
Started correctly
Not restarted
353

Related parts for upd78f0103hmca1-5a4-a