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 v 15.12 .X.LTS hex2000工具,如果输出路径有空间,则静音失败

Guru**** 2533840 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/578395/ccs-c2800-v15-12-x-lts-hex2000-tool-silent-fail-if-output-path-has-space

工具/软件:Code Composer Studio

我不确定这是否在以后的版本中得到了修复,但我发现了一个令人烦恼的错误,即如果在指定的输出路径中有一个空格,则转换似乎已完成,但没有输出文件。

我确实引用了整个路径,因此应该可以正常工作。

如果无法写入文件,则至少应该出现错误。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    很遗憾,我无法再现此行为。  我需要更多细节。  让我们从构建日志开始。

    我假定您从CCS中调用hex2000,而不是从命令行调用。  请将项目构建到此故障点。  然后在文件中捕获控制台视图(而不是问题视图),并将其附加到下一篇文章中。  使用图标Copy Build Log (复制构建日志)创建文本文件。  因此,论坛将接受它,请使用文件扩展名.txt。

    谢谢,此致,

    -George

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我可以通过命令行复制。

    C:\Workspace\temp\Software\Projects\xwpro_core\Release\Bin>"C:/ti/Ccsv6/tools/compiler/ti-CGT-C2000_XWPro.1.LTS/bin/hex2000"--memwidth=162000--memwidth=16 --romwidth=16 --motora=2 -o "C:/testdir/test.s28" 15.12
    正在转换为Motorola-S2格式...
    "XWPro.out " ramfuns ==> ramfuncs
    "XWPro.out " codegstart ==> codegstart
    "XWPro.out ".text ==>.text
    "XWPro.out ".TI.ramfunc ==>.TI.ramfunc
    "XWPro.out ".cinit =>.cinit
    "XWPro.out " autoyinit ==> autoyinit
    "XWPro.out ".switch ==>.switch
    "XWPro.out .econst ==>.econst
    "XWPro.out用户堆栈==>用户堆栈
    "XWPro.out ".stack ==>.stack
    "XWPro.out ".esysmem ==>.esysmem
    "XWPro.out ".ebss =>.ebss

    C:\Workspace\temp\Software\Projects\xwpro_core\Release\Bin>dir C:\testdir
    驱动器C中的卷为默认值
    卷序列号为244F-446D

    C:\testdir的目录

    2017年06月03日 03:22 PM <DIR> 。
    2017年06月03日 03:22 PM <DIR> 。
    2017年06月03日 03:22 PM 22.245万 test.s28.
    1个文件 22.245万 字节
    2目录3349.6573952亿 可用字节


    C:\Workspace\temp\Software\Projects\xwpro_core\Release\Bin>"C:/ti/Ccsv6/tools/compiler/ti-CGT-C2000_XWPro.s1.LTS/bin/hex2000"<xmt-block0>2000 15.12 --memwidth=16 --romwidth=16 --motora=2 -o "C:/Space in Name/sT.s28" XWPro.out
    正在转换为Motorola-S2格式...
    "XWPro.out " ramfuns ==> ramfuncs
    "XWPro.out " codegstart ==> codegstart
    "XWPro.out ".text ==>.text
    "XWPro.out ".TI.ramfunc ==>.TI.ramfunc
    "XWPro.out ".cinit =>.cinit
    "XWPro.out " autoyinit ==> autoyinit
    "XWPro.out ".switch ==>.switch
    "XWPro.out .econst ==>.econst
    "XWPro.out用户堆栈==>用户堆栈
    "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"
    驱动器C中的卷为默认值
    卷序列号为244F-446D

    目录C:\Space in Name

    2017年06月03日 03:30 PM <DIR> 。
    2017年06月03日 03:30 PM <DIR> 。
    0个文件 0字节
    2目录3349.6410112亿 可用字节
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    感谢您提交测试案例。  我可以重现问题行为。  我在 SDOWP系统中提交了CodeGen-2113,以对此进行调查。  欢迎您使用我签名中下面的SDOWP链接进行关注。

    谢谢,此致,

    -George