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.

code composer build error

Other Parts Discussed in Thread: OMAPL138

Hi,

I tried to generate HEX file ( Intel hex) from CCS4 for my project. my project is for OMAPL138 so ARM and DSP project are there. For generating the same we used the option -create Intel hex in biuld step in build properties.

its working fine for my ARM project. but when i tried the same for my DSP project its showing a error

ERROR: bad argument to option -order: should be one of { M L }

can any one know how to solve this problem..??

Thank you.

  • Hi Tinu,

    Sorry, the given information's were not sufficient to answer your question.

    Could you please elaborate a bit on your requirement/problem.

  • Hi Tinu Varghese,

    When you select the "Create flash image: Intel-HEX" the post build step will have the following command,

    e.g., "${CG_TOOL_HEX}" -i "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.hex" -order MS -romwidth 16

    ---> Here, the option "-order MS" implies ,  big-endian ordering while "Specifying Word Order for Output Words".

    if you change the option as " -order M" or "-order L", it will build succesfully.

    For more information on this option, you can look into the CCS help contents and type "Specifying Word Order for Output Words".

     

    Try this option and let us know how it goes.

     

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hi Shankari,

    Thank you for your reply .i changed the option and the CCS generated the HEX file successfully.

    now i am working on the same , after all i will let you know the outcomes.

    Thank you.

  • Hi Tinu,

    Glad to hear that you are able to build successfully.

     

    Regards,

    Shankari