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: C2800 v15.12.X.LTS hex2000 tool silent fail if output path has space

Tool/software: Code Composer Studio

I"m not sure if this is fixed in later releases but I found an annoying bug where if you have a space in the specified output path, it looks like the conversion is complete but there is not output file.

I did quote the whole path so it should have worked fine.

There should have been at least a error if it couldn't write the file.

  • Unfortunately, I am unable to reproduce this behavior.  I need more detail.  Let's start with the build log.

    I presume you invoke hex2000 from within CCS, and not from the command line.  Please build the project up to this failure point.  Then capture the Console view (not the Problems view) in a file, and attach that to your next post.  Use the icon Copy Build Log to create the text file.  So the forum will accept it, use the file extension .txt.

    Thanks and regards,

    -George

  • I can reproduce via command line.

    C:\Workspace\temp\Software\projects\xwpro_core\Release\Bin>"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/bin/hex2000" --memwidth=16 --romwidth=16 --motorola=2 -o "C:/TestDir/test.s28" XWPro.out
    Translating to Motorola-S2 format...
    "XWPro.out" ramfuncs ==> ramfuncs
    "XWPro.out" codestart ==> codestart
    "XWPro.out" .text ==> .text
    "XWPro.out" .TI.ramfunc ==> .TI.ramfunc
    "XWPro.out" .cinit ==> .cinit
    "XWPro.out" autoinit ==> autoinit
    "XWPro.out" .switch ==> .switch
    "XWPro.out" .econst ==> .econst
    "XWPro.out" userstack ==> userstack
    "XWPro.out" .stack ==> .stack
    "XWPro.out" .esysmem ==> .esysmem
    "XWPro.out" .ebss ==> .ebss

    C:\Workspace\temp\Software\projects\xwpro_core\Release\Bin>dir C:\TestDir
    Volume in drive C is Default
    Volume Serial Number is 244F-446D

    Directory of C:\TestDir

    03/06/2017 03:22 PM <DIR> .
    03/06/2017 03:22 PM <DIR> ..
    03/06/2017 03:22 PM 222,450 test.s28
    1 File(s) 222,450 bytes
    2 Dir(s) 334,965,739,520 bytes free


    C:\Workspace\temp\Software\projects\xwpro_core\Release\Bin>"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/bin/hex2000" --memwidth=16 --romwidth=16 --motorola=2 -o "C:/Space In Name/test.s28" XWPro.out
    Translating to Motorola-S2 format...
    "XWPro.out" ramfuncs ==> ramfuncs
    "XWPro.out" codestart ==> codestart
    "XWPro.out" .text ==> .text
    "XWPro.out" .TI.ramfunc ==> .TI.ramfunc
    "XWPro.out" .cinit ==> .cinit
    "XWPro.out" autoinit ==> autoinit
    "XWPro.out" .switch ==> .switch
    "XWPro.out" .econst ==> .econst
    "XWPro.out" userstack ==> userstack
    "XWPro.out" .stack ==> .stack
    "XWPro.out" .esysmem ==> .esysmem
    "XWPro.out" .ebss ==> .ebss

    C:\Workspace\temp\Software\projects\xwpro_core\Release\Bin>dir "C:\Space In Name"
    Volume in drive C is Default
    Volume Serial Number is 244F-446D

    Directory of C:\Space In Name

    03/06/2017 03:30 PM <DIR> .
    03/06/2017 03:30 PM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 334,964,101,120 bytes free
  • Thank you for submitting a test case.  I can reproduce the problem behavior.  I filed CODEGEN-2113 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