RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 869 of 1006
Feb 20, 2013
26.7.2
Suspension during Erasure (Suspension Priority Mode)
Figure 26.22 shows the suspend operation of erasure when the erasure suspend mode is set to the suspension priority
mode (ESUSPMD bit in FCPSR is 0).
When receiving an erasure-related command, the FCU clears the FSTATR0.FRDY bit to 0 to start erasure. If the FCU
enters the state in which the P/E suspend command can be received after starting erasure, the FSTATR0.SUSRDY bit is
set to 1. When a P/E suspend command is issued, the FCU receives the command and clears the SUSRDY bit to 0. When
receiving a suspend command during erasure, the FCU starts the suspend processing and sets the ERSSPD bit in
FSTATR0 to 1 even if it is applying an erasure pulse. When the suspend processing finishes, the FCU sets the FRDY bit
to 1 to enter the erasure suspended state. If receiving a P/E resume command in the erasure suspended state, the FCU
clears the FRDY and ERSSPD bits to 0 and resumes erasure.
The setting of the erasure suspend mode affects the control method of erasure pulses. In suspension priority mode, when
receiving a P/E suspend command while erasure pulse A that has never been suspended in the past is being applied, the
FCU suspends the application of erasure pulse A and enters the erasure suspended state. When receiving a P/E suspend
command while reapplying erasure pulse A after erasure is resumed by a P/E resume command, the FCU continues
applying erasure pulse A. After specified pulse application time, the FCU finishes erasure pulse application and enters
the erasure suspended state. When the FCU receives a P/E resume command next and erasure pulse B starts to be newly
applied, and then the FCU receives a P/E suspend command again, the application of erasure pulse B is suspended. In
suspension priority mode, delay due to suspend can be minimized because the application of an erasure pulse is
suspended one time per pulse and priority is given to the suspension processing.
Pulse A application
continues
[Legend]
E: Erasure-related command (block erase, P/E resume)
S: P/E suspend command
R: P/E resume command
Pulse A application
discontinues
Pulse B application
discontinues
FCU command
FRDY bit
SUSRDY bit
ERSSPD bit
E
S
R
S
R
S
Erasure pulse
Figure 26.22 Suspension during Erasure (Suspension Priority Mode)
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...