L1119 Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

L1119 Error

1,304 Views
Idontunderstand
Contributor I

Hi;

I wrote a code for MC9S12C128 micro-controller two years ago, now I need those code again and tried to run it, it gave me strange error. By googleing it I couldn't solve it.

Why I have this error, since this code worked fine before?

 

The error is:

Link Error: L119: Vector allocated at absolute address 0xFFFE overlaps with sections placed in segment. absSeg221

Link Error: Link failed 

 

please help me how can i fix it.

 

 

Thanks;

Sb

Labels (1)
0 Kudos
Reply
5 Replies

911 Views
bigmac
Specialist III

Hello Sb,

 

I suspect that your reset vector is specified in two places, in a vector table within your code, and also within the PRM file.  If this is the case, comment out the entry in the PRM file.

 

Regards,

Mac

 

0 Kudos
Reply

911 Views
Idontunderstand
Contributor I

Thanks for response.

where is  PRM file? could you tell me more specific?

 

Best;

 

0 Kudos
Reply

911 Views
Idontunderstand
Contributor I

I found PRM folder,there are two files with prm extension. did you talk about these files? then what do u mean by comment it?

There is only one reset vector defined...

0 Kudos
Reply

911 Views
bigmac
Specialist III

Hello,

 

The file project.prm is the one of interest.  At the end of the file, there should be a line containing something like the following entry:

VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */

Modify this as follows, so that the line is treated as a comment only.

//VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */

 


This is often preferred to removing the line altogether, so that it remains apparent where the standard file has been edited.

 

Regards,

Mac

 

0 Kudos
Reply

911 Views
Idontunderstand
Contributor I

I got you. Thanks Mac:smileyhappy:

0 Kudos
Reply