
FLASH1 Control Register
MC68HC08LK60 MC68HC908LK60 Advance Information Data Sheet, Rev. 1.1
Freescale Semiconductor
39
FDIV0 — Frequency divide control bit
This bit selects the factor by which CGMVCLK is divided to derive the charge pump frequency.
SeeNOTE
FDIV1 has no effect.
BLK1 and BLK0 — Block erase control bits
These bits control erasing of blocks of varying size.
Table 4-1 shows the various block sizes which can
be erased in one erase operation.
and used to determine the location of the block to be erased. For the full array, the only requirement
is that the target address points to any byte in this array. Writing to any address in the array will enable
the erase.
HVEN — High voltage enable bit
This read/write bit enables high voltage from the charge pump to the memory for either program or
erase operation. It can only be set if either PGM or ERASE is set.
1 = High voltage enabled to array and charge pump on
0 = High voltage disabled to array and charge pump off
MARG — Program margin control bit
This read/write bit configures the memory for a program margin operation. It cannot be set if the HVEN
bit is set, and if it is set when HVEN is set, it will automatically return to 0.
1 = Margin operation selected
0 = Margin operation unselected
ERASE — Erase control bit
This read/write bit configures the memory for erase operation. It is interlocked with the PGM bit such
that both bits cannot be set to 1 at the same time.
1 = Erase operation selected
0 = Erase operation unselected
PGM — Program control bit
This read/write bit configures the memory for program operation. It is interlocked with the ERASE bit
such that both bits cannot be equal to 1 or set to 1 at the same time.
1 = Program operation selected
0 = Program operation unselected
Table 4-1. Erase Block Sizes of FLASH1
BLK1
BLK0
Block size
Row boundaries
0
Full array: 32 Kbytes
0-504 ($8000–$FFFF)
0
1
One-half array: 16 Kbytes
0-255 ($8000–$BFFF)
256-504 ($C000–$FFFF)
1
0
Eight rows: 512 bytes
0–7 ($8000–$81FF)
8–15 ($8200–$83FF)
16–23 ($8400–$85FF)
↓
496–503 ($FC00–$FDFF)
1
Single row: 64 bytes
0 ($8000–$803F)
1 ($8040–$807F)
↓
504 ($FFD0–$FFFF)