AN2183 Freescale Semiconductor / Motorola, AN2183 Datasheet - Page 6

no-image

AN2183

Manufacturer Part Number
AN2183
Description
Using FLASH as EEPROM on the MC68HC908GP32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Application Note
flashee.equ Subroutines
Microcontroller
FLASH Memory
Parameters
FlashEE Data
Parameters
6
The FlashEE subroutines are tailored to the needs and operation
conditions of a specific application by modifying the parameters provided
in this file, which must be included near the top of the application
program file. To help avoid assembly language label naming conflicts, all
labels used in this file start with either "EE" or "Ram".
The parameters defined are grouped into three specific categories:
The specific sizes of the FLASH memory program row and erase page
are defined here (64 bytes and 128 bytes, respectively, for the
MC68HC908GP32). Also, the erased state of a FLASH byte is also
declared as $FF.
These parameters are initially defined as:
EE_FlashPage:
EE_FlashRow:
EE_FlashErased:
The starting address of each FlashEE section is declared here. These
parameters are not directly used by the FlashEE subroutines. They are
passed forward by the application program when these subroutines are
called. For demonstration purposes, two separate FlashEE sections are
shown, although many more are possible.
The size of each FlashEE data block is also defined. Note that each
FlashEE section can have its own unique data block size.
Freescale Semiconductor, Inc.
For More Information On This Product,
Microcontroller FLASH memory parameters
FlashEE data parameters
Microcontroller bus frequency parameters
Go to: www.freescale.com
equ
equ
equ
128
64
$FF
MOTOROLA
AN2183

Related parts for AN2183