6
6-25
INTERNAL MEMORY
32180 Group User’s 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 (H’A7A7) to any address of the internal flash memory. Next, write the
Verify command (H’D0D0) 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
Содержание M32R/ECU Series
Страница 17: ...12 This page is blank for reasons of layout...
Страница 18: ...CHAPTER 1 OVERVIEW 1 1 Outline of the 32180 Group 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Assignments...
Страница 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Страница 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Страница 795: ...22 22 2 32180 Group User s Manual Rev 1 0 TYPICAL CHARACTERISTICS To be written at a later time...
Страница 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Страница 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Страница 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...