Table 17-33 Software Protection
Item
SWE bit protection
Block specification
protection
Emulation protection •
Rev. 5.00, 12/03, page 644 of 1088
Description
•
Clearing the SWE1 bit to 0 in FLMCR1 sets
the program/erase-protected state for area
H'000000 to H'03FFFF (Execute in on-chip
RAM, external memory, or addresses
H'040000 to H'07FFFF)
•
Clearing the SWE2 bit to 0 in FLMCR2 sets
the program/erase-protected state for area
H'040000 to H'07FFFF (Execute in on-chip
RAM, external memory, or addresses
H'000000 to H'03FFFF)
•
Erase protection can be set for individual
blocks by settings in erase block registers 1
and 2 (EBR1, 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.
Functions
Program
Erase
Yes
Yes
—
Yes
Yes
Yes