English
Language : 

UPD78F9234MC-5A4-A Datasheet, PDF (302/419 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
<R>
CHAPTER 19 FLASH MEMORY
Figure 19-20. Example of Block Erase Operation in Self Programming Mode
Block erasure
<1> Set erase command
(FLCMD = 03H)
<2> Set no. of block to be erased
to FLAPH
<3> Set FLAPL to 00H
<4> Set the same value as
that of FLAPH to FLAPHC
<5> Set FLAPLC to 00H
<6> Clear PFS
<7> Clear & restart WDT counter
(WDTE = ACH)Note
<8> Execute HALT instruction
<9> Check execution result
The erase command
can be re-executed.
Abnormal
<10> Check
the number of executions of
the erase command
Normal
<12> Normal termination
The erase command
cannot be re-executed.
<11> Abnormal termination
Note This setting is not required when the watchdog timer is not used.
Remark <1> to <12> in Figure 19-20 correspond to <1> to <12> in 19.8.6 (previous page).
300
User’s Manual U17446EJ5V0UD