Part Number:TMS320F280049COther Parts Discussed in Thread:C2000WARE, SYSCONFIG
已参考了:https://www.ti.com.cn/cn/lit/ug/zhcu712/zhcu712.pdf
1安装了CCS11和tdm64-gcc-5.1.0-2.exe,编译时候出现ld.exe出错,编译不能正常进行下去。
2.然后更换最新的版本的tdm后,能正确生成如下文件,但是缺少VCD文件
注:已经参考这个帖子https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/196084/clb-clb?keyMatch=TDM-GCC-64&_ticdt=MTY0MjY2OTM4NXwwMTdlNjA1Yjk4YWUwMDE0NDBiM2JkMjk3NGRlMDMwODMwMDE2MDdiMDBiZDB8R0ExLjMuMTI3ODY3MDI0OC4xNjQyMjk0MTIz
还是不行。烦请协助一下。
HE1:
使用帖子中要求的tdm64-gcc-5.1.0-2.exe出现错误
,
Green Deng:
你好,你的问题我们已经收到,由于现在是周末,工程师会在工作日的9:00 ~ 18:00之间回复你。
,
Cherry Zhou:
您好我们已将您的问题升级到英文论坛寻求帮助,如有答复将尽快回复您。谢谢!
,
Cherry Zhou:
您好,请问使用的 C2000Ware是哪个版本?
,
Cherry Zhou:
您好,可能是因为设置有问题,您能否分享下您在控制台遇到的错误?
,
HE1:
C2000Ware_DigitalPower_SDK_3_03_00_00
,
HE1:
用tdm64-gcc-5.1.0-2会产生编译错误,目前使用tdm64-gcc-10.3.0-2,没有相关错误。
,
HE1:
以下是用tdm64-gcc-10.3.0-2生成的编译。用这个能通过编译但是不能生成*.VCD文件
**** Build of configuration Debug for project clb_ex1_combinatorial_logic ****
"C:\\ti\\ccs1110\\ccs\\utils\\bin\\gmake" -k -j 4 all -O Building file: "../clb_ex1_combinatorial_logic.syscfg"Invoking: SysConfig"C:/ti/ccs1110/ccs/utils/sysconfig_1.11.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/.metadata/product.json" -d "F28004x" –script "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/clb_ex1_combinatorial_logic.syscfg" -o "syscfg" –compiler ccsRunning script…Validating…Generating Code (clb_ex1_combinatorial_logic.syscfg)…Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb_config.h…Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb_config.c…Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb.dot…Writing C:\Users\WilliamHo\workspace_v11\clb_ex1_combinatorial_logic\Debug\syscfg\clb_sim.cpp…Finished building: "../clb_ex1_combinatorial_logic.syscfg" Building file: "syscfg/clb_sim.cpp"Invoking: C2000 Compiler"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -Ooff –opt_for_speed=2 –fp_mode=strict –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" –include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" –define=CPU1 -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=eabi –preproc_with_compile –preproc_dependency="syscfg/clb_sim.d_raw" –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" –obj_directory="syscfg" "syscfg/clb_sim.cpp"Finished building: "syscfg/clb_sim.cpp" Building file: "../f28004x_codestartbranch.asm"Invoking: C2000 Compiler"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -Ooff –opt_for_speed=2 –fp_mode=strict –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" –include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" –define=CPU1 -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=eabi –preproc_with_compile –preproc_dependency="f28004x_codestartbranch.d_raw" –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "../f28004x_codestartbranch.asm"Finished building: "../f28004x_codestartbranch.asm" Building file: "../device.c"Invoking: C2000 Compiler"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -Ooff –opt_for_speed=2 –fp_mode=strict –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" –include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" –define=CPU1 -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=eabi –preproc_with_compile –preproc_dependency="device.d_raw" –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "../device.c"Finished building: "../device.c" Building file: "syscfg/clb_config.c"Invoking: C2000 Compiler"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -Ooff –opt_for_speed=2 –fp_mode=strict –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" –include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" –define=CPU1 -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=eabi –preproc_with_compile –preproc_dependency="syscfg/clb_config.d_raw" –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" –obj_directory="syscfg" "syscfg/clb_config.c"Finished building: "syscfg/clb_config.c" Building file: "../clb_ex1_combinatorial_logic.c"Invoking: C2000 Compiler"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -Ooff –opt_for_speed=2 –fp_mode=strict –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/device_support/f28004x/common/include" –include_path="C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include" –include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" –define=CPU1 -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=eabi –preproc_with_compile –preproc_dependency="clb_ex1_combinatorial_logic.d_raw" –include_path="C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "../clb_ex1_combinatorial_logic.c"Finished building: "../clb_ex1_combinatorial_logic.c" Building target: "clb_ex1_combinatorial_logic.out"Invoking: C2000 Linker"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla2 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -Ooff –opt_for_speed=2 –fp_mode=strict –define=CPU1 -g –diag_warning=225 –diag_wrap=off –display_error_number –abi=eabi -z -m"clb_ex1_combinatorial_logic.map" –stack_size=0x200 –warn_sections -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/driverlib/f28004x/driverlib/ccs/Debug" -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="clb_ex1_combinatorial_logic_linkInfo.xml" –rom_model -o "clb_ex1_combinatorial_logic.out" "./clb_ex1_combinatorial_logic.obj" "./syscfg/clb_config.obj" "./syscfg/clb_sim.obj" "./device.obj" "./f28004x_codestartbranch.obj" "../28004x_generic_ram_lnk.cmd" -ldriverlib.lib -llibc.a <Linking>Finished building target: "clb_ex1_combinatorial_logic.out" mkdir "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation"makefile:173: recipe for target 'post-build' failed子目录或文件 C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation 已经存在。gmake[2]: [post-build] Error 1 (ignored)C:/TDM-GCC-64/bin/g++ -c -DCLB_SIM -IC:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -IC:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/include/type2 -IC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic -IC:/TDM-GCC-64/bin/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MFC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.d -MTC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.o -IC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg -fno-threadsafe-statics -oC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.o C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cppC:/TDM-GCC-64/bin/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/simulation_output.map -LC:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -oC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/simulation_output.exe C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/simulation/clb_sim.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_FSM_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_LUT4_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_OutputLUT_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_counter_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_counter_top_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_FSM_top_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_LUT4_top_SC_model.o C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_OutputLUT_top_SC_model.o -Wl,–start-group -lsystemc -Wl,–end-groupmakefile:173: recipe for target 'post-build' failedC:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp: In constructor 'Top::Top(const sc_core::sc_module_name&, sc_core::sc_trace_file*)':C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp:328:29: warning: 'Top::TILE1_BOUNDARY_IN' will be initialized after [-Wreorder] 328 | CLB_INPUT_CONDITIONER TILE1_BOUNDARY_IN; | ^~~~~~~~~~~~~~~~~C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp:365:47: warning: base 'sc_core::sc_module' [-Wreorder] 365 | sc_top_clock("sc_top_clock", 20, SC_NS) | ^C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb_sim.cpp:336:5: warning: when initialized here [-Wreorder] 336 | Top(const sc_module_name &name, sc_trace_file *_tf): | ^~~C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o: bad string table size 1702112768C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: error: C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/systemc/src/type2/CLB_HLC_SC_model.o: file too shortcollect2.exe: error: ld returned 1 exit statusgmake[2]: [post-build] Error 1 (ignored)process_begin: CreateProcess(NULL, ./simulation/simulation_output.exe, …) failed.make (e=2): 系统找不到指定的文件。 gmake[2]: [post-build] Error 2 (ignored)./simulation/simulation_output.exemakefile:173: recipe for target 'post-build' failedC:/ti/ccs1110/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_DigitalPower_SDK_3_03_00_00/c2000ware/utilities/clb_tool/clb_syscfg" "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg" "C:/Users/WilliamHo/workspace_v11/clb_ex1_combinatorial_logic/Debug/syscfg/clb.dot"CLB block diagram SVG was created!CLB block diagram HTML was created!
**** Build Finished ****
,
Cherry Zhou:
您好,您能分享下使用的编译器版本安装位置的链接吗?