
CHAPTER 25 FLASH MEMORY
User’s Manual U19780EJ2V0UD
598
25.6 Programming Method
25.6.1 Controlling flash memory
The following figure illustrates the procedure to manipulate the flash memory.
Figure 25-9. Flash Memory Manipulation Procedure
Start
Selecting communication mode
Manipulate flash memory
End?
Yes
FLMD0 pulse supply
No
End
Flash memory programming
mode is set
25.6.2 Flash memory programming mode
To rewrite the contents of the flash memory by using the dedicated flash memory programmer, set the 78K0/Kx2-A
microcontrollers in the flash memory programming mode. To set the mode, set the FLMD0 pin to V
DD
and clear the
reset signal.
Change the mode by using a jumper when writing the flash memory on-board.
Figure 25-10. Flash Memory Programming Mode
V
DD
RESET
5.5 V
0 V
V
DD
0 V
Flash memory programming mode
FLMD0
FLMD0 pulse
V
DD
0 V
Table 25-4. Relationship Between FLMD0 Pin and Operation Mode After Reset Release
FLMD0 Operation
Mode
0
Normal operation mode
V
DD
Flash memory programming mode