Mitsubishi Electric M32R Series User Manual page 172

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

6
Read any address of internal flash memory
Note 1: When Erase operation starts, you have the Read Status Register command automatically
entered. (You do not need to enter the Read Status Register command until you issue another
command.)
Note 2: Examine the Flash Status Register 2 ERESE (Auto Erase operating condition), WRERR1
(Program operating condition 1), and WRERR2 (Program operating condition 2) bits to check for
erase error.
Figure 6.5.14 Erase All Unlock Block
START
Write Erase All Unlock Block command
(H'A7A7) to any address of internal flash
memory.
Write Verify command (H'D0D0) to any
address in memory blocks you want to
erase.
Flash memory contents erased by
Erase program (Note 1)
1 µs wait
(by hardware timer or software timer)
FSTAT bit = 1
YES
to check for erase error. (Note 2)
END
6.5 Programming of the Internal Flash Memory
NO
TIME OUT ?
Forcibly terminated
6-38
INTERNAL MEMORY
NO
10s
YES
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents