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.

[参考译文] TMS320F28034:Code Composer Studio 中的构建故障

Guru**** 2392445 points
Other Parts Discussed in Thread: TMS320F28034

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1199326/tms320f28034-build-failure-in-code-composer-studio

器件型号:TMS320F28034

环境设置:

操作系统:
Linux 5.15.0-60-generic
20.04.1-Ubuntu

Code Composer Studio
版本:12.1.0.00007
 
TI RTOS:  
https://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/index.html -> TI-RTOS 2.0.xx - 2.14.xx 产品发布-> 2.12.01.33 -> Concetro -> Linux

--------------------------------------------------
安装程序正在您的计算机上安装用于 C2000 2.12.01.33的 TI-RTOS、请稍候。

 安装
 0%_________________ 50%_________________ 100%
 ################################

--------------------------------------------------
安装程序已完成在计算机上安装 TI-RTOS for C2000 2.12.01.33。


chirag@chirag:~/ti$ ls
ccs1210  CCSExternalReferences  CCSTargetConfigurations  tirex-localserver-3.7.1
chirag@chirag:~/ti$ 
chirag@chirag:~/ti$ 
chirag@chirag:~/ti$ 
chirag@chirag:~/ti$ 
chirag@chirag:~/ti$ cd ccs1210/
chirag@chirag:~/ti/ccs1210$ ls
 ccs  'Code Composer Studio 12.1.0.desktop'   xdctools_3_62_01_16_core
chirag@chirag:~/ti/ccs1210$ 
chirag@chirag:~/ti/ccs1210$ 
chirag@chirag:~/ti/ccs1210$ 




编译器:  
我在编译器下面下载并解压到 Linux 中、但不确定如何安装、因为我看不到任何可执行文件可以将其安装到特定目录中
此外,我在下载的文件中看不到任何 Linux 安装程序文件。 我在下面的文档中阅读了我们需要使用  xdctools_setuplinux_n_nn.bin 进行 Linux 设置的内容

https://software-dl.ti.com/targetcontent/legacy_files/targetcontent/rtsc/xdctools_3_15/xdctools_3_15_00_33/exports/docs/rtscpedia/XDCtools_Installation_Guide/XDCtools_Installation_Guide.html

版本:
用于 Linux 的3.31.00.24内核

http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_31_00_24/index_FDS.html

chirag@chirag:~/Downloads/xdctools_3_31_00_24_core_linux/xdctools_3_31_00_24_core$ ls
bin  config.jar  docs  eclipse  etc  gmake  include  jre  package  packages  package.xdc  tconfini.tcf  xdc  xdctools_3_31_00_24_manifest.html  xdctools_3_31_00_24_release_notes.html  xs  xs.x86U
chirag@chirag:~/Downloads/xdctools_3_31_00_24_core_linux/xdctools_3_31_00_24_core$ 



MCU:
TMS320F28034



问题:

我最近开始使用基于 TI 的 MCU。 我安装了上面提到的 CCS、RTOS。
将工程导入 CCS 后、会出现构建故障:

CDT 构建控制台:
发生构建文件生成错误..
当前未安装产品 com.ti.rtsc.TIRTOSc2000 v2.12.1.33、并且没有可用的兼容版本。 请安装此产品或兼容版本。
构建停止..

问题窗口结果:
错误:
描述                                                                                                                                        类型

gmake:***没有使目标'build-948570783'成为'configPkg/compiler.op'所需的规则。           C/C++问题
gmake:***没有使目标'build-948570783'成为'configPkg/linker.cmd'所需的规则。             C/C++问题
gmake:目标"全部"不会由于错误而重新生成。    C28x_POWER_BLOCK_COOLING_CONTROLLER         C/C++问题

当前未安装产品 com.ti.rtsc.TIRTOSc2000 v2.12.1.33、并且没有可用的兼容版本。 请安装此产品或兼容版本。   
   
xdc.tools.configuro:错误:找不到平台包'ti.platforms.tms320x28'。  TI 平台不再作为 XDCtools 的一部分提供(/home/chirag/ti/ccs1210/xdctools_3_62_01_16_core)。  请确保您使用的是3.30之前版本的 XDCtools、或者您已添加了一个包含您的平台支持的产品、路径为"/home/chirag/ti/ccs1210/ccs/ccs_base;/home/chirag/ti/ccs1210/xdctools_3_62_01_16_core/packages "。  检查此路径是否为包含必要平台支持的目录命名,以及平台名称是否拼写正确。

警告:
说明   
此工程是使用当前未安装的编译器版本创建的- 6.4.12 [c2000]。 编译器的另一个版本将在编译期间使用- 22.6.0.LTS。 请参阅"帮助">"安装新软件"并选择"代码生成工具更新"以检查此编译器是否可通过 CCS 更新获得。 访问 CCS App Center 以获取最新的编译器支持。 或 "="">">software-dl.ti.com/.../a> 并安装编译器,然后通过'Preferences > CCS > Build > Compilers'向 CCS 注册。