RX610 Group
26. ROM (Flash Memory for Code Storage)
R01UH0032EJ0120 Rev.1.20
Page 868 of 1006
Feb 20, 2013
26.7
Suspending Operation
The ROM cannot be read out during programming/erasure. The ROM can be read out by suspending the ROM
programming/erasure with the P/E suspend command. The P/E suspend command includes one programming mode and
two erasure modes (suspension priority mode and erasure priority mode). The P/E resume command that resumes
suspended programming/erasure processing is also provided.
26.7.1
Suspension during Programming
When issuing a P/E suspend command during the ROM programming/erasure, the FCU suspends programming
processing. Figure 26.21 shows the suspend operation of programming.
When receiving a programming-related command, the FCU clears the FRDY bit in FSTATR0 to 0 to start programming.
If the FCU enters the state in which the P/E suspend command can be received after starting programming, the SUSRDY
bit in FSTATR0 is set to 1. When a P/E suspend command is issued, the FCU receives the command and clears the
SUSRDY bit to 0. If the FCU receives a P/E suspend command while a programming pulse is being applied, the FCU
continues applying the pulse. After specified pulse application time, the FCU finishes pulse application, and starts the
programming suspend processing and sets the PRGSPD bit in FSTATR0 to 1. When the suspend processing finishes, the
FCU sets the FRDY bit to 1 to enter the programming suspended state. If receiving a P/E resume command in the
programming suspended state, the FCU clears the FRDY and PRGSPD bits to 0 and resumes programming.
Pulse application
continues
[Legend]
P: Programming-related command (interleave programming, lock bit programming, P/E resume)
S: P/E suspend command
R: P/E resume command
Programming
pulse
PRGSPD bit
SUSRDY bit
FRDY bit
FCU command
P
S
R
Figure 26.21 Suspension during Programming