AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 31
![no-image](/images/no-image-200.jpg)
AN2156
Manufacturer Part Number
AN2156
Description
Programming and Erasing FLASH and EEPROM Memories on the MC68HC908AS60A/AZ60A
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2156.pdf
(84 pages)
- Current page: 31 of 84
- Download datasheet (509Kb)
AUTO Mode EEPROM Erase Operation
AN2156
MOTOROLA
The EEPROM can be erased on a byte, block (128 bytes), or bulk array
(512 bytes) basis. If the block protection register shows the desired
erase region to be protected, erasing will fail. Therefore, first ensure that
the block protection feature is disabled for the relevant addresses.
On this EEPROM memory, another erase operation mode is provided. It
is called AUTO mode. When AUTO mode is selected, the erase cycle is
terminated by the internal timer, which polls the EEPGM bit in the
EExCR register. Therefore, fixed delay times are not required in the
AUTO mode.
The flowchart for the AUTO mode EEPROM erase operation is included
as
2. Write any data to an EEPROM location. For byte erase, this
3. Set the EEPGM bit.
4. Wait for a time, t
5. Clear the EEPGM bit.
6. Wait for a time, t
7. Clear the EELAT bit.
8. Repeat steps 1 to 7 for more EEPROM byte/block/bulk erasing.
1. Clear/set EERAS1 and EERAS0 to select byte/block/bulk erase,
2. Write any data to an EEPROM location. For byte erase, this
3. Set the EEPGM bit.
4. Poll the EEPGM bit until it is cleared by the internal timer.
5. Clear the EELAT bit.
6. Repeat steps 1 to 5 for more EEPROM byte/block/bulk erasing.
Freescale Semiconductor, Inc.
Figure
For More Information On This Product,
should be the address to erase. For block or bulk erase, this is any
address within the block or array to erase.
byte/block/whole array.
and set EELAT and AUTO in the EExCR.
should be the address to erase. For block or bulk erase, this is any
address within the block or array to erase.
13.
Go to: www.freescale.com
EEBYTE
EEFPV
, for the erasing voltage to fall.
/t
EEBLOCK
AUTO Mode EEPROM Erase Operation
/t
EEBULK
, to erase a
Application Note
31
Related parts for AN2156
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AN177](/images/no-image3.png)
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
![AN1268](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
![AN1315](/images/no-image3.png)
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
![AN1998](/images/no-image3.png)
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
![AN2124](/images/no-image3.png)
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
![AN2428](/images/no-image3.png)
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
![AN2708](/images/no-image3.png)
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
![AN2783](/images/no-image3.png)
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
![MC33394DH](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
![MC33394DWB](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
![MSC7110](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
![MSC7116](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7119](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC7118](/images/no-image3.png)
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
![MSC8101](/images/no-image3.png)
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola