WhyCan Forum(哇酷开发者社区)

我们能随心所欲"有问题百度(谷歌)一下", 这得感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn

您尚未登录。

#1 2020-01-26 15:01:58

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

TI C2000系列CCSV8基础环境配置

武汉回来的大学生,最近被隔离在家,做一下DSP的毕设。毕设内容为,在TMS320F28379D开发环境上实现一个USB的实时通信协议,最终实现与windows系统的信息交互。
      今天配置一下TI的开发环境。TI的官方windows系统支持的集成开发环境为Code Composer Studio (CCS) ,现在更新到CCSV9版本,出于兼容性考虑毕设老师要求环境为CCSV8。
      首先去TI官网下载。http://www.ti.com.cn/tool/cn/CCSTUDIO/,必要时可能要注册账号。
      然后不在此页面下载!(此页面默认是CCSV6)。先选定平台,点击“平台功能”的第二个选项“C2000 实时 MCU”。
      进入后在“Release Information”标题下选择“Download older releases”。进入下拉即可找到CCSV8平台的安装包。
      我使用win10 1909版本,下载Release8.3.1的Off-line Installers:Windows。

安装配置除了要选择平台C2000(C2000是针对我的TMS320F28379D来说的)外都是默认。

下一步就是下载官方配置文件,TI官方给CCS提供了官方函数库,需要独自下载。旧版本函数库为软件controlSUITE,此函数库与CCS Release8.3.1版本不适用,编译出BUG。新版本函数库支持软件为C2000WARE,此函数库有坑。

首先C2000WARE下载页面http://www.ti.com.cn/tool/cn/C2000WARE/
点击获得软件。进入后下拉找到软件版本。
C2000VersionHistory
坑在这里,不论选择哪个软件版本,该版本的C2000Ware Quick Start Guide里都对使用平台要求为(CCS)v9.2.0。
startguide
require
但是我觉得controlSUITE不支持CCSV8,C2000WARE没道理不支持CCSV8。应该是官网不论哪个版本C2000Ware Quick Start Guide用的都是最新版本的。所以下了1.00.05.00(27 Jun 2018)版本,(后来试了1.00.06.00版本,但是它的USB CDC支持库仅支持CCSV9)。
选择windows平台,(需要注册账号)用途为Civil,接受许可协议。
usefor
然后虽然Submit是灰色的,但是点了就可以进入下载。
下载安装到CCS同目录,在下图文件夹中找到此版本c2000Ware_quickstart_guide.pdf,其支持版本CCSV8
oldguide
oldrequire

至此无任务调度器需求的开发环境配置完毕。后续还有XDCtools和SYS/BIOS(TI-RTOS 的核心)配置。


下图为老师给的开发板,C2000 LaunchPad XL,板载XDS100V2调试器。
IMG_20200126_163826

最近编辑记录 jcfcaonima (2020-01-26 16:57:30)

离线

#2 2020-01-26 22:39:58

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

接下来,从C2000WARE中导出示例工程到CCSV8中
启动CCSV8,选择file,Import。
chooseImport

next

chooseccs

next

选择搜索路径,如果是压缩包文件的话选择压缩包文件。
choosedir

我的路径为D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples
选择好路径,确认后,软件自动搜索路径下工程文件。
然后选择需要的例程,点击finsih自动导入
chooseexa

左键选中工程,右键单击选择Properties
chooseepro

选择CCS General 设置如下
chooseccsgen

点击apply and close 退出。

然后选中工程,build。

chooseebupro

编译结果。

**** Build of configuration CPU1_Flash for project Example_28379D_LaunchPad ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k all 
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/Example_F28379D_LaunchPadDemo.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="Example_F28379D_LaunchPadDemo.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/Example_F28379D_LaunchPadDemo.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/Example_F28379D_LaunchPadDemo.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Adc.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Adc.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Adc.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_CpuTimers.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Sci.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Sci.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Sci.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Sci.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c", line 828 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/sci_io.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="sci_io.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/sci_io.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/sci_io.c"
 
Building target: "Example_28379D_LaunchPad.out"
Invoking: C2000 Linker
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number -z -m"Example_28379D_LaunchPad.map" --heap_size=0x400 --stack_size=0x100 --warn_sections -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/lib" -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="Example_28379D_LaunchPad_linkInfo.xml" --entry_point=code_start --rom_model -o "Example_28379D_LaunchPad.out" "./Example_F28379D_LaunchPadDemo.obj" "./F2837xD_Adc.obj" "./F2837xD_CodeStartBranch.obj" "./F2837xD_CpuTimers.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_Sci.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./sci_io.obj"  -lrts2800_fpu32.lib -l2837xD_FLASH_lnk_cpu1.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd -llibc.a 
<Linking>
Finished building target: "Example_28379D_LaunchPad.out"
 

**** Build Finished ****

如果有找不到make命令的错误,原因应该是函数库版本,CCS版本,以及编译器版本没有选择正确。

然后查看工程代码,启动后两个LED灯珠应该这样闪烁,串口115200波特率8-N-1还会收到一些信息(板载调试器芯片自带USB转串口)。

//###########################################################################
//
// FILE:	Example_F28379D_LaunchPadDemo.c
//
// TITLE:	F28379D LaunchPad Out of Box Demo
//
// DESCRIPTION:
//! \addtogroup cpu01_example_list
//! <h1>Out of Box Demo (LaunchPadDemo)</h1>
//!
//!  This program is the demo program that comes pre-loaded on the F28379D
//!  LaunchPad development kit.  The program starts by flashing the two user
//!  LEDs. After a few seconds the LEDs stop flashing and the device starts 
//!  sampling ADCIN14 once a second.  If the sample is greater than midscale
//!  the red LED on the board is lit, while if it is lower a blue LED is lit.  
//!  Sample data is also display in a serial terminal via the boards back 
//!  channel UART.  You may view this data by configuring a serial terminal 
//!  to the correct COM port at 115200 Baud 8-N-1.
//!
//
//###########################################################################

奈何本人连接板子的数据线被隔壁宅男借走了。明天要回来继续调试。

离线

#3 2020-01-26 22:41:29

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

接下来,从C2000WARE中导出示例工程到CCSV8中
启动CCSV8,选择file,Import。
chooseImport

next

chooseccs

next

选择搜索路径,如果是压缩包文件的话选择压缩包文件。
choosedir

我的路径为D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples
选择好路径,确认后,软件自动搜索路径下工程文件。
然后选择需要的例程,点击finsih自动导入
chooseexa

左键选中工程,右键单击选择Properties
chooseepro

选择CCS General 设置如下
chooseccsgen

点击apply and close 退出。

然后选中工程,build。

chooseebupro

编译结果。

**** Build of configuration CPU1_Flash for project Example_28379D_LaunchPad ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k all 
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/Example_F28379D_LaunchPadDemo.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="Example_F28379D_LaunchPadDemo.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/Example_F28379D_LaunchPadDemo.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/Example_F28379D_LaunchPadDemo.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Adc.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Adc.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Adc.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_CpuTimers.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Sci.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_Sci.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Sci.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Sci.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c", line 828 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/sci_io.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="sci_io.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/sci_io.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/launchxl_f28379d/cpu01/sci_io.c"
 
Building target: "Example_28379D_LaunchPad.out"
Invoking: C2000 Linker
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all --define=CPU1 --define=_LAUNCHXL_F28379D --define=_FLASH -g --diag_suppress=1311 --diag_suppress=552 --diag_suppress=10063 --diag_warning=225 --display_error_number -z -m"Example_28379D_LaunchPad.map" --heap_size=0x400 --stack_size=0x100 --warn_sections -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/lib" -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="Example_28379D_LaunchPad_linkInfo.xml" --entry_point=code_start --rom_model -o "Example_28379D_LaunchPad.out" "./Example_F28379D_LaunchPadDemo.obj" "./F2837xD_Adc.obj" "./F2837xD_CodeStartBranch.obj" "./F2837xD_CpuTimers.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_Sci.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./sci_io.obj"  -lrts2800_fpu32.lib -l2837xD_FLASH_lnk_cpu1.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd -llibc.a 
<Linking>
Finished building target: "Example_28379D_LaunchPad.out"
 

**** Build Finished ****

如果有找不到make命令的错误,原因应该是函数库版本,CCS版本,以及编译器版本没有选择正确。

