RX13T Group
31.7.4
Software Command Usage
This section describes how to use each software command, using flowcharts.
31.7.4.1
Program
Figure 31.11 and Figure 31.12 show the procedure to issue the program command.
Set programming address in registers
Set programming data in registers
FSTATR1.FRDY flag = 1?
FSTATR1.FRDY flag = 0?
FRESETR.FRESET bit = 1
FRESETR.FRESET bit = 0
Figure 31.11
Procedure to Issue the Program Command for the ROM
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Start in ROM P/E mode
FASR.EXS bit = 0
FSARH and FSARL
FWBH and FWBL
FCR register = 81h
Yes
FCR register = 00h
Yes
FSTATR0.ILGLERR flag = 1 or
FSTATR0.PRGERR flag = 1?
Yes
End in ROM P/E mode
No
No
No
Continue ROM programming?
Sequencer
initialization
31. Flash Memory (FLASH)
Yes
No
Page 939 of 1041