RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 861 of 1006
Feb 20, 2013
(6) Erasure
To erase data from the ROM, use the block erase command.
Write 20h to the ROM programming/erasure address in byte access in the first cycle of the block erase command. When
D0h is written to an arbitrary address in an erasure target block in byte access in the second cycle, the FCU start the
erasure processing for the ROM. Whether erasure is completed can be checked with the FRDY bit in FSTATR0.
To execute an erasure with lock bit protection disabled, set the FPROTCN bit in FPROTR before erasure.
Write 20h to ROM programming/
erasure address in byte access
Write D0h to arbitrary address in
erasure block in byte access
FRDY bit check
Time out
(tE128K
×
1.1)
*
FCU initialization
FRESETR.FRESET = 1
writing
ILGLERR bit and ERSERR bit check
Wait
(tRESW2)
*
FRESETR.FRESET = 0
writing
Note:
*
tE128K: Erasure time for a 128-Kbyte erasure block (see section 29, Electrical Characteristics)
tRESW2: Reset pulse width during programming/erasure (see section 29, Electrical Characteristics)
No
Yes
"0"
"1"
Use the ROM programming/erasure address
(Do not use a read address)
Start
End
Figure 26.15 Procedure for ROM Erasure
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...