Other Parts Discussed in Thread: C2000WARE
主题中讨论的其他器件:C2000WARE
工具/软件:TI C/C++编译器
您好!
当`Resource Explorer -> Software -> C2000Ware - 3.01.00.00 -> English -> Examples -> F28004x -> flashapi_ex2_sciKernel`示例项目时、可执行文件`AC2000``` segfaults during the build process for all configurations (BANK0_LFDU_1、BANK0_LFDU_1、BANK0_LFDU_1、BANK0_BANKNO_BANKFD0_BANKU_1、BANK0_BANKNO_BANK0_BANKNO_BANKNO_BANKFGU_BANK0_BANKNO_BANK0_BANKNO_BANKRINK BANK1_NO_LFDU、CPU1_RAM)。 以下是构建输出:
****为项目 flashapi_ex2_sci_kernel 构建配置 BANK0_LDFU ****
/home/james/ti/ccs1000/ccs/utils/bin/gmake -k -j 16 all -O
编译文件:"../device/f28004x_codestartbranch.asm
调用:C2000编译器
"/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -off --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel /home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel/device /home/james/ti/C2000Ware_3_01_00_00_Software/libraries/flash_api/f28004x/include/FlashAPI --include_path=fpu32 --include_path="/home/james/ti/C2000Ware_3_01_00_00_Software/driverlib/f28004x/driverlib /home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /device/f28004x_codestartbranch.asm --include_display_warning="coff-come-proc-ref_guide-guide-ine-ine-compress-proc-guide-guide-guide-ine-guide-ine-guide-ine-guide-ine-ine-ine-ine-ine-ine-probide-guide-ine-ine-ine-ine-guide-ine-ine-probide-guide-ine-ine-ine-ine-ine-guide-ine-ine-guide-ine-ine-ine-ine-ine-ine-guide-ine-ine-ine-ine-ine-guide-guide-ine-
已完成构建:"./device/f28004x_codestartbranch.asm
构建文件:"../flashapi_ex2_ldfu.c"
调用:C2000编译器
"/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -off --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel /home/james/ti/C2000Ware_3_01_00_00_Software/libraries/flash_api/f28004x/include/FlashAPI --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel/device /home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include --include_path="/home/james/ti/C2000Ware_3_01_00_00_Software/driverlib/f28004x/driverlib --exabi_express-express-excumi_express-inu_remote_remote_ine-exapi_decontinu.api_inu.api_express-inu.cpu.cpu.cpu_express-ex-ex-inu_remote_remote_remote_ex-ex-ex-ex-ex-ex-inu_gui_ex-ine_ine_inu1.ate-express-ine-ex-inu1.ate-inu_express-inu_express-inu_ex-inu_guide-ex-ine-ine-ex-
内部错误:/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/ac2000遇到段错误
处理函数时(未知或文件范围)文件(未知)行0
这是由 TI C/C++解析器中的缺陷导致的。
TI 客户支持可能会建议解决方法来避免这种情况。
升级到编译器的最新版本可能会解决此问题。
在 E2E 支持论坛中联系 TI、网址 为 http://e2e.ti.com 、位于
"开发工具"、"TI C/C++编译器"。 请参阅标题为的链接
"提交问题"。
我们需要看到整个错误消息以及完整、可重现的消息
包括所有命令行选项的测试用例。
包含由选项--preproc_with_comment 创建的.pp 文件
>>编译失败
subdir_rules.mk:7:目标'flashapi_ex2_ldfu.obj'的配方失败
gmake:***[flashapi_ex2_ldfu.obj]错误1.
编译文件:"../device/device.c
调用:C2000编译器
"/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -off --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel /home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel/device /home/james/ti/C2000Ware_3_01_00_00_Software/libraries/flash_api/f28004x/include/FlashAPI --include_path=fpu32 --include_path="/home/james/ti/C2000Ware_3_01_00_00_Software/driverlib/f28004x/driverlib /home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include /device/device.c --include_display_warning="coff-come-proc-ref_guide-guide-ine-ine-compress-proc-guide-guide-guide-ine-guide-ine-guide-ine-guide-ine-ine-ine-ine-ine-ine-probide-guide-ine-ine-ine-ine-guide-ine-ine-probide-guide-ine-ine-ine-ine-ine-guide-ine-ine-guide-ine-ine-ine-ine-ine-ine-guide-ine-ine-ine-ine-ine-guide-guide-ine-
已完成构建:"./device/device.c
构建文件:"../flashapi_ex2_sci_kernel.c"
调用:C2000编译器
"/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -off --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel /home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel/device /home/james/ti/C2000Ware_3_01_00_00_Software/libraries/flash_api/f28004x/include/FlashAPI --include_path=fpu32 --include_path="/home/james/ti/C2000Ware_3_01_00_00_Software/driverlib/f28004x/driverlib --include_exapi_exclus=ine-express-excinu_remote_remote_ine-exapi="-express-excep-ine-ine-exapi_express-ine-express-excover-ine-express-inu_express-ine-excep-inu_express-inu_express-inu_express-inu_express-ine-exclus_express-ine-excover-gui_decomine-ine-ine-ine-ine-express-ine-ine-ine-ine-compress-ine-ine-ine-ine-/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include
完成构建:"../flashapi_ex2_sci_kernel.c"
构建文件:"../flashapi_ex2_sci_get_function.c"
调用:C2000编译器
"/home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -off --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel /home/james/ti/C2000Ware_3_01_00_00_Software/libraries/flash_api/f28004x/include/FlashAPI --include_path="/home/james/code/pumpkin/c2000/flashapi_ex2_sci_kernel/device /home/james/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include --include_path="/home/james/ti/C2000Ware_3_01_00_00_Software/driverlib/f28004x/driverlib --excabi_express-suppress-excep-inu_remote_remote_ine-exapi=cover-express-ine-compress-ine-excover-ine_remote_remote_ine-exapi_decontinu.cpu.cpu.cpu.cpu.cpui_remote_remote_ine_ex-ex-ex-ex-ine_ex-ex-ine_ine-ex-ex-ex-excover-ine-excover-ine_remote_remote_ine_ine-ine-ine_ine_ine-ine-ine-ine-ine-ine-express-
完成构建:"../flashapi_ex2_sci_get_function.c"
gmake:目标"全部"不会由于错误而重新生成。
我尝试将`--preproc_with_comment`标志添加到编译过程中、但是不会生成任何包含此问题的`.pp`文件...
我正在使用:
Code Composer Studio
版本:10.0.00010
C2000编译器20.2.0.LTS
此问题也可在`flashapi_ex3_live_firmware_update`示例上重现... 此问题出现在我的 Arch Linux 开发计算机和 Windows 10计算机上。
谢谢、
-James