mc68hc08az60 Freescale Semiconductor, Inc, mc68hc08az60 Datasheet - Page 45

no-image

mc68hc08az60

Manufacturer Part Number
mc68hc08az60
Description
M68hc08 Family Of 8-bit Microcontroller Units Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc08az60 1J35D
Manufacturer:
FREESCALE
Quantity:
20 000
EEPROM Erasing
5-eeprom-1
MOTOROLA
The unprogrammed state is a logic 1. Only the valid EEPROM bytes in
the nonprotected blocks and EENVR1 can be erased.
Use this procedure to erase EEPROM after first ensuring the block
protect feature is not set on the address block of the byte to be erased:
EEBPx bit must be cleared to erase EEPROM data in the corresponding
block. If any EEBPx is set, the corresponding block can not be erased
and bulk erase mode does not apply.
1. Clear/set EERAS1 and EERAS0 to select byte/block/bulk erase,
2. Write any data to the desired address for byte erase, to any
3. Set the EEPGM bit. (See note B.)
4. Wait for a time, t
5. Clear EEPGM bit.
6. Wait for a time, t
7. Clear EELAT bits. (See note C.)
8. Repeat steps 1 to 7 for more EEPROM byte/block erasing.
Freescale Semiconductor, Inc.
NOTES:
For More Information On This Product,
and set EELAT in EECR1. (See note A.)
address in the desired block for block erase, or to any array
address for bulk erase.
a. Setting EELAT bit configures the address and data buses to
b. The EEPGM bit cannot be set if the EELAT bit is cleared and
latch data for erasing the array. Only valid EEPROM
addresses with their data will be latched. If another
consecutive valid EEPROM write occurs, this address and
data will override the previous address and data. In block
erase mode, any EEPROM address in the block may be used
in step 2. All locations within this block will be erased. In bulk
erase mode, any EEPROM address may be used to erase the
whole EEPROM. EENVR1 is not affected with block or bulk
erase. Any attempts to read other EEPROM data will read the
latched data. If EELAT is set, other writes to the EECR1 will
only be allowed after a valid EEPROM write.
a non-EEPROM write has occurred. This is to ensure proper
erasing sequence. Once EEPGM is set, the type of erase
Go to: www.freescale.com
EEPROM-1
EEPGM
EEFPV
, for the erasing voltage to fall.
,/t
EEBLOCK
/t
EEBULK.
MC68HC08AZ60 — Rev. 1.0
.
Functional Description
EEPROM-1
45

Related parts for mc68hc08az60