This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AM5728: SBL entry symbol at wrong location

Part Number: AM5728

Tool/software: Code Composer Studio

Hi all,

I've tried to create SBL CCS project following this guide:

At the end of the guide there's a Link order configuration. I did the changes required, but anyway the Entry symbol is not at the expected address 0x40331000. I've tried to narrow this down and I figured out, that makefile is generating sbl_init.o file, but the linker.cmd expects sbl_init.ao. As the makefiles are generated automatically in CCS and I don't want to change the linker.cmd file, is there any other option to get Entry point at correct address?

I cannot find in project properties anything to change the extension for the .S object file.

Any hints will be very helpful.

Thanks.

System used:

  • Marian,

    At the moment creating a copy of the linker command file and modifying the extension seems to be the easiest way forward. With CCS and GCC is seems the default extension for the output seems to be -o but I have not found a GCC compiler command line argument to changes the output file extension.

    In the SBL build since the SDK uses make file it explicitly adds -o "filename.<assobjext>"  to the compiler argument where the assobjext= .ao. I will loop in CCS experts to see if the output file extension can be changes but I suspect that is not possible through the CCS IDE GUI.

    the other option is to look into editing the makefile created in the Debug folder in the project based on the compiler and linker settings to force the build to generate filename with extension .ao

    Regards,

    Rahul

  • Thanks Rahul. I'll copy linker command file into my project and modify it as needed.

    BR,

    Marian

  • Marian,

    Please close the issue if updating the linker command file resolves your issue.

    Regards,

    Rahul