mc68hc908lb8 Freescale Semiconductor, Inc, mc68hc908lb8 Datasheet - Page 42

no-image

mc68hc908lb8

Manufacturer Part Number
mc68hc908lb8
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908lb8CDWE
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908lb8CDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908lb8CPE
Manufacturer:
IR
Quantity:
10
Memory
2.6.6 FLASH Block Protect Register
The FLASH block protect register (FLBPR) is implemented as a byte within the FLASH memory, and
therefore can only be written during a programming sequence of the FLASH memory. The value in this
register determines the starting location of the protected range within the FLASH memory.
BPR[7:0] — FLASH Block Protect Bits
42
These eight bits represent bits [13:6] of a 16-bit memory address. Bit 15 and 14 are 1s and bits [5:0]
are 0s.
The resultant 16-bit address is used for specifying the start address of the FLASH memory for block
protection. The FLASH is protected from this start address to the end of FLASH memory, at $FFFF.
With this mechanism, the protect start address can be $XX00, $XX40, $XX80, and $XXC0 (64 bytes
page boundaries) within the FLASH memory.
Address:
Reset:
Read:
Write:
$FC (1111 1100)
$FD (1111 1101)
$7A (0111 1010)
$7B (0111 1011)
$7C (0111 1100)
$FE (1111 1110)
$79 (0111 1001)
START ADDRESS OF FLASH
BPR[7:0]
$00–$78
U = Unaffected by reset. Initial value from factory is 1.
Write to this register is by a programming sequence to the FLASH memory.
$FF
$FF7E
BPR7
Bit 7
U
Figure 2-5. FLASH Block Protect Register (FLBPR)
Table 2-2. Examples of Protect Address Ranges
Figure 2-6. FLASH Block Protect Start Address
BLOCK PROTECT
BPR6
U
6
MC68HC908LB8 Data Sheet, Rev. 1
1
BPR5
U
5
1
and so on...
The entire FLASH memory is not protected.
$DEC0 (1101 1110 1100 0000) — $FFFF
$DE40 (1101 1110 0100 0000) — $FFFF
$DE80 (1101 1110 1000 0000) — $FFFF
$DF00 (1101 1111 0000 0000) — $FFFF
$FF40 (1111 1111 0100 0000) — $FFFF
The entire FLASH memory is protected.
$FF00 (1111 1111 0000 0000) — FFFF
$FF80 (1111 1111 1000 0000) — FFFF
BPR4
FLBPR VALUE
U
FLBPR and vectors are protected
4
16-BIT MEMORY ADDRESS
Addresses of Protect Range
Vectors are protected
BPR3
U
3
BPR2
0 0 0 0 0 0
U
2
BPR1
U
1
Freescale Semiconductor
BPR0
Bit 0
U

Related parts for mc68hc908lb8