R01UH0822EJ0100 Rev.1.00
Page 940 of 1041
Jul 31, 2019
RX13T Group
31. Flash Memory (FLASH)
Figure 31.12
Procedure to Issue the Program Command for the E2 DataFlash
Set programming address in registers
FSARH and FSARL
Yes
Set programming data
in FWBL register
FCR register = 81h
FCR register = 00h
FSTATR1.FRDY flag = 1?
End in E2 DataFlash
P/E mode
No
FSTATR1.FRDY flag = 0?
Yes
No
Yes
No
Yes
No
FSTATR0.ILGLERR flag = 1 or
FSTATR0.PRGERR flag = 1?
FRESETR.FRESET bit = 1
FRESETR.FRESET bit = 0
Sequencer
initialization
Continue E2 DataFlash
programming?
FASR.EXS bit = 0
Start in E2 DataFlash
P/E mode