AN2302 Freescale Semiconductor / Motorola, AN2302 Datasheet - Page 11

no-image

AN2302

Manufacturer Part Number
AN2302
Description
EEPROM Emulation for the MC9S12C32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
EEPROM_START
FLASH_COPY_
START
RAM_FUNCS_
START
RAM_FUNCS_SIZE
VT_START
VT_SIZE
MOTOROLA
This value defines the start address for the region of Flash memory that will be
used to emulate EEPROM. The end of this region is given by
EEPROM_START + (EEPROM_SIZE_BYTES + 2) x EEPROM_BANKS.
These addresses must match the addresses of the FLASH_EEPROM section
in the linker prm file.
This value defines the start address for the region of Flash memory where the
RAM functions will be located, prior to being copied into RAM. The end address
is FLASH_COPY_START + RAM_FUNCS_SIZE - 1. These addresses must
match the addresses of the FLASH_COPY section in the linker prm file.
This value defines the start address for the region of RAM where the RAM
functions will be copied to. The end address is RAM_FUNCS_START +
RAM_FUNCS_SIZE - 1. These addresses must match the addresses of the
RAM_FUNCS section in the linker prm file.
This value defines the number of bytes required by the RAM functions. This
value may be obtained from the map file obtained after compiling and linking
the EE_RAMfuncs.c file. A minimum of 34 bytes is required for the case where
IRQ_DURING_PROG is not defined and EECALLBACK is not defined. In the
case where either IRQ_DURING_PROG or EECALLBACK are defined, the
value of RAM_FUNCS_SIZE will depend on the size of the user defined
functions and can be obtained from the map file obtained when compiling and
linking the file EE_RAMFuncs.c.
This value is only required if interrupts must be serviced during programming
(IRQ_DURING_PROG defined). This value defines the start address for the
region of (re-mapped) RAM that the vector table will be copied to. This value
will normally be 0xFF80.
This value is only required if interrupts must be serviced during programming
(IRQ_DURING_PROG defined). This value matches the size of the
VectorTable array and will normally be 126.
Freescale Semiconductor, Inc.
For More Information On This Product,
EEPROM Emulation for the MC9S12C32
Go to: www.freescale.com
Software Description
AN2302/D
11

Related parts for AN2302