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.
Tool/software: Code Composer Studio
CCS v7.1
I am importing the 2-Phase ILPFC project from controlSuite within CCS.
I get unresolved symbol errors when compiling. "unresolved symbol _CNTRL_2P2Z_Coef2....etc."
I have installed the C2000 compiler software from within CCS as well as C2000Ware.
Mathew Morrow said:I am importing the 2-Phase ILPFC project from controlSuite within CCS.
Could you provide the exact location/directory of the project within ControlSuite so we can try to import and build the same project to confirm if the issue is reproducible at our end?
The location is
C:\ti\controlSUITE\development_kits\ILPFC_v1.3\IL_PFC_F28035_powerSUITE
I am importing the project directly from controlSUITE within CCS.
controlSUITE standalone will not let me import and tells me to do it from within CCS controlSUITE.
I had no errors when building this project in CCS 7.1. Could you try importing it into a new workspace and see if that helps?
I am attaching the build output from my build here, you can use it to compare with yours to see if/where the differences are.
**** Build of configuration F2803x_FLASH for project ILPFC **** "C:\\CCStudio_v7.1.0.00015\\ccsv7\\utils\\bin\\gmake" -k all gmake[1]: Entering directory 'C:/workspaces/ccsv710/c2000_workspace/ILPFC/F2803x_FLASH' 'Building file: ../main.cfg' 'Invoking: XDCtools' "C:/CCStudio_v6.1.0.00104/xdctools_3_31_00_24_core/xs" --xdcpath="C:/ti/controlSUITE/powerSUITE/v_1_07_00_00/packages;" xdc.tools.configuro -o configPkg -t devkits.target.Generic -p devkits.platform -r debug -c "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS" -Dxdc.cfg.tsort.policy=fast -Dxdc.cfg.gen.metadataFiles=false -Dxdc.cfg.SourceDir.verbose=7 --compileOptions "-v28 -ml -mt --cla_support=cla0 --include_path=\"C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include\" --include_path=\"C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include\" --include_path=\"C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include\" --include_path=\"C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include\" --include_path=\"C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include\" --include_path=\"C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers\" --include_path=\"C:/ti/controlSUITE/libs/math/IQmath/v160/include\" --include_path=\"C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros\" --advice:performance=all -g --define=\"_DEBUG\" --define=\"FLASH\" --define=\"LARGE_MODEL\" --diag_warning=225 " "../main.cfg" making package.mak (because of package.bld) ... generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ... configuring main.x28L from package/cfg/main_p28L.cfg ... projectDir: C:/workspaces/ccsv710/c2000_workspace/ILPFC LockFilePath: C:/workspaces/ccsv710/c2000_workspace/ILPFC/.cookie validate, xmlFile: C:/workspaces/ccsv710/c2000_workspace/ILPFC/Kit.xml Writing power stage params to XML and compensation option number! Read compensation values from XML Writing COMP0_A1 1.11599596701901 1.11599596701901 Read compensation values from XML Writing COMP0_A1 1.11599596701901 1.11599596701901 genHeaderFile C:/workspaces/ccsv710/c2000_workspace/ILPFC/ILPFC_Base-Settings.h cl28L package/cfg/main_p28L.o28L ... Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true 'Finished building: ../main.cfg' ' ' gmake[1]: Leaving directory 'C:/workspaces/ccsv710/c2000_workspace/ILPFC/F2803x_FLASH' 'Building file: C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/CNF/ADC_SOC_Cnf.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="ADC_SOC_Cnf.d" --cmd_file="configPkg/compiler.opt" "C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/CNF/ADC_SOC_Cnf.c" 'Finished building: C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/CNF/ADC_SOC_Cnf.c' ' ' 'Building file: ../DSP2803x_Adc.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_Adc.d" --cmd_file="configPkg/compiler.opt" "../DSP2803x_Adc.c" 'Finished building: ../DSP2803x_Adc.c' ' ' 'Building file: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_CodeStartBranch.d" --cmd_file="configPkg/compiler.opt" "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" 'Finished building: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm' ' ' 'Building file: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_GlobalVariableDefs.d" --cmd_file="configPkg/compiler.opt" "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" 'Finished building: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c' ' ' 'Building file: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_usDelay.asm' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="DSP2803x_usDelay.d" --cmd_file="configPkg/compiler.opt" "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_usDelay.asm" 'Finished building: C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/source/DSP2803x_usDelay.asm' ' ' 'Building file: ../ILPFC-DPL-ISR.asm' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="ILPFC-DPL-ISR.d" --cmd_file="configPkg/compiler.opt" "../ILPFC-DPL-ISR.asm" 'Finished building: ../ILPFC-DPL-ISR.asm' ' ' 'Building file: ../ILPFC-DevInit_F2803x.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="ILPFC-DevInit_F2803x.d" --cmd_file="configPkg/compiler.opt" "../ILPFC-DevInit_F2803x.c" 'Finished building: ../ILPFC-DevInit_F2803x.c' ' ' 'Building file: ../ILPFC-Main.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="ILPFC-Main.d" --cmd_file="configPkg/compiler.opt" "../ILPFC-Main.c" 'Finished building: ../ILPFC-Main.c' ' ' 'Building file: ../PWMDRV_2ch_UpDwnCnt.asm' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="PWMDRV_2ch_UpDwnCnt.d" --cmd_file="configPkg/compiler.opt" "../PWMDRV_2ch_UpDwnCnt.asm" 'Finished building: ../PWMDRV_2ch_UpDwnCnt.asm' ' ' 'Building file: ../PWM_2ch_UpDwnCnt_Cnf.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="PWM_2ch_UpDwnCnt_Cnf.d" --cmd_file="configPkg/compiler.opt" "../PWM_2ch_UpDwnCnt_Cnf.c" 'Finished building: ../PWM_2ch_UpDwnCnt_Cnf.c' ' ' 'Building file: ../SciCommsGui_32bit.c' 'Invoking: C2000 Compiler' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --include_path="C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --include_path="C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/include" --include_path="C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_common/include" --include_path="C:/ti/controlSUITE/development_kits/~SupportFiles/F2803x_headers" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.4/asm_macros" --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 --preproc_with_compile --preproc_dependency="SciCommsGui_32bit.d" --cmd_file="configPkg/compiler.opt" "../SciCommsGui_32bit.c" 'Finished building: ../SciCommsGui_32bit.c' ' ' 'Building target: ILFC_2803x.out' 'Invoking: C2000 Linker' "C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --advice:performance=all -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --diag_warning=225 -z -m"ILFC_2803x.map" --stack_size=0x380 --warn_sections -i"C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/lib" -i"C:/ti/controlSUITE/libs/math/IQmath/v160/IQ/lib" -i"C:/ti/controlSUITE/libs/app_libs/SFRA/v1_10_00_00/IQ/lib" -i"C:/CCStudio_v7.1.0.00015/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --reread_libs --xml_link_info="ILFC_2803x_linkInfo.xml" --rom_model -o "ILFC_2803x.out" "./ADC_SOC_Cnf.obj" "./DSP2803x_Adc.obj" "./DSP2803x_CodeStartBranch.obj" "./DSP2803x_GlobalVariableDefs.obj" "./DSP2803x_usDelay.obj" "./ILPFC-DPL-ISR.obj" "./ILPFC-DevInit_F2803x.obj" "./ILPFC-Main.obj" "./PWMDRV_2ch_UpDwnCnt.obj" "./PWM_2ch_UpDwnCnt_Cnf.obj" "./SciCommsGui_32bit.obj" "C:/ti/controlSUITE/device_support/f2803x/v126/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" "../F28035_FLASH.CMD" "C:/ti/controlSUITE/libs/math/IQmath/v160/lib/IQmath.lib" -l"configPkg/linker.cmd" -llibc.a -lSFRA_IQ_Lib.lib --diag_suppress=16002 <Linking> "../F28035_FLASH.CMD", line 104: warning: no matching section 'Finished building target: ILFC_2803x.out' ' ' **** Build Finished ****