XC908AS60ACFU Motorola Semiconductor Products, XC908AS60ACFU Datasheet - Page 97

no-image

XC908AS60ACFU

Manufacturer Part Number
XC908AS60ACFU
Description
MC68HC908AZ60A, MC68HC908AS60A Hcmos Microcontroller Unit Technical Data
Manufacturer
Motorola Semiconductor Products
Datasheet
EEPROM-1 Erasing
MC68HC908AZ60A — Rev 2.0
MOTOROLA
NOTE:
B. If more than one valid EEPROM write occurs, the last address and
data will be latched overriding the previous address and data. Once data
is written to the desired address, do not read EEPROM-1 locations other
than the written location. (Reading an EEPROM location returns the
latched data and causes the read address to be latched).
C. The EEPGM bit cannot be set if the EELAT bit is cleared or a non-
valid EEPROM address is latched. This is to ensure proper
programming sequence. Once EEPGM is set, do not read any
EEPROM-1 locations; otherwise, the current program cycle will be
unsuccessful. When EEPGM is set, the on-board programming
sequence will be activated.
D. The delay time for the EEPGM bit to be cleared in AUTO mode is less
than t
For forward compatibility, software should not make any dependency on
this delay time.
E. Any attempt to clear both EEPGM and EELAT bits with a single
instruction will only clear EEPGM. This is to allow time for removal of
high voltage from the EEPROM-1 array.
The programmed state of an EEPROM bit is logic 0. Erasing changes
the state to a logic 1. Only EEPROM-1 bytes in the non-protected blocks
and the EE1NVR register can be erased.
Use the following procedure to erase a byte, block or the entire
EEPROM-1 array:
If using the AUTO mode, also set the AUTO bit in Step 1.
1. Configure EERAS1 and EERAS0 for byte, block or bulk erase; set
2. Byte erase: write any data to the desired address.
3. Set the EEPGM bit.
EEPGM
EELAT in EE1CR.
Block erase: write any data to an address within the desired
block.
Bulk erase: write any data to an address within the array.
(B)
. However, on other MCUs, this delay time may be different.
EEPROM-1 Memory
(A)
(C)
Go to Step 7 if AUTO is set.
Functional Description
EEPROM-1 Memory
(B)
Technical Data
(B)
97

Related parts for XC908AS60ACFU