AN1827 Freescale Semiconductor / Motorola, AN1827 Datasheet - Page 14
AN1827
Manufacturer Part Number
AN1827
Description
Programming and Erasing FLASH Memory on the MC68HC908AS60
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN1827.pdf
(60 pages)
- Current page: 14 of 60
- Download datasheet (400Kb)
Application Note
14
Although the overall procedure is relatively simple, step 3 could use
some clarification. Since the specified address is any address within the
block to erase, the microcontroller must somehow know exactly which
memory range to erase. This is where the "cared address" becomes
important.
In step 2, the size of the block to erase is set by writing to the BLK bits
in the FLCR.
in one erase operation.
When an address is specified in step 3, certain address lines are latched
pertaining to this block size, and they establish the start and end
addresses of the block. The larger the erase block, the smaller the size
of the cared address.
For example, if the BLK bits are set such that the erase block size is a
single row (BLK0 = BLK1 = 1), and the address $9AF0 is specified in
step 3, then bits 15–6 of $9AF0 are the "cared addresses." Therefore,
the values of these address bits are fixed.
Bit No.
BLK1
Binary
Freescale Semiconductor, Inc.
Hex
0
0
1
1
For More Information On This Product,
15
BLK0
1
Go to: www.freescale.com
Table 2
0
1
0
1
Figure 4. Cared Address Example $9AF0
14
0
9
13
shows the various block sizes which can be erased
0
Table 2. Erase Block Sizes
Cared Addresses
One-half array: 16 Kbytes
Eight rows: 512 bytes
Full array: 32 Kbytes
Single row: 64 bytes
12
1
Block Size
11
1
10
0
A
9
1
8
0
7
1
6
1
F
Cared Addresses
5
1
A15–A14
4
1
A15–A9
A15–A6
A15
3
0
MOTOROLA
2
0
0
AN1827
1
0
0
0
Related parts for AN1827
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