English
Language : 

SH7147 Datasheet, PDF (854/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 20 Flash Memory
(4) Erasure Execution
When flash memory is erased, the erase-block number on the user MAT must be passed to the
erasing program which is downloaded. This is set to the FEBS parameter (general register R4).
One block is specified from the block number 0 to 15.
For details on the erasing procedure, see section 20.5.2, User Program Mode.
• Flash erase block select parameter (FEBS: general register R4 of CPU)
This parameter specifies the erase-block number. Several block numbers cannot be specified.
Bit: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Initial value: -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
EBS[7:0]
Initial value: -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Initial
Bit
Bit Name Value
R/W
31 to 8 ⎯
Undefined R/W
7 to 0 EBS[7:0] Undefined R/W
Description
Unused
Return 0.
• 512-kbyte flash memory
Set the erase-block number in the range from 0 to 15. 0
corresponds to the EB0 block and 15 corresponds to
the EB15 block. An error occurs when a number other
than 0 to 15 (H'00 to H'0F) is set.
• 384-kbyte flash memory
Set the erase-block number in the range from 0 to 13. 0
corresponds to the EB0 block and 13 corresponds to
the EB13 block. An error occurs when a number other
than 0 to 13 (H'00 to H'0D) is set.
• 256-kbyte flash memory
Set the erase-block number in the range from 0 to 11. 0
corresponds to the EB0 block and 11 corresponds to
the EB11 block. An error occurs when a number other
than 0 to 11 (H'00 to H'0B) is set.
Rev. 3.00 Oct. 06, 2008 Page 830 of 1080
REJ09B0230-0300