Software Protection - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

8.6.2

Software Protection

Software protection can be implemented by setting the SWE bit in FLMCR1 and erase block
registers 1 and 2 (EBR1, EBR2). When software protection is in effect, setting the P1 or E1 bit
in flash memory control register 1 (FLMCR1), or setting the P2 or E2 bit in flash memory
control register 2 (FLMCR2) does not cause a transition to program mode or erase mode. (See
table 8.8.)
Table 8.8
Software Protection
Item
Description
• Clearing the SWE bit to 0 in FLMCR1 sets the
SWE bit
protection
program/erase-protected state for all blocks
(Execute in on-chip RAM or external memory)
• Erase protection can be set for individual blocks by
Block
specification
settings in erase block registers 1 and 2 (EBR1,
protection
EBR2)
• Setting EBR1 and EBR2 to H'00 places all blocks in
the erase-protected state
Functions
Program
Yes
Rev. 2.0, 11/00, page 201 of 1037
Erase
Yes
Yes

Advertisement

Table of Contents
loading

Table of Contents