EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #154 background imageLoading...
Page #154 background image
6
6-25
INTERNAL MEMORY
32180 Group Users Manual (Rev.1.0)
(5) Erase All Unlocked Blocks command
The Erase All Unlocked Blocks command erases all flash memory blocks that are not protected. To erase all
unlocked blocks, write the command (HA7A7) to any address of the internal flash memory. Next, write the
Verify command (HD0D0) to any address of the internal flash memory, and all unlocked memory blocks are
thereby erased.
6.5 Programming the Internal Flash Memory
END
Read any address of the internal flash
memory Note 2 to check for erase
error (see Figure 6.4.2)
START
Write the Verify command (H'D0D0) to
any address of the internal flash memory
Write the Erase All Unlocked Blocks
command (H'A7A7) to any address of the
internal flash memory
Flash memory contents are erased
by Erase All Unlocked Blocks
(Note 1)
Wait for 1 µs
(using a hardware or software timer)
FSTAT bit = 1
TIME OUT?
10s
YES
NO
Forcibly terminated
(see Figure 6.4.3.)
YES
NO
Note 1: When an erase operation started, the internal flash memory is automatically readied to run the Read Status command,
so that there is no need to enter the Read Status command until another command is entered.
Note 2: Inspect the Flash Status Register 2 ERASE (erase status), WRERR1 (write status 1) and WRERR2 (write status 2) bits
to check for programming error.
Figure 6.5.11 Erase All Unlocked Blocks Command

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals