English
Language : 

UPD78F9202MA-CAC-A Datasheet, PDF (259/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
CHAPTER 16 FLASH MEMORY
Figure 16-22. Example of Byte Write Operation in Self Programming Mode
Byte write
<1> Set byte write command
(FLCMD = 05H)
<2> Set no. of block to be
written, to FLAPH
<3> Set address at which data
is to be written, to FLAPL
<4> Set data to be written to FLW
<5> Clear PFS
<6> Clear & restart WDT counter
(WDTE = ACH)Note
<7> Execute HALT instruction
<8> Check execution result
(VCERR and WEPRERR flags)
Normal
<10> Normal termination
Abnormal
<9> Abnormal termination
Note This setting is not required when the watchdog timer is not used.
Remark <1> to <10> in Figure 16-22 correspond to <1> to <10> in 16.8.8 (previous page).
User’s Manual U18172EJ3V0UD
257