Using SC3000 linker

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

Using SC3000 linker

跳至解决方案
3,219 次查看
venkatkumar
Contributor I

Hi,

 

I'm trying to use the SC3000 linker for SC3850 project in Codewarrior 10.2.12 IDE.

The project is an Assembly project with only one assembly file. The project is getting compiled successfully.

 

But I got the following warning:

 

[LNK,1,6001,-1]: Warning: Old linker is used. This will be deprecated and flexible startup support is not implemented.

Please use sc3000-ld linker and .l3k linker command files.

 

Then i made the following changes

=> Under Project-> properties -> C/C++ Build -> Settings -> Starcore Assembly Linker Application

      Command was changed to SC3000-Id

=> Under  Project-> properties -> C/C++ Build -> Settings -> Starcore Assembly Linker Application -> Linker Settings

      The linker command file "Freescale\CW SC v10.2.12\SC\StarCore_Support\CodeWarrior_Examples\HS\3850_HS\LCF\sc3850.l3k" was given.

 

After these changes, i'm not able to link the project. (Attached the error.jpg)

Error is: sc3000-ld.exe has encountered a problem and needs to close.

 

Please help me to resolve this issue.

标签 (1)
0 项奖励
回复
1 解答
2,749 次查看
CrasyCat
Specialist III

Hello

There should be something specific to your application or linker file.

Here I would recommend you to submit a service request through our on line support web page.

Click here to submit a Service Request.

Make sure to attach a project reproducing the trouble to the SR.

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,749 次查看
CrasyCat
Specialist III

Hello

You need to port your existing SC100 linker file to SC3000 linker.

The syntax for the SC300 linker file is described in {Install}\SC\Help\StarCore SC3000 Linker User Guide.pdf.

As a start I would recommend to create a project for MSC8156 using the wizard, take the generated .l3k files over to your project. Then adjust the .l3k files to match your project specifics.

 

CrasyCat

0 项奖励
回复
2,749 次查看
venkatkumar
Contributor I

Hi Catherine,

Thanks for your help and support.

I'd tried the method (MSC8156 .l3k file inclusion) suggested by you.

But still i'm getting the following error.

One more information: I'm able to build and execute the C starcore (SC3850) project successfully.

The problem is seen only with the ASM project with SC3000 linker.

Error.jpg


**** Build of configuration Debug_SC3850_ASM for project SI_ASM ****

E:\Freescale\CW SC v10.2.12\gnu\bin\mingw32-make.exe all

'Building target: SI_ASM.eld'

'Invoking: StarCore Assembly Linker'

"E:/Freescale/CW SC v10.2.12/SC/StarCore_Support/compiler/bin/sc3000-ld" @"SI_ASM.args" -o "SI_ASM.eld"  

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

mingw32-make: *** [SI_ASM.eld] Error 3

0 项奖励
回复
2,750 次查看
CrasyCat
Specialist III

Hello

There should be something specific to your application or linker file.

Here I would recommend you to submit a service request through our on line support web page.

Click here to submit a Service Request.

Make sure to attach a project reproducing the trouble to the SR.

CrasyCat

0 项奖励
回复