EZ80F91MCU ZILOG [Zilog, Inc.], EZ80F91MCU Datasheet - Page 134

no-image

EZ80F91MCU

Manufacturer Part Number
EZ80F91MCU
Description
eZ80Acclaim-TM Flash Microcontrollers
Manufacturer
ZILOG [Zilog, Inc.]
Datasheet
PS019209-0504
Note:
Flash Write/Erase Protection Register
The Flash Write/Erase Protection register prevents accidental Write or Erase
operations. The protection is limited to a resolution of eight 32 KB blocks. Setting a
bit to 1 protects that 32 KB block of Flash memory from accidental Writes or
erases. The default upon RESET is for all Flash memory blocks to be protected.
The WP pin works in conjunction with FLASH_PROT[0] to protect the lowest
block (also called the Boot Block) of Flash memory. If either the WP is held
asserted or FLASH_PROT[0] is set, the Boot Block is protected from Write and
Erase operations.
A protect bit is not available for the information page. The information page is,
however, protected from a MASS ERASE if any pages are protected in
FLASH_PROT or WP is asserted.
Writes to this register are allowed only after it is unlocked via the FLASH_KEY
register. Any attempted Writes to this register while locked will set it to
thereby protecting all blocks. See Table 40.
Table 40. Flash Write/Erase Protection Register
(FLASH_PROT = 00FAh)
Bit
Reset
CPU Access
Note: R/W = Read/Write if unlocked, R = Read Only if locked. *Key sequence required to unlock.
Bit
Position
[7]
BLK7_PROT
[6]
BLK6_PROT
[5]
BLK5_PROT
[4]
BLK4_PROT
Note: The lower 32 KB block (00000h to 07FFFh—BLK0) is called the Boot Block and can be
protected using the external WP pin.
Value Description
0
1
0
1
0
1
0
1
R/W*
Disable Write/Erase Protect on block 38000h to 3FFFFh.
Enable Write/Erase Protect on block 38000h to 3FFFFh.
Disable Write/Erase Protect on block 30000h to 37FFFh.
Enable Write/Erase Protect on block 30000h to 37FFFh.
Disable Write/Erase Protect on block 28000h to 2FFFFh.
Enable Write/Erase Protect on block 28000h to 2FFFFh.
Disable Write/Erase Protect on block 20000h to 27FFFh.
Enable Write/Erase Protect on block 20000h to 27FFFh.
P R E L I M I N A R Y
7
1
R/W*
6
1
R/W*
5
1
R/W*
4
1
R/W*
3
1
Product Specification
R/W*
2
1
eZ80F91 MCU
R/W*
1
1
Flash Memory
FFh
,
R/W*
0
1
115

Related parts for EZ80F91MCU