R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 188

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
Figure 17.10 Block Erase Command (When Not Using Erase-suspend Function)
• Block Erase
Write ‘20
cycle, and an auto erase operation (erase and verify) will start.
Check the FMR00 bit in the FMR0 register to see if auto erasing has finished.
The FMR00 bit is “0” during auto erasing and set to “1” when auto erasing is completed.
Check the FMR07 bit in the FMR0 register after auto erasing has finished, and the result of auto
erasing can be known. (Refer to Section 17.4.5, “Full Status Check.”)
When the FMR02 bit in the FMR0 register is set to “0” (rewrite disabled) or the FMR02 bit is set to “1”
(rewrite enabled) and the FMR15 bit in the FMR1 register is set to “1” (rewrite disabled), the block
erase command on the Block 0 is not accepted. When the FMR16 bit is set to “1” (rewrite disabled),
the block erase command on the Block 1 is not accepted.
Figure 17.10 shows an example of a block erase flowchart when the erase-suspend function is not
used. Figure 17.11 shows an example of a block erase flowchart when the erase-suspend function is
used.
In EW1 mode, do not execute this command on any address at which the rewrite control program is
located.
In EW0 mode, the microcomputer goes to read status register mode at the same time auto erasing
starts, making it possible to read the status register. The status register bit 7 (SR7) is cleared to “0” at
the same time auto erasing starts, and set back to “1” when auto erasing finishes. In this case, the
microcomputer remains in read status register mode until the Read Array command is written next.
Jan 27, 2006
16
’ in the first bus cycle and write ‘D0
page 177 of 205
Write the command code ‘20
Write ‘D0
Block erase completed
Full status check
16
FMR00=1?
address
’ to the given block
Start
YES
16
’ to the given address of a block in the second bus
NO
16
17.4 CPU Rewrite Mode

Related parts for R5F21133DFP