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/RM57L843: Multiple assembly library errors with CCS V7

Part Number: RM57L843

Tool/software: Code Composer Studio

Hi,

I tried to use some libraries in assembly language.

Each library works well when called alone.

But if I call more than one library:

       .mlib        RM48_RTI_Mac_v39.mlib

       .mlib        RM48_VIM_Mac_v39.mlib

I have some errors like:

[E0600] Macro library is not in archive format

Is it possible to call more than one library?

How can I do that.

Thanks for your help.

Jerome

  • You are attempting to use a library that contains assembler macros.  This is a very different thing from calling functions that are in a library of object files.  Is this what you intend to do?  For now, I presume it is.

    Please search for Define Macro Library in the ARM assembly language tools manual.  Be sure you carefully follow all the instructions documented there.

    Thanks and regards,

    -George

  • Hi Georges,
    Thanks for your fast reply and excuse me for my delay.
    Thanks also for the updated documentation about macro libraries.
    I have no problem to create one library, and if I put all the macros in the same library it’s OK.
    But I would like to create many libraries for example one library for HET, another for PinMux etc…
    I think the reply is No it’s not possible to create more than one macro library in a CCS project.
    Can you confirm this point?
    Thanks for all.
    Jerome
  • You can have multiple macro libraries.  Note that CCS has no built-in support for macro libraries.  In fact, it knows nothing about macro libraries.  Only the assembler interacts with a macro library.

    Thanks and regards,

    -George

  • Hi George,
    I come back to this subject; I was working to another one.
    Yes you are right, it’s possible to create multi macro libraries but I got strange errors with multi libraries.
    I created a very simple project in order to isolate the issue.

    There is one library with all macro instructions for GIO, HET, RTI and there is no error with that unique library.
    There are 3 libraries with the same macro-instructions One for GIO, One for HET, One for RTI.
    In that case I got one error (rtiEnable_Comp in the problems panel) and (hetEnable_rg in the source panel).
    If you change the order of call the libraries the error change or disappear.

    I sent you the whole css project and the 4 files to create the libraries with the commands used.
    Thanks for your help.

    Jerome

    Test_Multi_Libraries.zipLibraries production.zip

  • I apologize for the delay.  Thank you for sending in the test case.  I can reproduce the same behavior.  I filed CODEGEN-4700 in the SDOWP system to have this investigated.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George

  • Hello George,

    Thanks very much to take in care this issue.

    I will follow it in SDOWP and will let you know of the advancement.

    Jerome