Using SC3000 linker

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

Using SC3000 linker

Jump to solution
3,222 Views
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.

Labels (1)
0 Kudos
Reply
1 Solution
2,752 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
2,752 Views
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 Kudos
Reply
2,752 Views
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 Kudos
Reply
2,753 Views
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 Kudos
Reply