
695
22.5.3
Erase Block Register 1 (EBR1)
EBR1 is an 8-bit register that specifies the flash memory erase area block by block. EBR1 is
initialized to H'00 by a power-on reset and standby mode, when a high level is input to the FWP
pin, and when a low level is input to the FWP pin and the SWE bit in FLMCR1 is not set. When a
bit in EBR1 is set to 1, the corresponding block can be erased. Other blocks are erase-protected.
Only one of the bits of EBR1 and EBR2 combined can be set. Do not set more than one bit. If
more than one bit is set, writes to bits ESU1, ESU2, E1, and E2 will be invalid. When on-chip
flash memory is disabled, a read will return H'00, and writes are invalid.
The flash memory block configuration is shown in table 22.4.
Bit:
7
6
5
4
3
2
1
0
—
—
—
—
EB3
EB2
EB1
EB0
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R/W
R/W
R/W
R/W
22.5.4
Erase Block Register 2 (EBR2)
EBR2 is an 8-bit register that specifies the flash memory erase area block by block. EBR2 is
initialized to H'00 by a power-on reset and standby mode, when a high level is input to the FWP
pin, and when a low level is input to the FWP pin and the SWE bit in FLMCR1 is not set. When a
bit in EBR2 is set to 1, the corresponding block can be erased. Other blocks are erase-protected.
When on-chip flash memory is disabled, a read will return H'00, and writes are invalid.
The flash memory block configuration is shown in table 22.4.
Bit:
7
6
5
4
3
2
1
0
EB11
EB10
EB9
EB8
EB7
EB6
EB5
EB4
Initial value:
0
0
0
0
0
0
0
0
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...