Codewarrior V2.1 linker error for OSEK OS generated file relocation

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

Codewarrior V2.1 linker error for OSEK OS generated file relocation

1,420件の閲覧回数
vdk
Contributor I
Hello,
 
I am using CW V2.1 and OSEKturbo OS for our application. When I compiled the OS source code and my application code. I am getting error as " Relocation (10) of symbol 'xxxx' in 'xxxx.o' is out of range. (1073731352 not in range [ -33554432...33554428] ".
 
Is is something to do with the .lcf file??
I am using the IDE generated linker file for MPC5534.
please suggest what should be done.
 
Venki
ラベル(1)
タグ(1)
0 件の賞賛
1 返信

277件の閲覧回数
stanish
NXP Employee
NXP Employee
Indeed it seems to be an issue related to .lcf file.
OSEKturbo source uses specific linker sections for OS code and OS data. I assume these sections are missing in your .lcf.
I'd suggest you to try to adapt existing .lcf from OSEKturbo sample application that is usually available here:

"c:\Program Files\Freescale\CodeWarrior for MPC55xx
V2.1\(CodeWarrior_Examples)\OSEKturbo\ostmpc55xx\standard\mpc5554\lcf\sample.lcf"

Stanish


Message Edited by stanish on 2008-04-10 01:29 PM

Message Edited by stanish on 2008-04-10 01:29 PM
0 件の賞賛