AN2302 Freescale Semiconductor / Motorola, AN2302 Datasheet - Page 32

no-image

AN2302

Manufacturer Part Number
AN2302
Description
EEPROM Emulation for the MC9S12C32
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2302/D
NAMES
END
SECTIONS
END
PLACEMENT
END
ENTRIES
ProgFlash
TIMER0_ISR
END
32
TIMER_REGS
FLASH_REGS
DUMMY_RAM
RAM_FUNCS
DEFAULT_RAM
DEFAULT_ROM,RAM_FUNCTIONS
FLASH_REG
TIMER_REG
The ROM library is placed at the addresses specified in the associated prm file,
EERAMfuncsIRQ.prm, listed below:
The RAM functions defined within code segment RAM_FUNCTIONS are
placed in section RAM_FUNCS. This is located at the RAM address at which
the functions will be copied to and executed from, this section must have the
attribute READ_ONLY. The addresses allocated for the RAM functions may
need to be expanded, depending on the size of the interrupt service routines
and if EECALLBACK is defined.
The structure containing the Flash control registers is placed in the section
FLASH_REGS which is located at the default address. If the registers are
remapped after reset then this address will have to be changed. This section
must have the attribute NO_INIT.
This example uses the timer module, so the structure containing the timer
control registers is placed in the section TIMER_REGS at the default address.
The pre-defined segments DEFAULT_RAM and DEFAULT_ROM are listed to
comply with the linker, although they contain no data or code.
Finally, all the RAM function names and interrupt service routines that are
executed from RAM and are not explicitly called must be listed under the
ENTRIES command.
= NO_INIT
= NO_INIT
= READ_WRITE
= READ_ONLY
Freescale Semiconductor, Inc.
For More Information On This Product,
EEPROM Emulation for the MC9S12C32
Go to: www.freescale.com
0x0040 TO 0x006F;
0x100
0xF800 TO 0xF800;
0xFF00 TO 0xFF7F;
INTO
INTO
INTO
INTO
/* list all RAM function names here */
/* list all RAM ISR functions names here */
DUMMY_RAM;
RAM_FUNCS;
FLASH_REGS;
TIMER_REGS;
TO 0x110;
MOTOROLA

Related parts for AN2302