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.

[参考译文] "[:参数太多"Linux 下 CCS 10.3.0中的 loadti.sh 错误

Guru**** 2042920 points
Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/996419/too-many-arguments-error-from-loadti-sh-in-ccs-10-3-0-under-linux

主题中讨论的其他器件:TMS570LC4357HALCOGEN

在 Ubuntu 18.04.5 LTS 下使用 CSS 10.3.0.00007时、运行 loadti.sh 时会 报告"[:参数过多"错误:

$~/ti/ccs1030/ccs/ccs_base/scripting/examples/loadti/loadti.sh -c ~/E2E_example_projects/TMS570LC4357_GCC_halcogen/targetConfigs/TMS570LC43xx.ccxml ~/E2E_example_projects/TMS570LC4357_GCC_halcogen/Debug/TMS570LC4357_GCC_halcogen.out
/home/mr_halfword/ti/ccs1030/ccs/ccs_base/scripting/examples/loadti/../../bin/dss.sh:第52行:[:参数太多

***** DSS 通用加载程序*****

开始时间:10:12:47 GMT+0100 (BST)

正在为指定目标配置调试服务器...
完成
目标:德州仪器 XDS110 USB 调试探针
正在连接到目标...
CortexR5:GEL 输出:闪存@地址0x0的存储器映射设置
testEnv.outFiles:/home/mr_halfword/E2E_example_projects/TMS570LC4357_GCC_halcogen/Debug/TMS570LC4357_GCC_halcogen.out
正在加载/home/mr_halfword/E2E_example_projects/TMS570LC4357_GCC_halcogen/Debug/TMS570LC4357_GCC_halcogen.out
CortexR5:GEL 输出:由于系统复位、闪存@地址0x0的存储器映射设置

CortexR5:GEL 输出:由于系统复位、闪存@地址0x0的存储器映射设置

完成
目标正在运行...
中断以中止。 。 。

即使报告了“[:参数太多”错误,目标也会被设置为运行。

相同的 loadti.sh 命令、但使用 CCS 10.2.0、不会报告错误。