然后查看工程代码,启动后两个LED灯珠应该这样闪烁,串口115200波特率8-N-1还会收到一些信息(板载调试器芯片自带USB转串口)。

//###########################################################################
//
// FILE:	Example_F28379D_LaunchPadDemo.c
//
// TITLE:	F28379D LaunchPad Out of Box Demo
//
// DESCRIPTION:
//! \addtogroup cpu01_example_list
//! <h1>Out of Box Demo (LaunchPadDemo)</h1>
//!
//!  This program is the demo program that comes pre-loaded on the F28379D
//!  LaunchPad development kit.  The program starts by flashing the two user
//!  LEDs. After a few seconds the LEDs stop flashing and the device starts 
//!  sampling ADCIN14 once a second.  If the sample is greater than midscale
//!  the red LED on the board is lit, while if it is lower a blue LED is lit.  
//!  Sample data is also display in a serial terminal via the boards back 
//!  channel UART.  You may view this data by configuring a serial terminal 
//!  to the correct COM port at 115200 Baud 8-N-1.
//!
//
//###########################################################################

奈何本人连接板子的数据线被隔壁宅男借走了。明天要回来继续调试。

离线

#4 2020-01-27 14:51:42

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

线还回来了,来烧录试一下。

debug

debugch
等待刷写完毕
debuglo
界面全览
deall
打开CCS自带的串口助手
opente

配置串口助手参数
openate
setcom

点击执行
start

输出结果
output
没看懂这个是啥画。。。

原来是TI的LOGO
ti

最近编辑记录 jcfcaonima (2020-01-27 15:30:01)

离线

#5 2020-01-27 15:48:57

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

下一步试试TI USB虚拟串口的例程。

chusbser

build一下,输出结果

**** Clean-only build of configuration CPU1_RAM for project usb_dev_keyboard_cpu01 ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k clean 
 
DEL /F  "usb_dev_keyboard_cpu01.hex"  "usb_dev_keyboard_cpu01.out" 
DEL /F "F2837xD_CodeStartBranch.obj" "F2837xD_CpuTimers.obj" "F2837xD_DefaultISR.obj" "F2837xD_GlobalVariableDefs.obj" "F2837xD_Gpio.obj" "F2837xD_PieCtrl.obj" "F2837xD_PieVect.obj" "F2837xD_SysCtrl.obj" "F2837xD_usDelay.obj" "interrupt.obj" "sysctl.obj" "systick.obj" "uart.obj" "uartstdio.obj" "usb.obj" "usb_dev_keyboard.obj" "usb_hal.obj" "usb_keyb_structs.obj" 
DEL /F "F2837xD_CpuTimers.d" "F2837xD_DefaultISR.d" "F2837xD_GlobalVariableDefs.d" "F2837xD_Gpio.d" "F2837xD_PieCtrl.d" "F2837xD_PieVect.d" "F2837xD_SysCtrl.d" "interrupt.d" "sysctl.d" "systick.d" "uart.d" "uartstdio.d" "usb.d" "usb_dev_keyboard.d" "usb_hal.d" "usb_keyb_structs.d" 
DEL /F "F2837xD_CodeStartBranch.d" "F2837xD_usDelay.d" 
找不到 D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\usb_dev_keyboard\cpu01\ccs\CPU1_RAM\usb_dev_keyboard_cpu01.hex
找不到 D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\usb_dev_keyboard\cpu01\ccs\CPU1_RAM\F2837xD_CodeStartBranch.obj
找不到 D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\usb_dev_keyboard\cpu01\ccs\CPU1_RAM\F2837xD_CpuTimers.d
找不到 D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\usb_dev_keyboard\cpu01\ccs\CPU1_RAM\F2837xD_CodeStartBranch.d
Finished clean
 

**** Build Finished ****

**** Build of configuration CPU1_RAM for project usb_dev_keyboard_cpu01 ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k all 
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_CpuTimers.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c", line 828 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/interrupt.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="interrupt.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/interrupt.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/interrupt.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/sysctl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="sysctl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/sysctl.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/sysctl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/systick.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="systick.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/systick.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/systick.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/uart.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uart.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/uart.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/uart.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/uartstdio.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uartstdio.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/uartstdio.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/uartstdio.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_keyboard/cpu01/usb_dev_keyboard.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb_dev_keyboard.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_keyboard/cpu01/usb_dev_keyboard.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_keyboard/cpu01/usb_dev_keyboard.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb_hal.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c", line 115 (col. 5): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_keyboard/cpu01/usb_keyb_structs.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb_keyb_structs.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_keyboard/cpu01/usb_keyb_structs.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_keyboard/cpu01/usb_keyb_structs.c"
 
