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.

[参考译文] TMS320F28388D:SysConfig cmd 模块问题?

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1316032/tms320f28388d-sysconfig-cmd-module-issue

器件型号:TMS320F28388D
主题中讨论的其他器件:SysConfig

您好!

我在使用默认 cmd 文件时遇到问题、并开始修改 SysConfig 中的 cmd 模块。

首先,我有一个奇怪的警告: CMD 模块说必须启用...  

其次、链接失败。 好像找不到 SysConfig 生成的 cmd 文件。  

"C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"2205_ctc_chrg7k_sw_cpu1.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib" -i"C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="2205_ctc_chrg7k_sw_cpu1_linkInfo.xml" --entry_point=code_start --rom_model -o "2205_ctc_chrg7k_sw_cpu1.out" "./syscfg/board.obj" "./syscfg/device_cmd.obj" "./syscfg/c2000ware_libraries.obj" "./device/F2838x_CodeStartBranch.obj" "./device/device.obj" "./sources/converter_io.obj" "./sources/init_cla_cpu1.obj" "./sources/main_cpu1.obj" "./sources/pll_pfc.obj" "./sources/regulation_pfc.obj" "./sources/supervision_cpu1.obj" "C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" "../sources/includes/SFO_v8_fpu_lib_build_c28_driverlib_eabi.lib" -l"syscfg/device_cmd.cmd"  -llibc.a 
<Linking>
warning #10461-D: Invalid to call C28 function "sqrtf" defined in "C:\TI\CCS\CCS12.50\ccs\tools\compiler\ti-cgt-c2000_22.6.1.LTS\lib\rts2800_fpu64_eabi.lib<e_sqrtf.c.obj>" from CLA file "./sources/regulation_pfc.obj"
warning #10247-D: creating output section ".text" without a SECTIONS specification
warning #10247-D: creating output section ".data" without a SECTIONS specification
warning #10247-D: creating output section ".bss" without a SECTIONS specification
warning #10247-D: creating output section ".cinit" without a SECTIONS specification
warning #10247-D: creating output section ".const" without a SECTIONS specification
warning #10247-D: creating output section "codestart" without a SECTIONS specification
warning #10247-D: creating output section "CpuToCla1MsgRAM" without a SECTIONS specification
warning #10247-D: creating output section ".bss_cla" without a SECTIONS specification
warning #10247-D: creating output section "Cla1Prog" without a SECTIONS specification
warning #10247-D: creating output section ".scratchpad" without a SECTIONS specification
warning #10247-D: creating output section ".const_cla" without a SECTIONS specification
error #10430-D: ".TI.ramfunc" section generated by __attribute__((ramfunc)) or --ramfunc=on requires a SECTIONS specification to function.
error #10010: errors encountered during linking; "2205_ctc_chrg7k_sw_cpu1.out" not built
 

提前感谢您的帮助、

此致、

