h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 832

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 21A ROM (H8S/2636 Group)
21A.10.2 Software Protection
Software protection can be implemented by setting the SWE bit in FLMCR1, erase block register
1 (EBR1), erase block register 2 (EBR2), and the RAMS bit in the RAM emulation register
(RAMER). When software protection is in effect, setting the P or E bit in flash memory control
register 1 (FLMCR1), does not cause a transition to program mode or erase mode (See table
21A-12).
Table 21A-12 Software Protection
21A.10.3 Error Protection
In error protection, an error is detected when chip runaway occurs during flash memory
programming/erasing, or operation is not performed in accordance with the program/erase
algorithm, and the program/erase operation is aborted. Aborting the program/erase operation
prevents damage to the flash memory due to overprogramming or overerasing.
If the chip malfunctions during flash memory programming/erasing, the FLER bit is set to 1 in
FLMCR2 and the error protection state is entered. The FLMCR1, FLMCR2, EBR1, and EBR2
settings are retained, but program mode or erase mode is aborted at the point at which the error
occurred. Program mode or erase mode cannot be re-entered by re-setting the P or E bit. However,
PV and EV bit setting is enabled, and a transition can be made to verify mode.
Rev. 6.00 Feb 22, 2005 page 772 of 1484
REJ09B0103-0600
Item
SWE bit protection
Block specification
protection
Emulation protection
Description
Setting bit SWE1 in FLMCR1 to 0 will place
area on-chip flash memory in the program/
erase-protected state (Execute the program
in the on-chip RAM, external memory).
Erase protection can be set for individual
blocks by settings in erase block register 1
(EBR1) and erase block register 2 (EBR2).
Setting EBR1 and EBR2 to H'00 places all
blocks in the erase-protected state.
Setting the RAMS bit to 1 in the RAM
emulation register (RAMER) places all
blocks in the program/erase-protected state.
Program
Yes
Yes
Functions
Erase
Yes
Yes
Yes

Related parts for h8s-2635