Building target: "usb_dev_keyboard_cpu01.out"
Invoking: C2000 Linker
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on -z -m"usb_dev_keyboard_cpu01.map" --stack_size=0x100 --warn_sections -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/lib" -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="usb_dev_keyboard_cpu01_linkInfo.xml" --entry_point=code_start --rom_model -o "usb_dev_keyboard_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_CpuTimers.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./interrupt.obj" "./sysctl.obj" "./systick.obj" "./uart.obj" "./uartstdio.obj" "./usb.obj" "./usb_dev_keyboard.obj" "./usb_hal.obj" "./usb_keyb_structs.obj" "../2837x_FLASH_lnk_cpu1.cmd" "D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd/lib/usblib.lib"  -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu1_USB.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd -llibc.a 
<Linking>
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 7: error #10263: 
   BEGIN memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 8: error #10263: 
   RAMM0 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 8: error #10264: 
   RAMM0 memory range overlaps existing memory range RAMM0
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 9: error #10263: 
   RAMD0 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 9: error #10264: 
   RAMD0 memory range overlaps existing memory range RAMD0
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 10: error #10263: 
   RESET memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 10: error #10264: 
   RESET memory range overlaps existing memory range RESET
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 22: error #10263: 
   BOOT_RSVD memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 22: error #10264: 
   BOOT_RSVD memory range overlaps existing memory range BOOT_RSVD
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 23: error #10263: 
   RAMM1 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 23: error #10264: 
   RAMM1 memory range overlaps existing memory range RAMM1
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 24: error #10263: 
   RAMD1 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 24: error #10264: 
   RAMD1 memory range overlaps existing memory range RAMD1
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 29: error #10264: 
   RAMLS3_RAMLS4_RAMLS5 memory range overlaps existing memory range RAMLS5
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 34: error #10263: 
   RAMGS7 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 34: error #10264: 
   RAMGS7 memory range overlaps existing memory range RAMGS7
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 35: error #10263: 
   RAMGS8 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 35: error #10264: 
   RAMGS8 memory range overlaps existing memory range RAMGS8
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 36: error #10263: 
   RAMGS9 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 36: error #10264: 
   RAMGS9 memory range overlaps existing memory range RAMGS9
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 37: error #10263: 
   RAMGS10 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 37: error #10264: 
   RAMGS10 memory range overlaps existing memory range RAMGS10
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 38: error #10263: 
   RAMGS11 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 38: error #10264: 
   RAMGS11 memory range overlaps existing memory range RAMGS11
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 39: error #10263: 
   RAMGS12 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 39: error #10264: 
   RAMGS12 memory range overlaps existing memory range RAMGS12
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 40: error #10263: 
   RAMGS13 memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 40: error #10264: 
   RAMGS13 memory range overlaps existing memory range RAMGS13
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 47: error #10263: 
   CPU2TOCPU1RAM memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 47: error #10264: 
   CPU2TOCPU1RAM memory range overlaps existing memory range CPU2TOCPU1RAM
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 48: error #10263: 
   CPU1TOCPU2RAM memory range has already been specified
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd/2837xD_RAM_lnk_cpu1_USB.cmd", line 48: error #10264: 
   CPU1TOCPU2RAM memory range overlaps existing memory range CPU1TOCPU2RAM
error #10010: errors encountered during linking; "usb_dev_keyboard_cpu01.out"
   not built
 
