English
Language : 

MC68HC908GP20 Datasheet, PDF (175/406 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Table 11-2. Erase Block Sizes
Write to
Address
Bit
Any
FLASH
address
A14
A14
A9
A9
A6
A6
Address
Value
BLK1
BLK0
Any
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
Desired Erase Address Range
Array Size
(Critical
Address Bits)
$B000–$FDFF and $FFDC–$FFFF
Full array: 20 KBytes
(A14–A0,
Any FLASH Address)
$C000–$FDFF and $FFDC–$FFFF
4/5 array: 16 Kbytes
(A14 = 1)
$B000–$BFFF
1/5 array: 4 Kbytes
(A14 = 0)
Address range determined by value
of A15–A10, while A9 = 1:
$<A15–A12><A11,A10,10><0000><0000>
–$<A15–A12><A11,A10,11><1111><1111>
Eight rows:
512 bytes
(A14–A9, A9 = 1)
Address range determined by value
of A15–A10, while A9 = 0:
$<A15–A12><A11,A10,00><0000><0000>
–$<A15–A12><A11,A10,01><1111><1111>
Eight rows:
512 bytes
(A14–A9, A9 = 0)
Address range determined by value
of A15–A7, while A6 = 1:
$<A15–A12><A11:A8><A7,100><0000>
–$<A15–A12><A11:A8><A7,111><1111>
Single row: 64 bytes
(A14–A6, A6 = 1)
Address range determined by value
of A15–A7, while A6 = 0:
$<A15–A12><A11:A8><A7,000><0000>
–$<A15–A12><A11:A8><A7,011><1111>
Single row: 64 bytes
(A14–A6, A6 = 0)
In step 4 of the erase operation, the desired erase addresses are latched
and used to determine the location of the block to be erased. For the full
array (BLK1 = BLK0 = 0), the only requirement is that the FLASH
memory be selected. Writing to any address in the range $B000 to
$FDFF or the vectors in the address range $FFDC to $FFFF will enable
the full array erase. This case is shown in Table 11-2.
In the 4/5 array case in Table 11-2 (A14 = 1, BLK1 = 0, BLK0 = 1), the
state of A14 = 1 determines that the range from $C000 to $FDFF and
$FFDC to $FFFF is erased. For example, writing to address $D123
(A14 = 1, BLK1 = 0, BLK0 = 1) will erase the range $C000 to $FDFF and
MC68HC908GP20 — Rev 2.1
Freescale Semiconductor
Advance Information
175