RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 855 of 1006
Feb 20, 2013
26.6.4.2
Programming and Erasure Procedures
The following passages describe the flow of procedures for programming or erasing the ROM. For details on the
acceptance of commands by the FCU, see section 26.6.3, Connections between FCU Modes and Commands.
Figure 26.11 is a simple flowchart of the procedure for executing FCU commands.
ROM P/E mode transition
Determine the error
source, and issue a
status clear command
Error check
Issue a peripheral clock
notification command
Error
No error
Firmware transfer to the FCU RAM
Start
End
Error check
Error
No error
Determine the error
source, and issue a
status clear command
Issue an FCU command
*
1
Error check
Error
No error
Determine the error
source, and issue a
status clear command
Check the
execution result of
the FCU
command
*
2
NG
OK
Transferred only one time after reset is cleared.
For details, see section 26.6.4.2 (1), Transferring Firmware to the FCU
RAM.
Set FWEPROR and FENTRYR
Issued only one time after a peripheral clock is set.
For details, see section 26.6.4.2 (4), Using the Peripheral Clock Notification
Command.
See table 26.9, Error Protection Types and
section 26.6.4.3, Error Processing.
Notes:
1. Selected among the programming, block erase, lock bit programming, and lock bit read 2 commands.
2. To check the result of programming/erasure processing, enter ROM read mode and read data from the
ROM (see section 26.6.4.1 (2), Switching to ROM Read Mode.)
Jump to the on-chip RAM
Figure 26.11 Simple Flowchart of the Procedure for Programming and Erasure
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...