This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMS320F28379D:如何解决此问题

Guru**** 2587365 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1025806/tms320f28379d-how-to-solve-this-problem

器件型号:TMS320F28379D
主题中讨论的其他器件:C2000WARE

我用空白示例文件制作了一些电源线

但是、它具有以下误差。

如何解决?

此致、

吴明


****为项目210809_test 构建配置 CPU1_RAM ****

"C:\\ti\\ccs1000\\ccs\\utils\bin\\gmake"-k all

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include --cn_support=vcuitudi=vcuature=-express-proc:pru_expression-prob-us-us-code_prob-rus-code_prob-codecontinu_gui=page=pru_gui=page=pru.cpu.pru_gui_gui=page=rand_decurity=page=page=g_guide-probi-display-probi-fus-rand
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_CodeStartBranch.asm

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include:--coffensus=vcuit_gui=-proc:g_prob=rus_gui=100d=rus_gui_gui=-probi-display_gui=page=rus_gui_gui=g_gui_gui=-probi-fus_gui=page=page=g_guidi_gui_gui=page=g_guides=g_guidi_gui=-
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_DefaultISR.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c -include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include:- pred=gabi_warnatures=g_abi_gui=v-proc -proc:g_gui_gui=g_gui_suppression-ase-proc -prob_gui=g_gui_gui=g_gui_gui=g_probes=g_guidi_gui_guidi=g_gui_gui=page-ines=g_guidi_guidi=-
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/source/F2837xD_GlobalVariableDefs.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include --cn_support=vcuitudi=vcuature=gpf-prob_gui=gpf-display-prob_gui=gpage=gpage=gpf-refus-gui_gui=gpage=gpf-display_gui_gui=gpage=gpage=gpf-ines=gpio-gui_gui_gui_gui=gpage=gpage=gpage=gpage=
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_Gpio.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include --cn_support=vcuitudi=vcuature=v-225 --intrabi_over-inature-prob_gui=-prob_gui=page=g_gui_gui=pf-ines=premon_gui_us-probi-fus_gui_gui=page=page=page=g-probi-fus_gui_gui_guidi_guidi=-ines=-
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_Ipc.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c -include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include:- pred=picature=pensit_ip_di=pense=pensive-proc -r-proc-prob_gui_prob_gui=pense=pf-nature=g_gui_gui_probi-display-probi-fus-probi-d_gui=page-probi-display-probi-fus_gui_gui_gui=page=page=page-probi-f
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_PieCtrl.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include --cn_support=vcuitudi=vcuature=v2c -pred=vature-proc:prob_prob_prob_probi-display_gui=page=v232-prudi_gui_prob_gui=v-probi-f_gui=v-probi-fus-prob_gui=page=page=v-prob_gui_gui_gui_gui=v-probi-fus
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_PieVect.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c -include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include -include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include:- pred=pensit_raid-d=pensive-proc-d=g_display-proc-prob_prob_prob_prob_probag_us-rus-prob_gui=page=page=g_gui_gui_gui=page-probi-display_gui_gui=page=page-probi-fus_gui_gui_gui_gui_gui=page=-
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c "、第840行(第47列):建议#2615-D:(性能)使用-fp_mode=relaxed 启用针对 FP 分部的 TMU 硬件支持。
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_SysCtrl.c

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include --cn_support=vcuitudi=vcuature=v-225 --proc-delabi_gui_gui=prisd=g_display-prob_gui=rus=rus-probi-display_gui=rus=rus-probi-d_gui=rand_decon_gui=page=page=page=g_gui_guide-probi-fus-ines=g_gui_gui_guid
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/source/F2837xD_usDelay.asm

编译文件:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c
调用:C2000编译器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/include --include_path="C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/include --cn_support=vcuitudi=vcuature=g=prob-pred=g_probi-display_gui=rand_decurity=g=page-gui=g_gui=rand_decurity-ines=g_gui_gui=page=g_gui_guidi=rand-ines=g_guidi_gui=g_guidi=pf-ines=g_guidi=
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c "、第140行:警告#175-D:浮点值不适合所需的积分类型
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c "、第141行:警告#175-D:浮点值不适合所需的整数类型
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c "、第145行:警告#175-D:浮点值不适合所需的积分类型
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c "、第146行:警告#175-D:浮点值不适合所需的整数类型
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c "、第150行:警告#175-D:浮点值不适合所需的整数类型
"C:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c "、第151行:警告#175-D:浮点值不适合所需的整数类型
完工:"c:/ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/examples/cpu1/empty_project/cpu01/main_cpu01.c

构建目标:"210809_test.out"
调用:C2000链接器
"c:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/bin/cl2000 /ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/include /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/common/cmd -v28 -ml -mt --cla_support=cla1 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu2 -advice:performance=all -define=cpU1 -g -float_suppress=10063 -diag_warning=225 -v28809_ex-exclus_exclus_exclus_example.htm"-link_intrack_example_infot_example_infot_ine_infot_ine_infot_infot_infot_infot_infot_infot_infot_infot_infot.htm"-link_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_ine.htm"/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.1.LTS/lib -link_infot_infot_infot_infot_infot_infot_infot_infot_infot_infot_in /ti/c2000/C2000Ware_3_03_00_00/device_support/f2837xd/headers/cmd


未定义的首次引用
符号
------ --------
_InitEPwm1Gpio ./main_cpu01.obj
_InitEPwm2Gpio ./main_cpu01.obj
_InitEPwm3Gpio ./main_cpu01.obj

错误#10234-D:未解析的符号仍然存在
错误#10010:链接期间遇到错误;未生成"210809_test.out"

>>编译失败
Makefile:151:目标'210809_test.out'的配方失败
gmake:***[210809_test.out]错误1.
gmake:目标"全部"不会由于错误而重新生成。

****构建完成****

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

    您的问题似乎是编译器无法找到 EPwmGPios 的定义。 您能否再次检查是否正确链接了器件支持文件。 我假设您是基于 C2000Ware 中的示例构建的? 如果是、请确保使用 ePWM 示例作为起点。