CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ3V0UD
288
Figure 18-21. Example of Shifting to Normal Mode
Shift to normal mode
PFCMD = A5H
<3> Check execution result
(FPRERR flag)
Abnormal
Normal
<1> Clear PFS
<5> Termination
FLPMC = 00H (set value)
FLPMC = 0FFH (inverted set value)
FLPMC = 00H (set value)
; Set value is invalid
; Set value is valid
<4> Enable interrupts (by executing
EI instruction and changing
MK0, MK1)
; When interrupt function is used
<2>
Caution Be sure to perform the series of operations described above using the user program at an
address where data is not erased nor written.
Remark
<1> to <5> in Figure 18-21 correspond to <1> to <5> in
18.8.5
(previous page).