CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ3V0UD
297
Figure 18-24. Example of Byte Write Operation in Self Programming Mode
<10> Normal termination
<6> Clear & restart WDT counter
(WDTE = ACH)
Note
<8> Check execution result
(VCERR and WEPRERR flags)
<7> Execute HALT instruction
Normal
Abnormal
<5> Clear PFS
<1> Set byte write command
(FLCMD = 05H)
Byte write
<9> Abnormal termination
<4> Set data to be written to FLW
<2> Set no. of block to be
written, to FLAPH
<3> Set address at which data
is to be written, to FLAPL
Note
This setting is not required when the watchdog timer is not used.
Remark
<1> to <10> in Figure 18-24 correspond to <1> to <10> in
18.8.8
(previous page).