English
Language : 

MC68HC11F1_13 Datasheet, PDF (55/158 Pages) Freescale Semiconductor, Inc – Technical Data
Freescale Semiconductor, Inc.
Table 4-7 EEPROM Erase Mode Control
BYTE
0
0
1
1
ROW
0
1
0
1
Action
Bulk Erase (All 512 Bytes)
Row Erase (16 Bytes)
Byte Erase
Byte Erase
ERASE — Erase/Normal Control for EEPROM
Can be read or written any time.
0 = Normal read or program mode
1 = Erase mode
EELAT — EEPROM Latch Control
Can be read or written any time. When EELAT equals one, writes to EEPROM cause
address and data to be latched.
0 = EEPROM address and data bus configured for normal reads
1 = EEPROM address and data bus configured for programming or erasing
EEPGM — EEPROM Program Command
Can be read any time. Can only be written while EELAT = 1.
0 = Program or erase voltage switched off to EEPROM array
1 = Program or erase voltage switched on to EEPROM array
4.4.3 CONFIG Register Programming
Because the CONFIG register is implemented with EEPROM cells, use EEPROM pro-
cedures to erase and program this register. The procedure for programming is the
same as for programming a byte in the EEPROM array, except that the CONFIG reg-
ister address is used. CONFIG can be programmed or erased (including byte erase)
while the MCU is operating in any mode, provided that PTCON in BPROT is clear. To
change the value in the CONFIG register, complete the following procedure. Do not
initiate a reset until the procedure is complete. The new value will not take effect until
after the next reset sequence.
1. Erase the CONFIG register.
2. Program the new value to the CONFIG address.
3. Initiate reset.
CONFIG — System Configuration Register
$103F
Bit 7
6
5
4
EE3
EE2
EE1
EE0
RESET:
1
1
1
1
1
1
1
1
P
P
P
P
P
P
P
P
3
2
1
—
NOCOP
—
1
P
1
1
P(L)
1
1
P
1
1
P(L)
1
Bit 0
EEON
1
1
P
0
Single Chip
Bootstrap
Expanded
Special Test
P indicates a previously programmed bit. P(L) indicates that the bit resets to the logic
level held in the EEPROM bit prior to reset, but the function of COP is controlled by
DISR bit in TEST1 register.
TECHNICAL DATA
OPERATING MODES AND ON-CHIP MEMORY
For More Information On This Product,
Go to: www.freescale.com
4-17