Hi All, I developing some field upgradable software using codewarrior v1.2. I have defined the vectors in the prm file as; INIT BootStart //First routine that is called VECTOR 2 _Startup VECTOR 7 RTI_Service VECTOR 6 IRQ_Service VECTOR 20 SCI0_Service VECTOR 21 SCI1_Service VECTOR 25 Stepper_Service upon linking i get the following error; "L1119: Vector allocated at absolute address 0xfffa overlaps with sections placed in segment .absSeg16" Any help on this one would be appreciated. Kind Regards, John Pititto. |
|
Codewarrior - Link Error L1119: Vector allocated at absolute adress...
Started by ●December 9, 2003
Reply by ●December 9, 20032003-12-09
Hello John, It looks like that in your sources you have allocated a second vector table, which overlaps the one you define in the .prm file (at address 0xfffa this is vector 2 below). I suggest you comment it our for now // VECTOR 2 _Startup And check the map file generated where at address 0xfffa (or starting from 0xffff) you have allocated vectors too. Best regards, Erich > -----Original Message----- > From: johnpititto1976 [mailto:] > Sent: Dienstag, 9. Dezember 2003 05:30 > To: > Subject: [68HC12] Codewarrior - Link Error L1119: Vector > allocated at absolute adress... > Hi All, > > I developing some field upgradable software using codewarrior v1.2. I > have defined the vectors in the prm file as; > > INIT BootStart //First routine that is called > VECTOR 2 _Startup > VECTOR 7 RTI_Service > VECTOR 6 IRQ_Service > VECTOR 20 SCI0_Service > VECTOR 21 SCI1_Service > VECTOR 25 Stepper_Service > > upon linking i get the following error; > > "L1119: Vector allocated at absolute address 0xfffa overlaps with > sections placed in segment .absSeg16" > > Any help on this one would be appreciated. > > 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 ●December 10, 20032003-12-10
Hi Erich, I have only one vector table defined. I can confirm this because when i remove the vector table from the .prm file i get the following list of vectors in my .map file, VECTOR-ALLOCATION SECTION Address InitValue InitFunction ---------------------------------- ********************************************************************** Yeep that is correct zero vectors. When i uncomment out the lines in my prm, INIT BootStart //First routine that is called //VECTOR 0 _Startup VECTOR 2 _Startup VECTOR 7 RTI_Service VECTOR 6 IRQ_Service VECTOR 20 SCI0_Service VECTOR 21 SCI1_Service VECTOR 25 Stepper_Service i get the same linker error. I have found out where the problem is with .absSeg16 SECTION-ALLOCATION SECTION Section Name Size Type From To Segment bootdp256com1dec.asm__ORG00004 116 R 0xFF8C 0xFFFF .absSeg16 Ok so my newly added assmebler file is being placed at absSeg16. I am not sure how to change this so that the space in memory is kept clear for my vectors. How would i force the assembly code not to overwrite this space in memory? Any ideas, Kind Regards, John Pititto. --- In , "Erich Styger" <estyger@m...> wrote: > Hello John, > It looks like that in your sources you have allocated a second vector table, > which overlaps the one you define in the .prm file (at address 0xfffa this > is vector 2 below). > I suggest you comment it our for now > // VECTOR 2 _Startup > And check the map file generated where at address 0xfffa (or starting from > 0xffff) you have allocated vectors too. > > Best regards, > Erich > > > -----Original Message----- > > From: johnpititto1976 [mailto:johnpititto1976@y...] > > Sent: Dienstag, 9. Dezember 2003 05:30 > > To: > > Subject: [68HC12] Codewarrior - Link Error L1119: Vector > > allocated at absolute adress... > > > > > > Hi All, > > > > I developing some field upgradable software using codewarrior v1.2. I > > have defined the vectors in the prm file as; > > > > INIT BootStart //First routine that is called > > VECTOR 2 _Startup > > VECTOR 7 RTI_Service > > VECTOR 6 IRQ_Service > > VECTOR 20 SCI0_Service > > VECTOR 21 SCI1_Service > > VECTOR 25 Stepper_Service > > > > upon linking i get the following error; > > > > "L1119: Vector allocated at absolute address 0xfffa overlaps with > > sections placed in segment .absSeg16" > > > > Any help on this one would be appreciated. > > > > 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 ●December 10, 20032003-12-10
Hello Jon, The section > VECTOR-ALLOCATION SECTION In the .map file lists the vectors you assigned with the VECTOR statement in the .prm file. It looks like that in your new assembly file you have an ORG (or absolute section) placed at address 0xFF8C? Look for ORG statement or anything you have placed at address 0xFF8C. If you want, you can send me your .asm file off-lists and I can quickly scan through it. Best regards, Erich > -----Original Message----- > From: johnpititto1976 [mailto:] > Sent: Mittwoch, 10. Dezember 2003 06:38 > To: > Subject: [68HC12] Re: Codewarrior - Link Error L1119: Vector > allocated at absolute adress... > Hi Erich, > > I have only one vector table defined. I can confirm this because when > i remove the vector table from the .prm file i get the following list > of vectors in my .map file, > > VECTOR-ALLOCATION SECTION > Address InitValue InitFunction > ---------------------------------- > > ********************************************************************** > > Yeep that is correct zero vectors. > > When i uncomment out the lines in my prm, > > INIT BootStart //First routine that is called > //VECTOR 0 _Startup > VECTOR 2 _Startup > VECTOR 7 RTI_Service > VECTOR 6 IRQ_Service > VECTOR 20 SCI0_Service > VECTOR 21 SCI1_Service > VECTOR 25 Stepper_Service > > i get the same linker error. I have found out where the problem is > with .absSeg16 > > SECTION-ALLOCATION SECTION > Section Name Size Type From To Segment > bootdp256com1dec.asm__ORG00004 116 R 0xFF8C 0xFFFF .absSeg16 > > Ok so my newly added assmebler file is being placed at absSeg16. I am > not sure how to change this so that the space in memory is kept clear > for my vectors. How would i force the assembly code not to overwrite > this space in memory? > > Any ideas, > > Kind Regards, > > John Pititto. > > --- In , "Erich Styger" <estyger@m...> wrote: > > Hello John, > > It looks like that in your sources you have allocated a second > vector table, > > which overlaps the one you define in the .prm file (at address > 0xfffa this > > is vector 2 below). > > I suggest you comment it our for now > > // VECTOR 2 _Startup > > And check the map file generated where at address 0xfffa (or > starting from > > 0xffff) you have allocated vectors too. > > > > Best regards, > > Erich > > > > > -----Original Message----- > > > From: johnpititto1976 [mailto:johnpititto1976@y...] > > > Sent: Dienstag, 9. Dezember 2003 05:30 > > > To: > > > Subject: [68HC12] Codewarrior - Link Error L1119: Vector > > > allocated at absolute adress... > > > > > > > > > Hi All, > > > > > > I developing some field upgradable software using codewarrior > v1.2. I > > > have defined the vectors in the prm file as; > > > > > > INIT BootStart //First routine that is called > > > VECTOR 2 _Startup > > > VECTOR 7 RTI_Service > > > VECTOR 6 IRQ_Service > > > VECTOR 20 SCI0_Service > > > VECTOR 21 SCI1_Service > > > VECTOR 25 Stepper_Service > > > > > > upon linking i get the following error; > > > > > > "L1119: Vector allocated at absolute address 0xfffa overlaps with > > > sections placed in segment .absSeg16" > > > > > > Any help on this one would be appreciated. > > > > > > 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/ > ------------------------ 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/ > |