阿德里安

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

    您可以单击"压缩"。 这样就解决了我的问题。

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

    您好!  

    您能否检查 device_cmd.cmd 文件是否由 SysConfig 生成?

      有关如何使用链接器命令工具、您可以参阅应用手册 www.ti.com/.../sprad49。

    此致

    西达尔特

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您可以单击"Suppress"。 这样就解决了我的问题。

    我当时的印象是,这只是"沉默"的警告,但它并不意味着问题已经消失了。 我错了吗?

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

    在我的案例中、问题消失了、代码工作正常。 我不知道你的情况,你能告诉我你的配置"MEMCFG"?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您可以参阅应用手册 https://www.ti.com/lit/pdf/sprad49 了解如何使用链接器命令工具。

    谢谢。 这是我以前到达的位置。

    您能否检查 device_cmd.cmd 文件是否由 SysConfig 生成?

    确实如此。

    我还注意到预处理器宏 CMDTOOL 是未定义的,因此 CMD_INIT()函数在 Device_init()中没有被调用。 这可能也是一个问题。  

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

    您好!  

    您有哪些编译器选项?  请为您的项目共享编译日志控制台。

    必须向编译器指定"--cmd_file="syscfg/device_cmd.opt"选项、以使编译器定义 CMDTOOL 符号、

    此致

    西达尔特

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

    您好!

    必须向编译器指定"--cmd_file="syscfg/device_cmd.opt"选项,以定义 CMDTOOL symbo

    谢谢、它看起来是有效的(至少对于符号定义)。

    以下是控制台日志:

    **** Build of configuration FLASH for project 2205_ctc_chrg7k_sw_cpu1 ****
    
    "C:\\TI\\CCS\\CCS12.50\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
     
    Building file: "../2205_ctc_chrg7k_sw_cpu1.syscfg"
    Invoking: SysConfig
    "C:/TI/CCS/CCS12.50/ccs/utils/sysconfig_1.18.0/sysconfig_cli.bat" -s "C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/.metadata/sdk.json" -d "F2838x" --script "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu2/2205_ctc_chrg7k_sw_cpu2.syscfg" --context "CPU2" --script "C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/2205_ctc_chrg7k_sw_cpu1.syscfg" --context "CPU1" -o "syscfg" --compiler ccs
    Running script...
    Validating...
    warning: CPU2 CMD_FLASH(/utilities/cmd_tool/cmd_syscfg/source/CMD) sectionMemory_cpuToCla1MsgRAM: Memcfg module must be enabled for complete error checking.
    warning: CPU2 CMD_FLASH(/utilities/cmd_tool/cmd_syscfg/source/CMD) sectionMemory_bss: The memcfg module is needed on CPU1 to assign GSRAM to CPU2.
    warning: CPU2 CMD_FLASH(/utilities/cmd_tool/cmd_syscfg/source/CMD) sectionMemory_data: The memcfg module is needed on CPU1 to assign GSRAM to CPU2.
    warning: CPU2 CMD_FLASH(/utilities/cmd_tool/cmd_syscfg/source/CMD) sectionMemory_sysmem: The memcfg module is needed on CPU1 to assign GSRAM to CPU2.
    info: CPU1 CPUSELx(/driverlib/clocktree/mux.js) cpu_sel_mux: For enabling peripherals, use the CPU1 /driverlib/sysctl.js enable_SYSCTL_PERIPH_CLK_TIMER0
    info: CPU1 PERx_CPU1_SYSCLK_GATE(/driverlib/clocktree/unknown.js) cpu1_sysclk_gate: For enabling peripherals, use the CPU1 /driverlib/sysctl.js enable_SYSCTL_PERIPH_CLK_TIMER0
    info: CPU1 PERx_CPU2_SYSCLK_GATE(/driverlib/clocktree/unknown.js) cpu2_sysclk_gate: For enabling peripherals, use the CPU1 /driverlib/sysctl.js enable_SYSCTL_PERIPH_CLK_TIMER0
    info: CPU1 PWM_PFC(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: CPU1 PWM_PFC(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU1 PWM_PFC(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU1 PWM_PFC(/driverlib/epwm.js) hrpwm_enable: MEP becomes operational: •Three EPWMCLK cycles after the period starts when high-resolution period (TBPRDHR) control is not enabled. • When high resolution period (TBPRDHR) control is enabled via the HRPCTL register – In up-count mode: three EPWMCLK cycles after the period starts until three EPWMCLK cycles before the period ends. – In up-down count mode: when counting up, three cycles after CTR = 0 until three cycles before CTR = PRD, and when counting down, three cycles after CTR = PRD until three cycles before CTR= 0.
    info: CPU1 PWM_TDC_1(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: CPU1 PWM_TDC_1(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU1 PWM_TDC_1(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU1 PWM_TDC_1(/driverlib/epwm.js) epwmTimebase_phaseEnable: If the EPWMxSYNCI signal is held HIGH, the sync will NOT continously occur. The EPWMxSYNCI is rising edge activated.
    info: CPU1 PWM_TDC_2(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: CPU1 PWM_TDC_2(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU1 PWM_TDC_2(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU1 PWM_TDC_2(/driverlib/epwm.js) epwmTimebase_phaseEnable: If the EPWMxSYNCI signal is held HIGH, the sync will NOT continously occur. The EPWMxSYNCI is rising edge activated.
    info: CPU1 myFMC0(/driverlib/flash.js) calculatedWaitStates: It is important to look at your device's datasheet for information about what
            the required minimum flash wait state is for your selected SYSCLK frequency.
            See Flash section of TRM for more info.
    info: CPU2 PWM_BUCK(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: CPU2 PWM_BUCK(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU2 PWM_BUCK(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU2 PWM_BUCK(/driverlib/epwm.js) hrpwm_enable: MEP becomes operational: •Three EPWMCLK cycles after the period starts when high-resolution period (TBPRDHR) control is not enabled. • When high resolution period (TBPRDHR) control is enabled via the HRPCTL register – In up-count mode: three EPWMCLK cycles after the period starts until three EPWMCLK cycles before the period ends. – In up-down count mode: when counting up, three cycles after CTR = 0 until three cycles before CTR = PRD, and when counting down, three cycles after CTR = PRD until three cycles before CTR= 0.
    info: CPU2 PWM_DP(/driverlib/epwm.js) epwmTimebase_clockDiv: For perfectly synchronized TBCLKs across multiple EPWM modules, the prescaler bits in the TBCTL register of each EPWM module must be set identically
    info: CPU2 PWM_DP(/driverlib/epwm.js) epwmActionQualifier_t1Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU2 PWM_DP(/driverlib/epwm.js) epwmActionQualifier_t2Source: T1/T2 selection and configuration of a trip/digital-compare event is indpendent of the configuration of that event in the Trip-Zone submodule
    info: CPU2 myFMC0(/driverlib/flash.js) calculatedWaitStates: It is important to look at your device's datasheet for information about what
            the required minimum flash wait state is for your selected SYSCLK frequency.
            See Flash section of TRM for more info.
    Generating Code (2205_ctc_chrg7k_sw_cpu1.syscfg)...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\board.c...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\board.h...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\board.cmd.genlibs...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\board.opt...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\pinmux.csv...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\epwm.dot...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\adc.dot...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\device_cmd.cmd...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\device_cmd.c...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\device_cmd.h...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\device_cmd.opt...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\device_cmd.cmd.genlibs...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\c2000ware_libraries.cmd.genlibs...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\c2000ware_libraries.opt...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\c2000ware_libraries.c...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\c2000ware_libraries.h...
    Writing C:\Users\a.thurin\Desktop\Projets logiciels\2205-CTC-CHRG7K-SW\2205_ctc_chrg7k_sw_cpu1\FLASH\syscfg\clocktree.h...
    0 error(s), 4 warning(s)
    Finished building: "../2205_ctc_chrg7k_sw_cpu1.syscfg"
     
    Building file: "../device/F2838x_CodeStartBranch.asm"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/F2838x_CodeStartBranch.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../device/F2838x_CodeStartBranch.asm"
    Finished building: "../device/F2838x_CodeStartBranch.asm"
     
    Building file: "syscfg/device_cmd.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/device_cmd.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/device_cmd.c"
    Finished building: "syscfg/device_cmd.c"
     
    Building file: "syscfg/c2000ware_libraries.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/c2000ware_libraries.c"
    Finished building: "syscfg/c2000ware_libraries.c"
     
    Building file: "../sources/init_cla_cpu1.cla"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/init_cla_cpu1.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../sources/init_cla_cpu1.cla"
    Finished building: "../sources/init_cla_cpu1.cla"
     
    Building file: "../sources/converter_io.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/converter_io.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../sources/converter_io.c"
    Finished building: "../sources/converter_io.c"
     
    Building file: "../device/device.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../device/device.c"
    Finished building: "../device/device.c"
     
    Building file: "../sources/main_cpu1.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/main_cpu1.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../sources/main_cpu1.c"
    Finished building: "../sources/main_cpu1.c"
     
    Building file: "../sources/regulation_pfc.cla"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/regulation_pfc.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../sources/regulation_pfc.cla"
    "../sources/regulation_pfc.cla", line 58: warning #552-D: variable "s_DeltaDutyMax" was set but never used
    Finished building: "../sources/regulation_pfc.cla"
     
    Building file: "../sources/supervision_cpu1.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/supervision_cpu1.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../sources/supervision_cpu1.c"
    Finished building: "../sources/supervision_cpu1.c"
     
    Building file: "../sources/pll_pfc.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="sources/pll_pfc.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="sources" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "../sources/pll_pfc.c"
    Finished building: "../sources/pll_pfc.c"
     
    Building file: "syscfg/board.c"
    Invoking: C2000 Compiler
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/sources/includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_multi/shared_includes" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/device" --include_path="C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib" --include_path="C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="C:/Users/a.thurin/Desktop/Projets logiciels/2205-CTC-CHRG7K-SW/2205_ctc_chrg7k_sw_cpu1/FLASH/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/device_cmd.opt" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/board.c"
    Finished building: "syscfg/board.c"
     
    Building target: "2205_ctc_chrg7k_sw_cpu1.out"
    Invoking: C2000 Linker
    "C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" --cmd_file="syscfg/device_cmd.opt"  -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --fp_mode=relaxed --advice:performance=all --define=_FLASH --define=DEBUG --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"2205_ctc_chrg7k_sw_cpu1.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib" -i"C:/TI/CCS/CCS12.50/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="2205_ctc_chrg7k_sw_cpu1_linkInfo.xml" --entry_point=code_start --rom_model -o "2205_ctc_chrg7k_sw_cpu1.out" "./syscfg/board.obj" "./syscfg/device_cmd.obj" "./syscfg/c2000ware_libraries.obj" "./device/F2838x_CodeStartBranch.obj" "./device/device.obj" "./sources/converter_io.obj" "./sources/init_cla_cpu1.obj" "./sources/main_cpu1.obj" "./sources/pll_pfc.obj" "./sources/regulation_pfc.obj" "./sources/supervision_cpu1.obj" "C:/TI/SDK/C2000Ware/C2000Ware_5_01_00_00/driverlib/f2838x/driverlib/ccs/Debug/driverlib.lib" "../sources/includes/SFO_v8_fpu_lib_build_c28_driverlib_eabi.lib" -l"syscfg/device_cmd.cmd"  -llibc.a 
    <Linking>
    warning #10461-D: Invalid to call C28 function "sqrtf" defined in "C:\TI\CCS\CCS12.50\ccs\tools\compiler\ti-cgt-c2000_22.6.1.LTS\lib\rts2800_fpu64_eabi.lib<e_sqrtf.c.obj>" from CLA file "./sources/regulation_pfc.obj"
    warning #10247-D: creating output section ".text" without a SECTIONS specification
    warning #10247-D: creating output section ".data" without a SECTIONS specification
    warning #10247-D: creating output section ".bss" without a SECTIONS specification
    warning #10247-D: creating output section ".cinit" without a SECTIONS specification
    warning #10247-D: creating output section ".const" without a SECTIONS specification
    warning #10247-D: creating output section "codestart" without a SECTIONS specification
    warning #10247-D: creating output section "CpuToCla1MsgRAM" without a SECTIONS specification
    warning #10247-D: creating output section ".bss_cla" without a SECTIONS specification
    warning #10247-D: creating output section "Cla1Prog" without a SECTIONS specification
    warning #10247-D: creating output section ".scratchpad" without a SECTIONS specification
    error #10430-D: ".TI.ramfunc" section generated by __attribute__((ramfunc)) or --ramfunc=on requires a SECTIONS specification to function.
    error #10010: errors encountered during linking; "2205_ctc_chrg7k_sw_cpu1.out" not built
     
    >> Compilation failure
    makefile:152: recipe for target '2205_ctc_chrg7k_sw_cpu1.out' failed
    gmake[1]: *** [2205_ctc_chrg7k_sw_cpu1.out] Error 1
    makefile:148: recipe for target 'all' failed
    gmake: *** [all] Error 2
    
    **** Build Finished ****

    此致、

    阿德里安

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

    Adrien、

    似乎链接器命令文件的内容没有链接。

    您需要在项目属性中定义 device_cmd.cmd 文件中使用的相应宏(generic_flash_lnk 或 generic_ram_lnk)、如下所示。

    此致

    西达尔特

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

    Siddharth、

    我添加了  GENERAL_FLASH_lnk 命令、但结果是相同的。 与 generic_ram_lnk 相同。 此外、生成的 cmd 文件中没有对通用任何内容的引用。

    即使它起作用,它是否不会指向生成的.cmd 之外的.cmd?

    此致、

    阿德里安

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

    Adrien、  

    请共享  生成的 device_cmd.cmd 文件。   

    我并不是要添加一个新的链接器命令文件,而是只使用与生成的 device_cmd.cmd 文件一起使用的宏。  

    此致

    西达尔特

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

    Siddharth、

    好的、我现在就明白了!  问题解决了!  

    下面是生成的 cmd 文件:

    #ifdef CMD_FLASH
    
    MEMORY
    {
    
        RAMM0                     : origin = 0x0001B1, length = 0x00024F
        RAMM1                     : origin = 0x000400, length = 0x0003F8
        CLATOCPU_MSGRAM           : origin = 0x001480, length = 0x000080
        CPUTOCLA_MSGRAM           : origin = 0x001500, length = 0x000080
        CLATODMA_MSGRAM           : origin = 0x001680, length = 0x000080
        DMATOCLA_MSGRAM           : origin = 0x001700, length = 0x000080
        CLA1_RAM_COMBINATION      : origin = 0x008000, length = 0x001800
        RAMLS3                    : origin = 0x009800, length = 0x000800
        RAMLS4                    : origin = 0x00A000, length = 0x000800
        RAMLS5                    : origin = 0x00A800, length = 0x000800
        RAMLS6                    : origin = 0x00B000, length = 0x000800
        RAMLS7                    : origin = 0x00B800, length = 0x000800
        RAMD0                     : origin = 0x00C000, length = 0x000800
        RAMD1                     : origin = 0x00C800, length = 0x000800
        RAMGS0                    : origin = 0x00D000, length = 0x001000
        RAMGS1                    : origin = 0x00E000, length = 0x001000
        RAMGS2                    : origin = 0x00F000, length = 0x001000
        RAMGS3                    : origin = 0x010000, length = 0x001000
        RAMGS4                    : origin = 0x011000, length = 0x001000
        RAMGS5                    : origin = 0x012000, length = 0x001000
        RAMGS6                    : origin = 0x013000, length = 0x001000
        RAMGS7                    : origin = 0x014000, length = 0x001000
        RAMGS8                    : origin = 0x015000, length = 0x001000
        RAMGS9                    : origin = 0x016000, length = 0x001000
        RAMGS10                   : origin = 0x017000, length = 0x001000
        RAMGS11                   : origin = 0x018000, length = 0x001000
        RAMGS12                   : origin = 0x019000, length = 0x001000
        RAMGS13                   : origin = 0x01A000, length = 0x001000
        RAMGS14                   : origin = 0x01B000, length = 0x001000
        RAMGS15                   : origin = 0x01C000, length = 0x000FF8
        CMTOCPURAM                : origin = 0x038000, length = 0x000800
        CPUTOCMRAM                : origin = 0x039000, length = 0x000800
        CPU1TOCPU2RAM             : origin = 0x03A000, length = 0x000800
        CPU2TOCPU1RAM             : origin = 0x03B000, length = 0x000800
        FLASH0                    : origin = 0x080000, length = 0x002000
        FLASH1                    : origin = 0x082000, length = 0x002000
        FLASH2                    : origin = 0x084000, length = 0x002000
        FLASH3                    : origin = 0x086000, length = 0x002000
        FLASH4                    : origin = 0x088000, length = 0x008000
        FLASH5                    : origin = 0x090000, length = 0x008000
        FLASH6                    : origin = 0x098000, length = 0x008000
        FLASH7                    : origin = 0x0A0000, length = 0x008000
        FLASH8                    : origin = 0x0A8000, length = 0x008000
        FLASH9                    : origin = 0x0B0000, length = 0x008000
        FLASH10                   : origin = 0x0B8000, length = 0x002000
        FLASH11                   : origin = 0x0BA000, length = 0x002000
        FLASH12                   : origin = 0x0BC000, length = 0x002000
        FLASH13                   : origin = 0x0BE000, length = 0x002000
        RESET                     : origin = 0x3FFFC0, length = 0x000002
    }
    
    
    SECTIONS
    {
        //
        // C28x Sections
        //
        .reset               : >  RESET, TYPE = DSECT /* not used, */
        codestart            : >  0x080000
        .text                : >> FLASH1 | FLASH2 | FLASH3 | FLASH4,
                                  ALIGN(8)
        .TI.ramfunc          :    LOAD >  FLASH3,
                                  RUN  >  RAMGS1,
                                  TABLE(BINIT),
                                  LOAD_START(loadStart_ramfunc),
                                  LOAD_END(loadEnd_ramfunc),
                                  LOAD_SIZE(loadSize_ramfunc),
                                  RUN_START(runStart_ramfunc),
                                  RUN_END(runEnd_ramfunc),
                                  RUN_SIZE(runSize_ramfunc),
                                  ALIGN(8)
        .binit               : >  FLASH4,
                                  ALIGN(8)
        .ovly                : >  FLASH1,
                                  ALIGN(8)
        .cinit               : >  FLASH4,
                                  ALIGN(8)
        .stack               : >  RAMM1
        .init_array          : >  FLASH1,
                                  ALIGN(8)
        .bss                 : >  RAMGS1
        .const               : >  FLASH5,
                                  ALIGN(8)
        .data                : >  RAMGS1
        .switch              : >  FLASH1,
                                  ALIGN(8)
        .sysmem              : >  RAMGS1
    
        //
        // CLA Sections
        //
        Cla1Prog             :    LOAD >  FLASH4,
                                  RUN  >  CLA1_RAM_COMBINATION,
                                  TABLE(BINIT),
                                  LOAD_START(loadStart_cla1Prog),
                                  LOAD_END(loadEnd_cla1Prog),
                                  LOAD_SIZE(loadSize_cla1Prog),
                                  RUN_START(runStart_cla1Prog),
                                  ALIGN(8)
        .const_cla           :    LOAD >  FLASH2,
                                  RUN  >  RAMLS3,
                                  TABLE(BINIT),
                                  LOAD_START(loadStart_claConst),
                                  LOAD_SIZE(loadSize_claConst),
                                  RUN_START(runStart_claConst),
                                  ALIGN(8)
        .scratchpad          : >  RAMLS3
        .bss_cla             : >  RAMLS3
        cla1ToCpuMsgRAM      : >  CLATOCPU_MSGRAM,
                                  TYPE(NOINIT)
        cpuToCla1MsgRAM      : >  CPUTOCLA_MSGRAM,
                                  TYPE(NOINIT)
        MSGRAM_CPU1_TO_CPU2 : > CPU1TOCPU2RAM, type=NOINIT
        MSGRAM_CPU2_TO_CPU1 : > CPU2TOCPU1RAM, type=NOINIT
        MSGRAM_CPU_TO_CM    : > CPUTOCMRAM, type=NOINIT
        MSGRAM_CM_TO_CPU    : > CMTOCPURAM, type=NOINIT
    
    }
    
    #endif
    
    /*
    //===========================================================================
    // End of file.
    //===========================================================================
    */
    

    在前面的消息之后、我将 CMD_FLASH 添加到了编译器预定义符号(+ 在链接器预定义符号中添加了 GENERAL_FLASH_lnk)。

    现在我了解了您的意思、我添加了 CMD_FLASH 作为链接器预定义符号、现在可以正常使用  

    非常感谢您的帮助!

    此致、

    阿德里安

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

    我应该说我仍然有1个错误:  

    warning #10247-D: creating output section "CpuToCla1MsgRAM" without a SECTIONS specification

    这对应于具有奇怪警告的部分(参见第一篇文章)。

    如果你有解决这个问题的办法,那就太棒了!

    我还看到针对 CPU2 cmd 配置的类似警告、希望该解决方案对这两者都有效。  

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

    您好!

    您 将必须 如下所示为 cpuToCla1MsgRAM 添加一个部分、才能消除此警告

    此致

    西达尔特

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

    您好!

    这似乎是问题的一部分:  

    此致、

    阿德里安

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

    Adrien、

    我不确定您的意思、请澄清一下。

    此致

    西达尔特

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

    Siddharth、

    我不知道发生了什么、这就是问题所在。 CMD 部分(仅在 CPUTOCLA 子部分中)中存在此警告、指出需要启用 MEMCFG。 除此之外、(请参阅本线程中的第一个屏幕截图)、它适用于所有其他子部分。

    结果是、生成的 cmd 文件中没有 CPU 至 CLA 部分、这会导致编译错误。

    CPU2中还有其他子部分似乎有类似的问题、但如果是同一个问题、我不会感到惊讶、因此如果解决这个问题不能解决其他问题、我会联系您。

    此致、

    阿德里安

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

    阿德里安

    我看到在生成的中、已经在   生成的链接器命令中为 cpuToCla1MsdRAM 段分配了一个存储器 CPUTOCLA_MSGRAM。  编译期间是否收到警告或错误?

    此致

    西达尔特

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

    Siddharth、

    这是非常奇怪的,我会宣誓它不是在那里,我上次检查。

    CPU1的链接期间警告已经消失(但 SysConfig 中的警告仍然存在)。

     

    我移至 CPU2、尽管 SysConfig CMD 模块的配置相同、但链接警告也存在。 此外、还有其他警告、请参阅下文。

    在 SysConfig 中、CpuToClaMsgRAM 部分中提供了有关需要激活 memcfg 的警告。 SysConfig 中还有与使用 GSRAM 的段中链接期间相同的警告。

    这不会阻止编译,所以我可以尝试继续,但我只能希望它不会导致操作中的问题...

    SysConfig 是否有可能出现会导致这些警告的问题?

    此致、

    阿德里安

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

    Adrien、  

    我们将对此进行检查并回复给您。   

    此致

    西达尔特