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.

CCS/TIDM-2PHILPFC: Unresolved Symbols Importing from controlSuite

Part Number: TIDM-2PHILPFC
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE, POWERSUITE

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.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    **** 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'
    ' '
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX