English
Language : 

MC908JB16DWE Datasheet, PDF (66/332 Pages) Freescale Semiconductor, Inc – Microcontrollers
FLASH Memory
4.8 FLASH Protection
Due to the ability of the on-board charge pump to erase and program the
FLASH memory in the target application, provision is made to protect
blocks of memory from unintentional erase or program operations due to
system malfunction. This protection is done by use of a FLASH Block
Protect Register (FLBPR). The FLBPR determines the range of the
FLASH memory which is to be protected. The range of the protected
area starts from a location defined by FLBPR and ends to the bottom of
the FLASH memory ($FFFF). When the memory is protected, the HVEN
bit cannot be set in either ERASE or PROGRAM operations.
NOTE:
When the FLBPR is cleared (all 0’s), the entire FLASH memory is
protected from being programmed and erased. When all the bits are set,
the entire FLASH memory is accessible for program and erase.
4.8.1 FLASH Block Protect Register
The FLASH block protect register is implemented as an 8-bit I/O register.
The 7 bits of the 8-bit content of this register determine the starting
location of the protected range within the FLASH memory.
Address: $FE09
Bit 7
6
5
4
3
2
1
Read:
Write:
Reset:
BPR7
0
BPR6
0
BPR5
0
BPR4
0
BPR3
0
BPR2
0
BPR1
0
Figure 4-4. FLASH Block Protect Register (FLBPR)
Bit 0
BPR0
0
Technical Data
66
BPR[7:0] — FLASH Block Protect Register Bit 7 to Bit 0
BPR[7:1] represent bits [15:9] of a 16-bit memory address; bits [8:0]
are logic 0’s.
16-bit memory address
Start address of FLASH block protect
000000000
BPR[7:1]
Figure 4-5. FLASH Block Protect Start Address
FLASH Memory
MC68HC908JB16 — Rev. 1.1
Freescale Semiconductor