Software Protection - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

7.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 P or E bit in
flash memory control register 1 (FLMCR1) does not cause a transition to program mode or erase
mode. (See table 7.8.)
Table 7.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 151 of 1037
Erase
Yes
Yes

Advertisement

Table of Contents
loading

Table of Contents