CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ3V0UD
300
Figure 18-25. Example of Internal Verify Operation in Self Programming Mode
<11> Normal termination
<7> Clear & restart WDT counter
(WDTE = ACH)
Note
<9> Check execution result
(VCERR and WEPRERR flags)
<8> Execute HALT instruction
Normal
Abnormal
<6> Clear PFS
<1> Set internal verify
command (FLCMD = 01H)
Internal verify
<10> Abnormal termination
<2> Set no. of block for
internal verify, to FLAPH
<4> Set the same value as
that of FLAPH to FLAPHC
<5>
Set end address to
FLAPLC
<3> Set start address to FLAPL
Note
This setting is not required when the watchdog timer is not used.
Remark
<1> to <11> in Figure 18-25 correspond to <1> to <11> in
18.8.9
(previous page).