MC68HC916X1
MOTOROLA
MC68HC916X1TS/D
133
10 Block-Erasable Flash EEPROM
The 2 Kbyte block-erasable flash EEPROM module (BEFLASH) serves as nonvolatile, fast-access
ROM-emulation memory. The module can be used for program code that must either execute at
high speed or is frequently executed, such as operating system kernels and standard subroutines,
or it can be used for static data that is read frequently. The module can also be configured to provide
bootstrap vectors for system reset.
10.1 Overview
The BEFLASH module consists of a control register block that occupies a fixed position in MCU
address space and a 2 Kbyte flash EEPROM array that can be mapped to any 2 Kbyte boundary
in MCU address space. The array can be configured to reside in both program and data space, or
in program space alone.
The flash EEPROM array can be read as either bytes, words, or long-words. The module responds
to back-to-back IMB accesses, providing two bus cycle (four system clocks) access for aligned long
words. The module can also be programmed to insert up to three wait states per access, to accom-
modate migration from slower external development memory without re-timing the system.
Both the array and the individual control bits are programmable and erasable under software con-
trol. Program/erase voltage must be supplied via the external VFPE2K pin. Data is programmed in
byte or word aligned fashion. The module supports both block and bulk erase modes, and has a
minimum program/erase life of 100 cycles. Hardware interlocks protect stored data from corruption
if the program/erase voltage to the BEFLASH EEPROM array is enabled accidently. The BEFLASH
array is enabled/disabled by a combination of DATA15 and the STOP shadow bit after reset.
1. Y = M111, where M is the logic state of the module mapping (MM) bit in the SCIMCR.
Table 69 BEFLASH Address Map
Address
15
8 7
0
$YFF7A01
BEFLASH MODULE CONFIGURATION REGISTER (BFEMCR)
$YFF7A2
BEFLASH TEST REGISTER (BFETST)
$YFF7A4
BEFLASH BASE ADDRESS HIGH REGISTER (BFEBAH)
$YFF7A6
BEFLASH BASE ADDRESS LOW REGISTER (BFEBAL)
$YFF7A8
BEFLASH CONTROL REGISTER (BFECTL)
$YFF7AA
RESERVED
$YFF7AC
RESERVED
$YFF7AE
RESERVED
$YFF7B0
BEFLASH BOOTSTRAP WORD 0 (BFEBS0)
$YFF7B2
BEFLASH BOOTSTRAP WORD 1 (BFEBS1)
$YFF7B4
BEFLASH BOOTSTRAP WORD 2 (BFEBS2)
$YFF7B6
BEFLASH BOOTSTRAP WORD 3 (BFEBS3)
$YFF7B8
RESERVED
$YFF7BA
RESERVED
$YFF7BC
RESERVED
$YFF7BE
RESERVED
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.