mc68hc908qy4vp Freescale Semiconductor, Inc, mc68hc908qy4vp Datasheet - Page 38

no-image

mc68hc908qy4vp

Manufacturer Part Number
mc68hc908qy4vp
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908qy4vpE
Manufacturer:
Freescale
Quantity:
1 125
Memory
2.6.6 FLASH Block Protect Register
The FLASH block protect register 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 address of the protected range within the FLASH memory.
BPR[7:0] — FLASH Protection Register Bits [7:0]
38
These eight bits in FLBPR represent bits [13:6] of a 16-bit memory address. Bits [15: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, or XXC0 within the FLASH
memory. See
Write to this register is by a programming sequence to the FLASH memory.
Address:
FLASH BLOCK PROTECT
Reset:
Read:
Write:
Figure 2-6
START ADDRESS OF
$BA (1011 1010)
$BB (1011 1011)
$BC (1011 1100)
$DE (1101 1110)
$DF (1101 1111)
$B9 (1011 1001)
$FE (1111 1110)
BPR[7:0]
$00–$B8
$FFBE
BPR7
Bit 7
$FF
Figure 2-5. FLASH Block Protect Register (FLBPR)
Figure 2-6. FLASH Block Protect Start Address
Table 2-2. Examples of Protect Start Address
and
BPR6
MC68HC908QY/QT Family Data Sheet, Rev. 5
Table
6
1
1
2-2.
Unaffected by reset. Initial value from factory is 1.
BPR5
5
FLBPR, OSCTRIM, and vectors are protected
The entire FLASH memory is not protected.
16-BIT MEMORY ADDRESS
and so on...
The entire FLASH memory is protected.
Start of Address of Protect Range
FLBPR VALUE
BPR4
4
$EEC0 (1110 1110 1100 0000)
$EE40 (1110 1110 0100 0000)
$EE80 (1110 1110 1000 0000)
$EF00 (1110 1111 0000 0000)
$F7C0 (1111 0111 1100 0000)
$F780 (1111 0111 1000 0000)
$FF80 (1111 1111 1000 0000)
BPR3
3
BPR2
0
2
0
0
BPR1
1
0
Freescale Semiconductor
0
BPR0
Bit 0
0

Related parts for mc68hc908qy4vp