CHAPTER 19 FLASH MEMORY
User’s Manual U17446EJ3V1UD
298
Figure 19-22. Example of Block Erase 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
<6> Clear PFS
<1> Set erase command
(FLCMD = 03H)
<2> Set no. of block to be erased
to FLAPH
Block erasure
<4> Set the same value as
that of FLAPH to FLAPHC
<10> Abnormal termination
Abnormal
<3> Set FLAPL to 00H
<5> Set FLAPLC to 00H
Note
This setting is not required when the watchdog timer is not used.
Remark
<1> to <11> in Figure 19-22 correspond to <1> to <11> in
19.8.6
(previous page).
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...