HI,
I am very new to codewarrior software version 3.1and newly working in microcontrollers, i am working on MC9S12DP256B
when i compile my code i am getting L1102 error out of allocation space in segment ROM_C000 at address 0XFD33. one more error L1119 vector allocated at absolute address 0XFFFE over laps with sections placed in segment .absseg0
this is my prm file
NAMES
END
SEGMENTS
RAM = READ_WRITE 0x1000 TO 0x3FFF; /* 12K */
EEPROM = NO_INIT 0x0400 TO 0x0FFF
ALIGN 2 [<= 2: 2] [>2: 4];
ROM_4000 = READ_ONLY 0x4000 TO 0x7FFF; /* 16K */
ROM_C000 = READ_ONLY 0xC000 TO 0xFEFF; /* ~16K */
SECURITY = READ_ONLY 0xFF00 TO 0xFF0F;
ROM_FF10 = READ_ONLY 0xFF10 TO 0xFF7F;
END
PLACEMENT
_PRESTART, STARTUP,
ROM_VAR, STRINGS,
NON_BANKED, DEFAULT_ROM,
COPY INTO ROM_4000, ROM_C000,ROM_FF10;
DEFAULT_RAM INTO RAM;
EEPROM_DATA INTO EEPROM;
END
STACKSIZE 0x0400 /* 1K bytes = 1/12 of RAM */
VECTOR ADDRESS 0xFFFE _Startup
i tried to increse the segment size and i changed the prm file
in data sheet of MC9S12DP256B the address 8000 to BFFF is shown for page window Flash Rom
in order to remove errors new prm file i used is
NAMES
END
SEGMENTS
RAM = READ_WRITE 0x1000 TO 0x3FFF; /* 12K */
EEPROM = NO_INIT 0x0400 TO 0x0FFF
ALIGN 2 [<= 2: 2] [>2: 4];
ROM_4000 = READ_ONLY 0x4000 TO 0x7FFF; /* 16K */
ROM_C000 = READ_ONLY 0x8000 TO 0xFEFF;
END
PLACEMENT
_PRESTART, STARTUP,
ROM_VAR, STRINGS,
NON_BANKED, DEFAULT_ROM,
COPY INTO ROM_4000, ROM_C000;
DEFAULT_RAM INTO RAM;
EEPROM_DATA INTO EEPROM;
END
STACKSIZE 0x0400 /* 1K bytes = 1/12 of RAM */
VECTOR ADDRESS 0xFFFE _Startup
now linker error L1102 cleared but link error L1119 i.e vector allocated at absolute address 0XFFFE over laps with sections placed in segment .absseg0 still persisting
Please can any one suggest me what will be the corrective action. Waiting for reply
Thanks inadvance,
Sangy
Added p/n to subject.
Message Edited by NLFSJ on 2008-01-08 12:51 PM