L1119 Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

L1119 Error

1,298件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

905件の閲覧回数
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 件の賞賛
返信

905件の閲覧回数
Idontunderstand
Contributor I

Thanks for response.

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

 

Best;

 

0 件の賞賛
返信

905件の閲覧回数
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 件の賞賛
返信

905件の閲覧回数
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 件の賞賛
返信

905件の閲覧回数
Idontunderstand
Contributor I

I got you. Thanks Mac:smileyhappy:

0 件の賞賛
返信