
MC68HC916X1
MC68HC916X1TS/D
MOTOROLA
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 V
FPE2K
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.
Table 69
shows the BEFLASH address map.
1. Y = M111, where M is the logic state of the module mapping (MM) bit in the SCIMCR.
Table 69 BEFLASH Address Map
Address
$YFF7A0
1
$YFF7A2
$YFF7A4
$YFF7A6
$YFF7A8
$YFF7AA
$YFF7AC
$YFF7AE
$YFF7B0
$YFF7B2
$YFF7B4
$YFF7B6
$YFF7B8
$YFF7BA
$YFF7BC
$YFF7BE
15
8 7
0
BEFLASH MODULE CONFIGURATION REGISTER (BFEMCR)
BEFLASH TEST REGISTER (BFETST)
BEFLASH BASE ADDRESS HIGH REGISTER (BFEBAH)
BEFLASH BASE ADDRESS LOW REGISTER (BFEBAL)
BEFLASH CONTROL REGISTER (BFECTL)
RESERVED
RESERVED
RESERVED
BEFLASH BOOTSTRAP WORD 0 (BFEBS0)
BEFLASH BOOTSTRAP WORD 1 (BFEBS1)
BEFLASH BOOTSTRAP WORD 2 (BFEBS2)
BEFLASH BOOTSTRAP WORD 3 (BFEBS3)
RESERVED
RESERVED
RESERVED
RESERVED