CHAPTER 16 FLASH MEMORY
User’s Manual U18172EJ2V0UD
248
Figure 16-23. 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 1
command (FLCMD = 01H)
Internal verify 1
<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>
Sets FLAPLC to FFH
<3> Sets FLAPL to 00H
Note
This setting is not required when the watchdog timer is not used.
Remark
<1> to <11> in Figure 16-23 correspond to Internal verify 1 <1> to <11> in
16.8.9
(previous page).