页次: 1
为什么资料要藏着不公开
想问一下大家,干咱们这行的,大家都是通过什么途径遇到了自己的另一半呢?
(PS:本人单身狗,疯狂想脱单)
看上去像似安凯芯片oem的,毕竟安凯方案也是推荐AWTK的,两家合作很合理
有道理
接下来,就可以用它来学习FPGA了。成本最低的FPGA开发板(20块钱)+成本最低的xilinx调试器(30.9块钱)。
纯PL部分点灯成功
按照这里面的方法改成JTAG启动模式,https://blog.csdn.net/Markus_xu/article/details/107752300
根据正点原子的指南,新建一个纯PL点灯工程。
1_启明星ZYNQ之FPGA开发指南_V1.1.1.pdf
module led(
input sys_clk,
output led
);
reg [25:0] cnt;
assign led = (cnt < 26'd2500_0000) ? 1'b1 : 1'b0;
always @ (posedge sys_clk) begin
if(cnt < 26'd5000_0000)
cnt <= cnt + 1'b1;
else
cnt <= 26'd0;
end
endmodule
#IO 管脚约束
set_property -dict {PACKAGE_PIN U18 IOSTANDARD LVCMOS33} [get_ports sys_clk]
set_property -dict {PACKAGE_PIN D19 IOSTANDARD LVCMOS33} [get_ports led]
刚发现EZBA4205的PL部分是有板载晶振的,时钟通过U18引脚接入。中间隔了一个R1485,R1485并没有焊接,补一个33欧姆的电阻上去。
10月买的红米 note8 pro 使用还可以,就是做工没法跟vo厂这些比
做工可以的,您可以去搜拆机视频看看,跟大厂差不多
谢谢前辈们啦
如题,题主刚本科毕业入职一家微电子公司,前三个月在公司安排下做一些写库函数之类的工作,三个月后会继续安排往上层学习。
由于熟读了傻孩子的“裸机思维”公众号,写库函数倒是挺溜的,工作任务量也不重,然后每天就会剩下一些时间。
现在就想把这些时间利用起来,但是不知道该学些什么⊙∀⊙
向前辈们求经验
社会教我要学习
@OggyJFX , Quite agree with you regarding the jink Chinese products and the crook Chinese businessmen. Still the board was sent to me. As mentioned in the other forum topics, I was willing to give it for free, no one was interested. If you interested about it, I can ship it to you ?
As about Huawei, there are very serious concerns in Europe regarding this company. I was reading few days ago, the French financial minister was complaining that this company was potentially blackmailing the French government, by promising to open a factory … Probably you are aware how Huawei got the 5G contract in UK – granting to some UK royalties contracts in China etc.
Not really interested about dealing with Chinese products, still I have some CPUs, MCUs … like Allwinner V3S, ESP32 … if you refund the money I payed for those items, sure, will not bother you with those matters.
芜湖~~
本贴记录一下TI C2000系列SYS/BIOS工程创建与USB例程移植的过程
至此基础环境配置完毕。也就是装装软件,注意版本适配,基本没啥坑
将两个软件下载安装到TI根目录。打开CCS会提示是否导入,选择导入。
也可通过下图流程单独导入
下载页面提供SYS/BIOS和XDCtools的下载链接,注意他们俩和CCS的版本适配。
SYS/BIOS官方网址为http://www.ti.com.cn/tool/cn/SYSBIOS
下载网址为http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/
TI RTOS下载网址http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/index.html
但是TI RTOS不对C2000系列DSP提供支持,所以并不需要配置TI RTOS
TI官方的软件XDCtools提供了包括SYS/BIOS在内的TI-RTOS及其组件所需的底层核心工具。必须安装XDCtools和SYS/BIOS才能够使用SYS/BIOS。
SYS/BIOS时TI-RTOS的Kernel。
TI-RTOS是一个为TI的设备而存在的,一个可扩展的,一站式的嵌入式工具生态系统。它是一个完整的RTOS解决方案,包含了实时多任务内核(SYS/BIOS),中间件以及设备驱动。
SYS/BIOS是一个可扩展的实时内核。它是为需要实时调度和同步或实时分析的应用程序而设计的。它提供了抢占式多线程,硬件抽象,实时分析和配置工具。而且帮助目标设备实现最小化的内存使用和CPU运算。
SYS/BIOS不需要任何前期或运行时许可证费用。
SYS/BIOS提供了以下优势:
所有的SYS/BIOS的对象可以静态或动态地配置。
为了最小化内存占用,API都是模块化的,只有被程序使用到的API才会被编译进可执行程序里面。此外,静态配置对象可以通过消除对象创建调用的需要来减少代码量。
为使程序达到最高的运行效率以及最小的内存占用,在开发版本代码中的错误检查和调试仪器相关代码都是可配置的,并且可以在发布版本移除。
为满足是实时性要求,几乎所有的系统调用都保证一定的运行效率。
为了提高性能,仪表数据(比如日志和跟踪数据等)的格式化处理都在主机上进行。
为了满足各种需求场景,线程模块提供了硬件中断,软件中断,用户任务,空闲函数这四种线程类型。并且你可以根据选择的线程类型对线程进行运行优先级和阻塞操作的控制。
提供线程间通信和同步模块,包括:信号量,邮箱,事件,门,可变长消息。
动态内存管理机制提供可变大小和固定大小的内存块分配。
有独立的中断分发器进行低级中断上下文的保存回复操作,并且所有的中断处理程序都可以用C语言编写。
系统服务支持中断禁用、使能和阻塞,包括将中断向量复用到多个中断源上。
一口气卸载了小米视频,小米音乐,小米钱包,小爱同学
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.miui.video
Success
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.miui.player
Success
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.mipay.wallet
Success
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.miui.voiceassist
Success
jcf@jcf-virtual-machine:~$
打开手机,找不到系统浏览器了,啊哈哈哈
输入
adb shell pm uninstall -k --user 0 com.android.browser
jcf@jcf-virtual-machine:~$ adb shell pm uninstall -k --user 0 com.android.browser
Success
浏览器的应用名为com.android.browser
adb shell pm list packages
显示所有安装应用
jcf@jcf-virtual-machine:~$ adb shell pm list packages
package:com.android.cts.priv.ctsshim
package:com.qualcomm.qti.perfdump
package:com.miui.contentextension
package:com.android.internal.display.cutout.emulation.corner
package:com.qualcomm.qti.improvetouch.service
package:com.android.internal.display.cutout.emulation.double
package:com.android.providers.telephony
package:com.miui.powerkeeper
package:com.goodix.fingerprint
package:com.xiaomi.miplay_client
package:com.android.providers.calendar
package:com.miui.contentcatcher
package:com.android.providers.media
package:com.milink.service
package:com.qti.service.colorservice
package:com.xiaomi.powerchecker
package:com.xiaomi.account
package:com.android.wallpapercropper
package:com.bsp.catchlog
package:com.quicinc.cne.CNEService
package:com.xiaomi.mi_connect_service
package:com.qualcomm.qti.autoregistration
package:com.xiaomi.micloud.sdk
package:com.chaoxing.mobile
package:com.miui.packageinstaller
package:com.qualcomm.qti.smcinvokepkgmgr
package:com.android.updater
package:com.android.documentsui
package:com.android.externalstorage
package:com.qualcomm.uimremoteclient
package:com.xiaomi.gamecenter.sdk.service
package:com.android.htmlviewer
package:com.miui.extraphoto
package:com.miui.securityadd
package:com.qq.ac.android
package:com.qualcomm.qti.uceShimService
package:com.android.companiondevicemanager
package:com.miui.gallery
package:com.android.quicksearchbox
package:com.android.mms.service
package:com.android.providers.downloads
package:com.xiaomi.payment
package:com.miui.securitycenter
package:com.qualcomm.qti.telephonyservice
package:com.android.browser
package:com.miui.systemAdSolution
package:com.qualcomm.qti.auth.fidocryptoservice
package:com.qualcomm.qti.optinoverlay
package:com.android.soundrecorder
package:com.android.defcontainer
package:com.qti.confuridialer
package:com.miui.guardprovider
package:com.google.ar.core
package:com.android.providers.downloads.ui
package:com.android.pacprocessor
package:com.android.simappdialog
package:com.miui.backup
package:com.miui.notification
package:android.overlay.common
package:com.miui.micloudsync
package:com.tencent.mm
package:com.android.internal.display.cutout.emulation.tall
package:com.miui.daemon
package:com.xiaomi.ab
package:com.android.certinstaller
package:com.android.carrierconfig
package:com.google.android.marvin.talkback
package:com.wapi.wapicertmanage
package:com.qti.qualcomm.datastatusnotification
package:android
package:com.android.systemui.notch.overlay
package:com.android.contacts
package:com.qualcomm.qti.callfeaturessetting
package:com.qualcomm.wfd.service
package:com.miui.hybrid
package:com.miui.vsimcore
package:com.mi.webkit.core
package:com.miui.securitycore
package:com.qti.qualcomm.deviceinfo
package:com.qihoo.contents
package:com.android.mms
package:com.android.mtp
package:com.android.stk
package:com.android.backupconfirm
package:com.xiaomi.simactivate.service
package:com.goodix.gftest
package:com.android.dialer.overlay.common
package:com.miui.player
package:com.miui.miservice
package:com.android.provision
package:org.codeaurora.ims
package:com.android.statementservice
package:com.miui.sysopt
package:com.miui.system
package:com.android.settings.intelligence
package:com.android.calendar
package:com.android.systemui.theme.dark
package:com.miui.translation.kingsoft
package:com.miui.catcherpatch
package:com.miui.systemui.devices.overlay
package:com.miui.compass
package:com.qualcomm.qti.dynamicddsservice
package:com.miui.aod
package:com.miui.cit
package:com.miui.rom
package:com.android.midrive
package:com.qualcomm.qcrilmsgtunnel
package:com.android.providers.settings
package:com.miui.vpnsdkmanager
package:com.android.sharedstoragebackup
package:com.xiaomi.location.fused
package:com.android.printspooler
package:com.miui.personalassistant
package:com.miui.misound
package:com.bsquare.ucdetectservice
package:com.android.dreams.basic
package:com.android.incallui
package:com.fido.xiaomi.uafclient
package:com.miui.bugreport
package:com.android.se
package:com.android.inputdevices
package:com.qualcomm.qti.biometrics.fingerprint.service
package:com.fido.asm
package:com.tencent.map
package:com.android.bips
package:com.qti.dpmserviceapp
package:com.mxtech.videoplayer.ad
package:com.fingerprints.extension.service
package:com.android.fileexplorer
package:com.qti.xdivert
package:com.xiaomi.mircs
package:com.miui.translation.youdao
package:com.miui.cloudbackup
package:com.google.android.webview
package:android.telephony.overlay.cmcc
package:android.ext.shared
package:com.android.onetimeinitializer
package:com.mipay.wallet
package:com.android.server.telecom
package:com.android.keychain
package:com.qti.snapdragon.qdcm_ff
package:com.android.camera
package:com.android.printservice.recommendation
package:com.xiaomi.upnp
package:com.xiaomi.xmsf
package:com.miui.mishare.connectivity
package:android.ext.services
package:com.android.phone.overlay.common
package:com.qualcomm.qti.qtisystemservice
package:com.android.carrierconfig.overlay.common
package:com.android.calllogbackup
package:com.miui.freeform
package:com.android.systemui.overlay.common
package:com.tencent.mobileqq
package:com.android.server.telecom.overlay.common
package:com.android.carrierdefaultapp
package:com.qualcomm.qti.remoteSimlockAuth
package:com.xiaomi.finddevice
package:ru.zdevs.zarchiver.pro
package:com.android.proxyhandler
package:com.xiaomi.joyose
package:com.miui.newhome
package:com.miui.notes
package:com.miui.video
package:com.miui.wmsvc
package:com.xiaomi.market
package:com.xiaomi.misettings
package:com.miui.translationservice
package:com.miui.cloudservice
package:com.android.managedprovisioning
package:com.miui.hybrid.accessory
package:com.xiaomi.mbnloader
package:com.fingerprints.sensortesttool
package:com.tencent.soter.soterserver
package:com.miui.audiomonitor
package:com.miui.translation.xmcloud
package:com.sohu.inputmethod.sogou.xiaomi
package:com.miui.touchassistant
package:com.xiaomi.providers.appindex
package:me.xuzhi.aria2cdroid
package:com.android.smspush
package:com.android.networksettings.overlay.ct
package:com.miui.calculator
package:com.android.wallpaper.livepicker
package:com.miui.cloudservice.sysbase
package:com.qualcomm.qti.seemp.service
package:com.miui.miwallpaper
package:com.miui.securityinputmethod
package:com.xiaomi.bluetooth
package:com.xiaomi.metoknlp
package:com.miui.cleanmaster
package:com.android.storagemanager
package:com.miui.analytics
package:com.android.bookmarkprovider
package:com.android.settings
package:com.qualcomm.qti.ims
package:com.qualcomm.qti.lpa
package:com.qualcomm.qti.uim
package:com.miui.weather2
package:com.qualcomm.location
package:com.android.cts.ctsshim
package:org.codeaurora.gps.gpslogsave
package:com.miui.yellowpage
package:com.miui.systemui.carriers.overlay
package:com.miui.systemui.overlay.devices.android
package:com.xiaomi.bluetooth.overlay
package:com.android.vpndialogs
package:com.android.email
package:com.miui.voiceassist
package:com.android.phone
package:com.android.shell
package:com.android.wallpaperbackup
package:com.android.providers.blockednumber
package:com.android.providers.userdictionary
package:com.android.emergency
package:com.network.xfjsq
package:jp.ne.kutu.Panecal
package:com.qualcomm.qti.seccamservice
package:com.miui.smarttravel
package:com.miui.greenguard
package:com.qualcomm.qti.roamingsettings
package:com.qualcomm.qti.qmmi
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.mimoprint.xiaomi
package:com.android.bluetoothmidiservice
package:com.qualcomm.qti.confdialer
package:com.qualcomm.qti.poweroffalarm
package:com.baidu.netdisk
package:com.miui.smsextra
package:com.android.thememanager
package:com.android.traceur
package:com.android.thememanager.module
package:com.taobao.taobao
package:com.lbe.security.miui
package:com.sina.sinablog
package:com.android.bluetooth
package:com.qualcomm.timeservice
package:com.xiaomi.drivemode
package:com.qualcomm.embms
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.android.cellbroadcastreceiver.overlay.common
package:cn.wps.moffice_eng
package:com.miui.core
package:com.miui.face
package:com.miui.home
package:com.miui.xman
package:com.miui.yman
package:com.android.bluetooth.overlay.common
package:com.miui.audioeffect
jcf@jcf-virtual-machine:~$
安装成功后
adb devices
查看连接设备
jcf@jcf-virtual-machine:~$ adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
1d3a582e unauthorized
电脑这块儿。windows系统可以百度adb安装。我用的Ubuntu。
首先命令行
apt-get install adb
安装adb工具
将手机连接电脑,并打开USB调试选项,如果提示配对选择允许。
然后在更多设置中找到开发者选项。
在我的设备中选择全部参数,连续按MIUI版本,直到显示进入开发者模式
首先打开设置
所谓假性卸载,就是系统更新后还会出现被卸载软件,但是能让软件被禁用就足够了
近来被MIUI系统的浏览器搞得烦,我一贯用360公司的极速浏览器(清爽,无广告),但是MIUI系统的默认浏览器设置为极速浏览器后总是莫名其妙就变回系统自带的浏览器。百度上说可以通过adb命令假性卸载浏览器来使其被禁用。
USB虚拟串口的例程还是有问题。。。
重启一下神奇的串口就出现了。难道上次没烧录好?
USB虚拟串口的例程还是有问题。。。
ti的官方例程的坑主要在时钟配置和宏定义,当然主要是针对本开发板而言。别的开发板如果自带USB接口和20MHz晶振的话基本不需要修改。
同时打开设备管理器。可以看到USB接口拔出前后,电脑少了一个键盘设备。
拔掉下载线,接上自己飞的USB线和USB转串口。
USB转串口插入电脑,打开CCS自带的串口通信工具。
新建一个串口
配置参数
将连接好的USB线插入电脑。看到串口打印输出
基本就修改好了,编译然后烧录,第一次烧录必须经过DEBUG,以后可以直接load进开发板
由于只调用了CPU1,我就只勾选了CPU1,两个都勾选也可以烧录,但是比较耗时间。
烧录完成点击按钮退出。
再次打开usb_ex3_dev_keyboard.c,找到图示位置USB时钟初始化函数SysCtl_setAuxClock(DEVICE_AUXSETCLOCK_CFG_USB);。打开参数DEVICE_AUXSETCLOCK_CFG_USB的定义。
按如图所示方法修改,主要原因还是晶振频率不是20MHz,必须多倍频两倍。
于是需要在编译环境中添加_LAUNCHXL_F28379D的宏定义来使能针对_LAUNCHXL_F28379D的配置
有时候点击apply and close一次可能添加不上,这时候多添加几次就有了
再次打开usb_ex3_dev_keyboard.c,找到图示位置设备初始化函数Device_init();。
同样打开这个函数的定义
在Device_init();中找到时钟初始化函数SysCtl_setClock的参数DEVICE_SETCLOCK_CFG,并找到DEVICE_SETCLOCK_CFG参数的定义
可以看到这段函数库有专门针对_LAUNCHXL_F28379D的宏定义。
接下来对串口的时钟进行配置,如图选中SYSTEM_CLOCK_SPEED,右击找到定义。
把原定义的20000000改成10000000。原因是此开发板使用的是10MHz晶振,并非官方推荐的20MHz晶振.(详情请看https://whycan.cn/t_3632.html )
现在对代码进行修改。打开usb_ex3_dev_keyboard.c
这是串口的引脚定义,但是开发板并没有引出这俩引脚,所以复用到其它引脚。具体规则见
TMS320F2837xD数据表.pdf
改动后如下图所示。
编译一下
**** Build of configuration CPU1_FLASH for project usb_ex3_dev_keyboard ****
"D:\\ti\\ccs930\\ccs\\utils\\bin\\gmake" -k -j 16 all -O
Building file: "../device/F2837xD_CodeStartBranch.asm"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/F2837xD_CodeStartBranch.d_raw" --obj_directory="device" "../device/F2837xD_CodeStartBranch.asm"
Finished building: "../device/F2837xD_CodeStartBranch.asm"
Building file: "../usb_ex3_keyboard_structs.c"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="usb_ex3_keyboard_structs.d_raw" "../usb_ex3_keyboard_structs.c"
Finished building: "../usb_ex3_keyboard_structs.c"
Building file: "../usb_hal.c"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="usb_hal.d_raw" "../usb_hal.c"
"../usb_hal.c", line 122 (col. 5): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "../usb_hal.c"
Building file: "../device/device.c"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --obj_directory="device" "../device/device.c"
Finished building: "../device/device.c"
Building file: "../scistdio.c"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="scistdio.d_raw" "../scistdio.c"
Finished building: "../scistdio.c"
Building file: "../usb_ex3_dev_keyboard.c"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="usb_ex3_dev_keyboard.d_raw" "../usb_ex3_dev_keyboard.c"
Finished building: "../usb_ex3_dev_keyboard.c"
Building file: "../ustdlib.c"
Invoking: C2000 Compiler
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard" --include_path="D:/ti/workspace_v9/usb_ex3_dev_keyboard/device" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib" --include_path="D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/include" --include_path="D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="ustdlib.d_raw" "../ustdlib.c"
"../ustdlib.c", line 1416 (col. 20): advice #2614-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
Finished building: "../ustdlib.c"
Building target: "usb_ex3_dev_keyboard.out"
Invoking: C2000 Linker
"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --define=ccs_c2k --define=DEBUG --define=_FLASH --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"usb_ex3_dev_keyboard.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/lib" -i"D:/ti/ccs930/ccs/tools/compiler/ti-cgt-c2000_18.12.4.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="usb_ex3_dev_keyboard_linkInfo.xml" --entry_point=code_start --rom_model -o "usb_ex3_dev_keyboard.out" "./scistdio.obj" "./usb_ex3_dev_keyboard.obj" "./usb_ex3_keyboard_structs.obj" "./usb_hal.obj" "./ustdlib.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "../2837xD_FLASH_lnk_cpu1_USB.cmd" "D:/ti/c2000/C2000Ware_2_01_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" "D:/ti/c2000/C2000Ware_2_01_00_00/libraries/communications/usb/f2837xd/lib/usblib.lib" -llibc.a
<Linking>
Finished building target: "usb_ex3_dev_keyboard.out"
**** Build Finished ****
删除RAM配置项
选中工程,右击进入配置选项,选择properties
进入配置界面
按如下几个步骤使能Flash的使用。因为默认是针对RAM配置的,一Reset就没了。
然后把界面配置成如图
点击apply and close
同样我们先打开CCS v9.3。选择import。
选择CCS工程
找准工程路径
ti\c2000\C2000Ware_2_01_00_00\driverlib\f2837xd\examples\cpu1\usb
选择一个USB例程,这里选虚拟键盘
点击finish结束导入
TMS320F28379D LaunchPad XL开发板在使用USB例程时,由于并没有单独的USB接口引出,需要先对开发板进行物理处理。简单来说就是需要物理搞断U5的OUTD和U7的INB并飞线。具体请见本人帖子
TI C2000系列CCSV8基础环境配置7楼到13楼
今天继续对开发板进行了魔改。
此为C2000 LaunchPad XL官方原理图
launchxl-f28379d_r2_0_sch.pdf
图为两个数字隔离器,其中,GPIO43 SCIARX(0>MCU)引脚对应USB DP;GPIO42 SCIATX(MCU>0)引脚对应USB DM
https://whycan.cn/files/members/2675/202002011.png
上次只是针对两引脚进行飞线,并物理搞断了U5的IND,想当然地以为GPIO43 SCIARX(0>MCU)的输入信号被截断,GPIO42 SCIATX(MCU>0)输出被隔离,这样的话两引脚就会不受串口信号的影响。但是USB的例程还是无法使用。
苦于没有万用表和示波器,进度耽搁了一天。
今天中午,我“潜逃”去隔壁修电动车的大爷家借了个万用表(从武汉回家已经17天了,没有异常)。经测量,虽然两引脚与输入输出信号之间存在隔离,但是其电平状态仍然受数字隔离器的影响,依然有电压存在。所以这次物理搞断了U5的OUTD和U7的INB。
load一下USB虚拟键盘的例程(当然这个例程是被我修改后的),插入,设备正常识别。
经过前两个帖子,我基本上熟悉了官方环境的配置和例程的使用,开此贴系统记录一下官方例程官方USB例程在TMS320F28379D LaunchPad XL开发板的适配。
前两个帖子
TI C2000系列CCSV8基础环境配置
TI C2000WARE官方例程时钟配置的坑(针对TMS320F28379D LaunchPad XL)
本帖开发环境为CCS V9.3.0.00012+C2000Ware_2_01_00_00。选择此环境原因是C2000Ware_2_01_00_00版本的官方例程相对于C2000Ware_1_00_06_00之前的更加规范。但是C2000Ware_2_01_00_00版本的官方例程必须要CCS V9.2以上的环境才能运行,所以暂时放弃了CCSV8。
今天继续对开发板进行了魔改。
此为C2000 LaunchPad XL官方原理图
launchxl-f28379d_r2_0_sch.pdf
图为两个数字隔离器,其中,GPIO43 SCIARX(0>MCU)引脚对应USB DP;GPIO42 SCIATX(MCU>0)引脚对应USB DM
上次只是针对两引脚进行飞线,并物理搞断了U5的IND,想当然地以为GPIO43 SCIARX(0>MCU)的输入信号被截断,GPIO42 SCIATX(MCU>0)输出被隔离,这样的话两引脚就会不受串口信号的影响。但是USB的例程还是无法使用。
苦于没有万用表和示波器,进度耽搁了一天。
今天中午,我“潜逃”去隔壁修电动车的大爷家借了个万用表(从武汉回家已经17天了,没有异常)。经测量,虽然两引脚与输入输出信号之间存在隔离,但是其电平状态仍然受数字隔离器的影响,依然有电压存在。所以这次物理搞断了U5的OUTD和U7的INB。
load一下USB虚拟键盘的例程(当然这个例程是被我修改后的),插入,设备正常识别。
晕哥建网站不容易,交点保护费就可以了。
官方开发板不按照官方文档推荐的晶振频率。无语了。。
那么问题来了,这个LAUNCHXL_F28379D到底哪儿不一样呢?查看系统时钟树。
时钟配置代码为InitSysPll(XTAL_OSC,IMULT_40,FMULT_0,PLLCLK_BY_2);系统默认SYSPLL是由外部晶振XTAL_OSC提供。
找到外部晶振,型号为ATS100B-E
震荡频率为10MHz。
再查看官方文档
TMS320F2837xD数据表.pdf
在67页显示推荐使用外部晶振为20MHz
所以,在代码中出现了LAUNCHXL_F28379D单独设置系统时钟,且倍频参数是普通2倍的情况
查看系统初始化代码
SYSPLL配置函数
函数中有针对_LAUNCHXL_F28379D专门的初始化函数,看来TI这个开发板确实有点不一样。
在项目中添加_LAUNCHXL_F28379D宏定义
再次编译烧录运行结果正常
在使用CCS官方例程库时,调试串口通信,接收到的数据显示出来都是乱码
调试所用例程为sci_echoback_cpu1
串口显示结果
于是修改代码,串口循环打印单个字符‘a’,通过串口助手16进制接收发现收到的数据是两个ascii循环。昨天用的针对C2000LaunchPad XL的例程串口打印正常,字符编码跟这个出错的例子相同,排除字符编码问题。猜测系统时钟配置出错。
今天继续填官方例程的坑,晚会儿会发在酷网
你的高清图片加载好慢。。哈
哦呼,终于回来了。遇到个BUG调了两天。。。
就是在使用USB虚拟串口的官方例程时,为了指示状态,我加了对两个状态指示灯的操作。
但是指示灯状态一直有问题,没按照正常要求闪烁。最后发现TI的看门狗默认是开的,必须得关上才能正常使用,否则使用时会复位。。
加了个关闭看门狗的操作就好了。
//*****************************************************************************
int
main(void)
{
uint16_t i;
uint32_t ui32TxCount;
uint32_t ui32RxCount;
char pcBuffer[16];
volatile uint32_t ui32Fullness;
DisableDog();
(太菜了,平台还生,调BUG都费劲)
飞线完毕
这期间也发生了一件很恶心人的事情。所有我们村武汉归来人员的信息(包括身份证号,电话号码,单位,居住地),在老乡群里被肆意转发。我TM想砍人。。
待我潜逃去借个电烙铁
接下来本该试试USB虚拟串口的效果,但是,C2000 LaunchPad XL V2.0开发板的USB DP和DM引脚被调试串口占用,并没有单独的引脚引出,得飞线。
放假没带电烙铁回家。。。
放武汉了,,
BEGIN memory range has already been specified找原因
https://blog.csdn.net/qq_36024066/article/details/89016320/
在按图设置General时,系统给工程分配了一个cmd文件,与工程自带cmd文件冲突
取消掉系统给工程分配的cmd文件
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 ****
下一步试试TI USB虚拟串口的例程。
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 ****
线还回来了,来烧录试一下。
等待刷写完毕
界面全览
打开CCS自带的串口助手
配置串口助手参数
点击执行
输出结果
没看懂这个是啥画。。。
原来是TI的LOGO
接下来,从C2000WARE中导出示例工程到CCSV8中
启动CCSV8,选择file,Import。
next
next
选择搜索路径,如果是压缩包文件的话选择压缩包文件。
我的路径为D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples
选择好路径,确认后,软件自动搜索路径下工程文件。
然后选择需要的例程,点击finsih自动导入
左键选中工程,右键单击选择Properties
选择CCS General 设置如下
点击apply and close 退出。
然后选中工程,build。
编译结果。
**** 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.
//!
//
//###########################################################################
奈何本人连接板子的数据线被隔壁宅男借走了。明天要回来继续调试。
接下来,从C2000WARE中导出示例工程到CCSV8中
启动CCSV8,选择file,Import。
next
next
选择搜索路径,如果是压缩包文件的话选择压缩包文件。
我的路径为D:\ti\c2000\C2000Ware_1_00_05_00\device_support\f2837xd\examples
选择好路径,确认后,软件自动搜索路径下工程文件。
然后选择需要的例程,点击finsih自动导入
左键选中工程,右键单击选择Properties
选择CCS General 设置如下
点击apply and close 退出。
然后选中工程,build。
编译结果。
**** 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.
//!
//
//###########################################################################
奈何本人连接板子的数据线被隔壁宅男借走了。明天要回来继续调试。
武汉回来的大学生,最近被隔离在家,做一下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/。
点击获得软件。进入后下拉找到软件版本。
坑在这里,不论选择哪个软件版本,该版本的C2000Ware Quick Start Guide里都对使用平台要求为(CCS)v9.2.0。
但是我觉得controlSUITE不支持CCSV8,C2000WARE没道理不支持CCSV8。应该是官网不论哪个版本C2000Ware Quick Start Guide用的都是最新版本的。所以下了1.00.05.00(27 Jun 2018)版本,(后来试了1.00.06.00版本,但是它的USB CDC支持库仅支持CCSV9)。
选择windows平台,(需要注册账号)用途为Civil,接受许可协议。
。
然后虽然Submit是灰色的,但是点了就可以进入下载。
下载安装到CCS同目录,在下图文件夹中找到此版本c2000Ware_quickstart_guide.pdf,其支持版本CCSV8
至此无任务调度器需求的开发环境配置完毕。后续还有XDCtools和SYS/BIOS(TI-RTOS 的核心)配置。
下图为老师给的开发板,C2000 LaunchPad XL,板载XDS100V2调试器。
页次: 1