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 studio v5.2 generate hex file generation help

Hi

I am using CCS V5.2.

I am building my project and trying to automatically translate my .out file to an .hex file for use with my programming software

I amusing the post build step "

${CG_TOOL_ROOT}/bin/hex${CG_TOOL_SUFFIX}.exe" -i "${BuildArtifactFileName}" -o "${BuildArtifactFileBaseName}.hex" -order MS -romwidth 16

In the console,it says:

C:/ti/ccsv5/utils/bin/gmake --no-print-directory post-build
'Create flash image: Intel-HEX'
C:/ti/ccsv5/tools/compiler/c6000_7.3.8/bin/hex6x" -i "EMIF_PS19.out" -o "EMIF_PS19.hex" -order MS -romwidth 16

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

Anybody know what causes this error?

  • Hi,

    The message from the tool already pointed the cause of the error and a way to correct it:

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

    That said, I noticed the predefined step is passing a bad parameter to the C6000 hex tool (it works fine for C2000, MSP and ARM). I'll file a bug.

    Regards,

    Rafael

  • Hi,

    The bug was filed today: SDSCM00045723. Please check its status at the link SDOWP in my signature below.

    Cheers,

    Rafael