mc68hc08qa24 Freescale Semiconductor, Inc, mc68hc08qa24 Datasheet - Page 76

no-image

mc68hc08qa24

Manufacturer Part Number
mc68hc08qa24
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Electrically Erasable Programmable Read-Only Memory (EEPROM)
6.4.2 EEPROM Erasing
Technical Data
74
Electrically Erasable Programmable Read-Only Memory (EEPROM)
The unprogrammed state is a logic 1. Only the valid EEPROM bytes in
the non-protected blocks and EENVR can be erased. When the array is
configured in the redundant mode, erasing the first 256 bytes
($0800–$08FF) will also erase the last 256 bytes ($0900–$09FF).
Use this step-by-step procedure to erase EEPROM. Refer to
Control Timing
EEBPx bit must be cleared to erase EEPROM data in the corresponding
block. If any EEBPx is set, the corresponding block cannot 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 the erasing voltage time, t
7. Clear EELAT bits. (See note c.)
8. Repeat steps 1 through 7 for more EEPROM byte/block erasing.
Notes:
and set EELAT in EECTL. Set value of t
(See note a.)
address in the desired block for block erase, or to any array
address for bulk erase.
a. Setting the EELAT bit configures the address and data buses
to 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 can be used
in step 2. All locations within this block will be erased. In bulk
erase mode, any EEPROM address can be used to erase the
whole EEPROM. EENVR is not affected with block or bulk
for timing values.
EEPGM
, to program the byte.
EEFPV
EEBYT
, to fall.
/t
EEBLOCK
Freescale Semicon-
MC68HC08QA24
23.6
/t
EEBULK
.

Related parts for mc68hc08qa24