Rev. 5.00, 12/03, page 571 of 1088
17.5.3
Erase Block Register 1 (EBR1)
Bit
:
7
6
5
4
3
2
1
0
EBR1
EB7
EB6
EB5
EB4
EB3
EB2
EB1
EB0
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
EBR1 is an 8-bit register that specifies the flash memory erase area block by block. EBR1 is
initialized to H'00 by a reset, in hardware standby mode and software standby mode, when a low
level is input to the FWE pin, and when a high level is input to the FWE pin and the SWE bit in
FLMCR1 is not set. When a bit in EBR1 is set, the corresponding block can be erased. Other
blocks are erase-protected. Set only one bit in EBR1 and EBR2 together (setting more than one bit
will automatically clear all EBR1 and EBR2 bits to 0). 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 17-7.
17.5.4
Erase Block Register 2 (EBR2)
Bit
:
7
6
5
4
3
2
1
0
EBR2
—
—
EB13
*
1
EB12
*
1
EB11
*
2
EB10
*
2
EB9
EB8
Initial value :
0
0
0
0
0
0
0
0
R/W
:
—
—
R/W
*
1
R/W
*
1
R/W
R/W
R/W
R/W
Notes: 1. Available only in the H8S/2315 F-ZTAT and H8S/2314 F-ZTAT.
2. Reserved in the H8S/2317 F-ZTAT. Only 0 should be written.
EBR2 is an 8-bit register that specifies the flash memory erase area block by block. EBR2 is
initialized to H'00 by a reset, in hardware standby mode and software standby mode, when a low
level is input to the FWE pin, and when a high level is input to the FWE pin and the SWE bit in
FLMCR1 is not set. When a bit in EBR2 is set, the corresponding block can be erased. Other
blocks are erase-protected. Set only one bit in EBR2 and EBR1 together (setting more than one bit
will automatically clear all EBR1 and EBR2 bits to 0, bits 7 to 2 are reserved in the H8S/2317
F-ZTAT). Bits 7 to 4 are reserved (bits 7 and 6 are reserved in the H8S/2315 F-ZTAT and
H8S/2314 F-ZTAT): they are always read as 0 and cannot be modified. 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 17-7.
Summary of Contents for H8S/2318 series
Page 2: ......
Page 6: ...Rev 5 00 12 03 page vi of xxx...
Page 12: ...Rev 5 00 12 03 page xii of xxx...
Page 30: ...Rev 5 00 12 03 page xxx of xxx...
Page 54: ...Rev 5 00 12 03 page 24 of 1088...
Page 98: ...Rev 5 00 12 03 page 68 of 1088...
Page 128: ...Rev 5 00 12 03 page 98 of 1088...
Page 138: ...Rev 5 00 12 03 page 108 of 1088...
Page 168: ...Rev 5 00 12 03 page 138 of 1088...
Page 212: ...Rev 5 00 12 03 page 182 of 1088...
Page 324: ...Rev 5 00 12 03 page 294 of 1088...
Page 436: ...Rev 5 00 12 03 page 406 of 1088...
Page 546: ...Rev 5 00 12 03 page 516 of 1088...
Page 580: ...Rev 5 00 12 03 page 550 of 1088...
Page 822: ...Rev 5 00 12 03 page 792 of 1088...
Page 876: ...Rev 5 00 12 03 page 846 of 1088...
Page 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Page 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...