>> Compilation failure
makefile:161: recipe for target 'usb_dev_keyboard_cpu01.out' failed
gmake: *** [usb_dev_keyboard_cpu01.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

最近编辑记录 jcfcaonima (2020-01-27 16:17:30)

离线

#6 2020-01-27 16:27:22

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

BEGIN memory range has already been specified找原因
https://blog.csdn.net/qq_36024066/article/details/89016320/
在按图设置General时,系统给工程分配了一个cmd文件,与工程自带cmd文件冲突
syscmd
取消掉系统给工程分配的cmd文件
decmd

apply and close 后再次编译。

编译结果

**** Clean-only build of configuration CPU1_RAM for project usb_dev_serial_cpu01 ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k clean 
 
DEL /F  "usb_dev_serial_cpu01.hex"  "usb_dev_serial_cpu01.out" 
DEL /F "F2837xD_CodeStartBranch.obj" "F2837xD_CpuTimers.obj" "F2837xD_DefaultISR.obj" "F2837xD_GlobalVariableDefs.obj" "F2837xD_Gpio.obj" "F2837xD_PieCtrl.obj" "F2837xD_PieVect.obj" "F2837xD_SysCtrl.obj" "F2837xD_usDelay.obj" "interrupt.obj" "sysctl.obj" "systick.obj" "uart.obj" "usb.obj" "usb_dev_serial.obj" "usb_hal.obj" "usb_serial_structs.obj" "ustdlib.obj" 
DEL /F "F2837xD_CpuTimers.d" "F2837xD_DefaultISR.d" "F2837xD_GlobalVariableDefs.d" "F2837xD_Gpio.d" "F2837xD_PieCtrl.d" "F2837xD_PieVect.d" "F2837xD_SysCtrl.d" "interrupt.d" "sysctl.d" "systick.d" "uart.d" "usb.d" "usb_dev_serial.d" "usb_hal.d" "usb_serial_structs.d" "ustdlib.d" 
DEL /F "F2837xD_CodeStartBranch.d" "F2837xD_usDelay.d" 
找不到 D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\usb_dev_serial\cpu01\ccs\CPU1_RAM\usb_dev_serial_cpu01.hex
找不到 D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples\cpu1\usb_dev_serial\cpu01\ccs\CPU1_RAM\F2837xD_CodeStartBranch.d
Finished clean
 

**** Build Finished ****

**** Build of configuration CPU1_RAM for project usb_dev_serial_cpu01 ****

"D:\\ti\\ccsv8\\utils\\bin\\gmake" -k all 
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_CodeStartBranch.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_CpuTimers.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_CpuTimers.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_DefaultISR.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_GlobalVariableDefs.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_Gpio.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_Gpio.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_PieCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_PieVect.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_PieVect.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_SysCtrl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c", line 828 (col. 47): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="F2837xD_usDelay.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/interrupt.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="interrupt.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/interrupt.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/interrupt.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/sysctl.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="sysctl.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/sysctl.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/sysctl.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/systick.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="systick.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/systick.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/systick.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/uart.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uart.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/uart.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/driverlib/uart.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_serial/cpu01/usb_dev_serial.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb_dev_serial.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_serial/cpu01/usb_dev_serial.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_serial/cpu01/usb_dev_serial.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb_hal.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c", line 115 (col. 5): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/source/usb_hal.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_serial/cpu01/usb_serial_structs.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="usb_serial_structs.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_serial/cpu01/usb_serial_structs.c"
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/examples/cpu1/usb_dev_serial/cpu01/usb_serial_structs.c"
 
Building file: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/ustdlib.c"
Invoking: C2000 Compiler
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/include" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd" --include_path="D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated" --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="ustdlib.d_raw"  "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/ustdlib.c"
"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/ustdlib.c", line 1416 (col. 20): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/deprecated/utils/ustdlib.c"
 
Building target: "usb_dev_serial_cpu01.out"
Invoking: C2000 Linker
"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --define=CPU1 --define=DEBUG --define=ccs_c2k --diag_suppress=10063 --diag_warning=225 --display_error_number --gen_func_subsections=on -z -m"usb_dev_serial_cpu01.map" --stack_size=0x100 --warn_sections -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/lib" -i"D:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/common/cmd" -i"D:/ti/c2000/C2000Ware_1_00_05_00/device_support/f2837xd/headers/cmd" --reread_libs --display_error_number --xml_link_info="usb_dev_serial_cpu01_linkInfo.xml" --entry_point=code_start --rom_model -o "usb_dev_serial_cpu01.out" "./F2837xD_CodeStartBranch.obj" "./F2837xD_CpuTimers.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./interrupt.obj" "./sysctl.obj" "./systick.obj" "./uart.obj" "./usb.obj" "./usb_dev_serial.obj" "./usb_hal.obj" "./usb_serial_structs.obj" "./ustdlib.obj" "D:/ti/c2000/C2000Ware_1_00_05_00/libraries/communications/usb/f2837xd/lib/usblib.lib"  -lrts2800_fpu32.lib -l2837xD_RAM_lnk_cpu1_USB.cmd -lF2837xD_Headers_nonBIOS_cpu1.cmd -llibc.a 
<Linking>
Finished building target: "usb_dev_serial_cpu01.out"
 

**** Build Finished ****

最近编辑记录 jcfcaonima (2020-01-27 16:29:28)

离线

#7 2020-01-27 16:37:51

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

接下来本该试试USB虚拟串口的效果,但是,C2000 LaunchPad XL V2.0开发板的USB DP和DM引脚被调试串口占用,并没有单独的引脚引出,得飞线。
USBUART.png

放假没带电烙铁回家。。。
放武汉了,,
1008838379.jpg

最近编辑记录 jcfcaonima (2020-01-27 16:50:34)

离线

#8 2020-01-27 16:51:27

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

待我潜逃去借个电烙铁

离线

#9 2020-01-27 18:38:08

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

飞线完毕
fly

这期间也发生了一件很恶心人的事情。所有我们村武汉归来人员的信息(包括身份证号,电话号码,单位,居住地),在老乡群里被肆意转发。我TM想砍人。。

最近编辑记录 jcfcaonima (2020-01-27 18:38:41)

离线

#10 2020-01-27 19:32:20

xgui
会员
注册时间: 2019-09-07
累计积分: 224

Re: TI C2000系列CCSV8基础环境配置

强势插入围观, 今天工作地也要求填写信息, 把手机填写成备用的, 身份证故意错一位, 泄露资料怕怕.

离线

#11 2020-01-29 19:01:49

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

哦呼,终于回来了。遇到个BUG调了两天。。。
就是在使用USB虚拟串口的官方例程时,为了指示状态,我加了对两个状态指示灯的操作。
但是指示灯状态一直有问题,没按照正常要求闪烁。最后发现TI的看门狗默认是开的,必须得关上才能正常使用,否则使用时会复位。。
加了个关闭看门狗的操作就好了。

//*****************************************************************************
int
main(void)
{
    uint16_t i;
    uint32_t ui32TxCount;
    uint32_t ui32RxCount;
    char pcBuffer[16];
    volatile uint32_t ui32Fullness;

    DisableDog();

(太菜了,平台还生,调BUG都费劲)

离线

#12 2020-01-30 12:58:28

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

今天继续填官方例程的坑,晚会儿会发在酷网

离线

#13 2020-02-01 18:01:23

jcfcaonima
会员
注册时间: 2019-12-17
累计积分: 60

Re: TI C2000系列CCSV8基础环境配置

今天继续对开发板进行了魔改。
此为C2000 LaunchPad XL官方原理图
launchxl-f28379d_r2_0_sch.pdf
图为两个数字隔离器,其中,GPIO43 SCIARX(0>MCU)引脚对应USB DP;GPIO42 SCIATX(MCU>0)引脚对应USB DM
202002011
上次只是针对两引脚进行飞线,并物理搞断了U5的IND,想当然地以为GPIO43 SCIARX(0>MCU)的输入信号被截断,GPIO42 SCIATX(MCU>0)输出被隔离,这样的话两引脚就会不受串口信号的影响。但是USB的例程还是无法使用。
苦于没有万用表和示波器,进度耽搁了一天。
今天中午,我“潜逃”去隔壁修电动车的大爷家借了个万用表(从武汉回家已经17天了,没有异常)。经测量,虽然两引脚与输入输出信号之间存在隔离,但是其电平状态仍然受数字隔离器的影响,依然有电压存在。所以这次物理搞断了U5的OUTD和U7的INB。
load一下USB虚拟键盘的例程(当然这个例程是被我修改后的),插入,设备正常识别。

最近编辑记录 jcfcaonima (2020-02-01 18:47:28)

离线

页脚

工信部备案:粤ICP备20025096号-1 Powered by FluxBB