L1119 Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

L1119 Error

1,402 次查看
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 回复数

1,009 次查看
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 项奖励
回复

1,009 次查看
Idontunderstand
Contributor I

Thanks for response.

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

 

Best;

 

0 项奖励
回复

1,009 次查看
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 项奖励
回复

1,009 次查看
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 项奖励
回复

1,009 次查看
Idontunderstand
Contributor I

I got you. Thanks Mac:smileyhappy:

0 项奖励
回复