Reply by Erich Styger November 25, 20032003-11-25
Hello John,
See the help/message description of L1119 below.
(you get this either directly in the linker or in the preference panel,
Linker for H12, Messages button, then press Help on the message (or F1).
As described below, you probably have a segment overlap with the VECTOR
statement. Look for the VECTOR line(s) in your linker prm file.

Best regards,
Erich

L1119 Vector allocated at absolute address <Address> overlaps with
sections placed in segment <Segment Name>

[ERROR]

Description

The specified vector is allocated inside of a segment, which is specified in
the PLACEMENT block. This is not allowed, because the vector may then
overlap with object defined in the sections, which are placed in the
specified segment.
A vector may be allocated inside of a segment, which do not appear in the
PLACEMENT block.

Example

^
ERROR: Vector allocated at absolute address 0xFFFE overlaps with sections
placed in segment ROM_2
LINK fibo.abs
NAMES fibo.o startup.o END

SEGMENTS
MY_RAM = READ_WRITE 0x800 TO 0x80F;
MY_ROM = READ_ONLY 0x810 TO 0xAFF;
MY_STK = READ_WRITE 0xB00 TO 0xBFF;
ROM_2 = READ_ONLY 0xFF00 TO 0xFFFF;
END
PLACEMENT
.text INTO MY_ROM;
.data INTO MY_RAM;
.stack INTO MY_STK;
.rodata INTO ROM_2;
END

/* Set reset vector on _Startup */

VECTOR ADDRESS 0xFFFE _Startup

Tips

Defined the specified segment outside of the vector table.

Example
LINK fibo.abs

NAMES fibo.o startup.o END

SEGMENTS
MY_RAM = READ_WRITE 0x800 TO 0x80F;
MY_ROM = READ_ONLY 0x810 TO 0xAFF;
MY_STK = READ_WRITE 0xB00 TO 0xBFF;
ROM_2 = READ_ONLY 0xC00 TO 0xCFF;
END
PLACEMENT
.text INTO MY_ROM;
.data INTO MY_RAM;
.stack INTO MY_STK;
.rodata INTO ROM_2;
END

/* Set reset vector on _Startup */
VECTOR ADDRESS 0xFFFE _Startup

> -----Original Message-----
> From: johnpititto1976 [mailto:]
> Sent: Dienstag, 25. November 2003 00:16
> To:
> Subject: [68HC12] L1119: Vector overlap with segment .....
> Codewarrior HC12 > Hi Guys and Gals,
>
> I am having difficulty making my "friend" codewarrior link my newly
> created code. Someone had the brilliant idea of field upgradability??
> I receive the message,
>
> "Link Error: L1119: Vector Allocated at absolute address 0xFFFE
> overlaps with sections placed in segment .absSeg3"
>
> Anyone with any ideas on how to fix this one???
>
> Kind Regards,
>
> John Pititto. > ------------------------ Yahoo! Groups Sponsor
> ---------------------~--> Buy Ink Cartridges or Refill Kits
> for your HP, Epson, Canon or Lexmark Printer at MyInks.com.
> Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cidU11
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/dN_tlB/TM
---------------------------------~->

--------------------
">http://docs.yahoo.com/info/terms/



Reply by Gilles Blanquin November 25, 20032003-11-25

Hi John.

You might have two definitions of the RESET vector.

Probably one in the .PRM file like this:

VECTOR 0 _Startup
or
VECTOR ADDRESS 0xFFFE _Startup And maybe another one in a definition by array of the vector table in a .C
file like the one here below: typedef void (*near tIsrFunc)(void);
const tIsrFunc _vect[] @0xFF80 = { /* Interrupt table */
UnimplementedISR, /* vector 63 */
UnimplementedISR, /* vector 62 */
UnimplementedISR, /* vector 61 */
UnimplementedISR, /* vector 60 */
UnimplementedISR, /* vector 59 */
UnimplementedISR, /* vector 58 */
UnimplementedISR, /* vector 57 */
UnimplementedISR, /* vector 56 */
UnimplementedISR, /* vector 55 */
UnimplementedISR, /* vector 54 */
UnimplementedISR, /* vector 53 */
UnimplementedISR, /* vector 52 */
UnimplementedISR, /* vector 51 */
UnimplementedISR, /* vector 50 */
UnimplementedISR, /* vector 49 */
UnimplementedISR, /* vector 48 */
UnimplementedISR, /* vector 47 */
UnimplementedISR, /* vector 46 */
UnimplementedISR, /* vector 45 */
UnimplementedISR, /* vector 44 */
UnimplementedISR, /* vector 43 */
UnimplementedISR, /* vector 42 */
UnimplementedISR, /* vector 41 */
UnimplementedISR, /* vector 40 */
UnimplementedISR, /* vector 39 */
UnimplementedISR, /* vector 38 */
UnimplementedISR, /* vector 37 */
UnimplementedISR, /* vector 36 */
UnimplementedISR, /* vector 35 */
UnimplementedISR, /* vector 34 */
UnimplementedISR, /* vector 33 */
UnimplementedISR, /* vector 32 */
UnimplementedISR, /* vector 31 */
UnimplementedISR, /* vector 30 */
UnimplementedISR, /* vector 29 */
UnimplementedISR, /* vector 28 */
UnimplementedISR, /* vector 27 */
UnimplementedISR, /* vector 26 */
UnimplementedISR, /* vector 25 */
UnimplementedISR, /* vector 24 */
UnimplementedISR, /* vector 23 */
UnimplementedISR, /* vector 22 */
UnimplementedISR, /* vector 21 */
SCI0_ISR, /* vector 20 */
UnimplementedISR, /* vector 19 */
UnimplementedISR, /* vector 18 */
UnimplementedISR, /* vector 17 */
UnimplementedISR, /* vector 16 */
UnimplementedISR, /* vector 15 */
UnimplementedISR, /* vector 14 */
UnimplementedISR, /* vector 13 */
UnimplementedISR, /* vector 12 */
UnimplementedISR, /* vector 11 */
UnimplementedISR, /* vector 10 */
UnimplementedISR, /* vector 09 */
UnimplementedISR, /* vector 08 */
RTI_ISR, /* vector 07 */
UnimplementedISR, /* vector 06 */
UnimplementedISR, /* vector 05 */
UnimplementedISR, /* vector 04 */
UnimplementedISR, /* vector 03 */
UnimplementedISR, /* vector 02 */
UnimplementedISR, /* vector 01 */
_Startup /* Reset vector */
}; The code at 0xFFFE is eventually defined twice and the linker asserts.

Regards,
Gilles At 12:15 AM 11/25/2003, you wrote:
>Hi Guys and Gals,
>
>I am having difficulty making my "friend" codewarrior link my newly
>created code. Someone had the brilliant idea of field upgradability??
>I receive the message,
>
>"Link Error: L1119: Vector Allocated at absolute address 0xFFFE
>overlaps with sections placed in segment .absSeg3"
>
>Anyone with any ideas on how to fix this one???
>
>Kind Regards,
>
>John Pititto. >
>-------------------- >
>">http://docs.yahoo.com/info/terms/




Reply by johnpititto1976 November 24, 20032003-11-24
Hi Guys and Gals,

I am having difficulty making my "friend" codewarrior link my newly
created code. Someone had the brilliant idea of field upgradability??
I receive the message,

"Link Error: L1119: Vector Allocated at absolute address 0xFFFE
overlaps with sections placed in segment .absSeg3"

Anyone with any ideas on how to fix this one???

Kind Regards,

John Pititto.