AN2156 Freescale Semiconductor / Motorola, AN2156 Datasheet - Page 16
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: 16 of 84
- Download datasheet (509Kb)
Application Note
FLASH Program Operation
16
NOTE:
On the MC68HC908AS60A/AZ60A, programming of the FLASH
memory is done on a row-by-row basis. A row consists of 64 bytes, with
address ranges as follows:
During a programming cycle, make sure that all addresses are being
written to fit within one of the ranges specified. Attempts to program
addresses in different row ranges in one programming cycle will fail. For
example, programming from addresses $xx30 to $xx6F will not be
successful because addresses $xx30–$xx3F and $xx40–$xx6F are in
different rows.
Also take care that the initial address written makes logical sense. The
programming algorithm includes a step (step 3 that follows) where the
row to be programmed is identified by writing to any address in that row
with any data. For most rows, this address can be chosen haphazardly
since the row consists of 64 bytes. However, there are a few areas
where the entire row does not consist of FLASH space. In these rows,
when programming the array, ensure that a non-FLASH location is not
used as the row specifier or written to during the sequence.
To avoid program disturbs, the row must be erased before any byte on
that row is programmed.
The programming flowchart is shown in
•
•
•
•
•
•
•
Freescale Semiconductor, Inc.
For More Information On This Product,
$xx00 to $xx3F
$xx40 to $xx7F
$xx80 to $xxBF
$xxC0 to $xxFF
First row of FLASH-2 ($0450–$047F) = 48 bytes
Vector area on the MC68HC908AS60A ($FFD2–$FFD3 and
$FFDA–$FFFF) = 40 bytes
Vector area on the MC68HC908AZ60A ($FFCC–$FFFF)
= 52 bytes
Go to: www.freescale.com
Figure
4.
MOTOROLA
AN2156
Related parts for AN2156
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola