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.

TMS320F280049C: F28P55x project compile error

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE, SYSCONFIG

I used to use CCS12.5 + C2000Ware_5_02_00_00_EA1 on my  F28P55x project, after a bunch of manual ZIP file extraction, because  F28P55x was not officially supported yet.

I now upgraded to CCS12.7 + C2000Ware_5_02_00_00 which have native support of  F28P55x without any manual ZIP file extraction like we had at FCS. When compiling the same project, it errored out like below:

Could you advise how to fix this issue? 

Thanks,

Quentin

  • Hi Quentin,

    Using the latest 12.7 and C2000WARE 5_02, I am unable to reproduce the error. Could you send over the source of this .cccml?

    Best,

    Ryan Ma

  • Thanks Ryan, please see below:

    =============

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">

    <configuration XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">

    <instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe_0" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe_0" xml="TIXDS110_Connection.xml" xmlpath="connections"/>

    <connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">

    <instance XML_version="1.2" href="drivers/tixds510icepick_c.xml" id="drivers" xml="tixds510icepick_c.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/tixds510c28x.xml" id="drivers" xml="tixds510c28x.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/tixds510cla1.xml" id="drivers" xml="tixds510cla1.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/tixds510cs_child.xml" id="drivers" xml="tixds510cs_child.xml" xmlpath="drivers"/>

    <instance XML_version="1.2" href="drivers/tixds510ajsm.xml" id="drivers" xml="tixds510ajsm.xml" xmlpath="drivers"/>

    <platform XML_version="1.2" id="platform_0">

    <instance XML_version="1.2" desc="TMS320F28P550SJ9_0" href="devices/f28p550sj9.xml" id="TMS320F28P550SJ9_0" xml="tms320f28p550sj9.xml" xmlpath="devices"/>

    <device HW_revision="1" XML_version="1.2" description="" id="TMS320F28P550SJ9_0" partnum="TMS320F28P550SJ9" simulation="no">

    <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C router" id="IcePick_C_0" isa="ICEPICK_C">

    <subpath id="Subpath_1">

    <property Type="numericfield" Value="0x11" desc="Port Number_0" id="Port Number"/>

    </subpath>

    <subpath id="Subpath_0">
    <cpu HW_revision="1.0" XML_version="1.2" desc="CPU1_CLA1" description="CLA Accelerator" id="CPU1_CLA1" isa="TMS192C2008"/>
    </subpath>
    </router>

    </device>

    </platform>

    </connection>

    </configuration>

    </configurations>

  • As I mentioned in the beginning, there was no such compile error when I used to use CCS12.5 + C2000Ware_5_02_00_00_EA1 on the same  F28P55x project

  • Hi Quentin,

    Apologize for the late response.

    I noticed in yours, you are using CLA1. 

    <instance XML_version="1.2" href="drivers/tixds510cla1.xml" id="drivers" xml="tixds510cla1.xml" xmlpath="drivers"/>

    In our latest C2000WARE release, we are using cla2.xml. Attached is the target config downloaded from ti.com. Please make sure you have downloaded the latest!

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/TMS320F28P550SJ9.ccxml

    Best regards,

    Ryan Ma

  • Thanksa lot,  Ryan, after downloading  TMS320F28P550SJ9.ccxml  you provided, there is no compile error I previously got, but there is still compiler error as shown below:

    ===============

    **** Build of configuration CPU1_FLASH for project QS2 ****

    "C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../epwm_ex1_trip_zone.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1270/ccs/utils/sysconfig_1.20.0/sysconfig_cli.bat" --script "C:/Users/fuque/Documents/JX_CCS_git/JX_QS2gitRepository/QS2/epwm_ex1_trip_zone.syscfg" -o "syscfg" -s "/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT --compiler ccs
    subdir_rules.mk:16: recipe for target 'build-785151345' failed
    Invalid argument '-s': File "C:\.metadata\sdk.json" does not exist
    gmake: *** [build-785151345] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    ===============

    Could you advise how to fix this? Thanks

  • Hi Quentin,

    Before the build, can you open the SysCfg file within CCS? 

    Best,

    Ryan Ma

  • Hi Ryan,

    On CCS UI, I clicked/double clicked on "SysConfig", but nothing happened. Is this what you are talking about?

  • Hi Quentin,

    I meant the .syscfg file in your project.

    Best,

    Ryan Ma

  • Hi Ryan,

    I double clicked on  the file and got the error below:

  • Hi Quentin,

    Could you please show me your project properties-> General -> Products

    What SysConfig version are you using? What C2000WARE is your CCS pointing to?

    Best,

    Ryan Ma

  • Hi Ryan, please see below:

  • Any update on this? Thanks

  • Hi Quentin,

    Apologize, for some reason the thread was not showing up on my dashboard.

    For the SysConfig, can you select the latest 1.20? Double click on that SysConfig [1.18.99 -> 1.20) and choose 1.20.

    Close the .syscfg file, then re open it.

  • Hi Ryan,

    I upgraded to SysConfig 1.20.0 as shown below:

    But double clicking .syscfg still got the error below:

    I still got the same compile error below. I also tried restarting CCS but it did not help.

    ===============

    **** Build of configuration CPU1_FLASH for project QS2 ****

    "C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../epwm_ex1_trip_zone.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1270/ccs/utils/sysconfig_1.20.0/sysconfig_cli.bat" --script "C:/Users/fuque/Documents/JX_CCS_git/JX_QS2gitRepository/QS2/epwm_ex1_trip_zone.syscfg" -o "syscfg" -s "/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT --compiler ccs
    subdir_rules.mk:16: recipe for target 'build-785151345' failed
    Invalid argument '-s': File "C:\.metadata\sdk.json" does not exist
    gmake: *** [build-785151345] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    ===============

  • Hi Quentin,

    Where is your C2000WARE_ROOT pointing to? Please verify this in your Build from the project properties.

  • Hi Ryan,

    Please see below. I don't have  C2000WARE_ROOT variable defined. Comparing to yours, lots of variables are missing on my side. Is this because something went wrong during the installation of CCS? 

    How should I proceed? Add those missing variables? Or reinstall CCS? Please advise

  • Actually I installed CCS12.7 on another computer, and there is no C2000WARE_ROOT variable defined either. Please see below:

  • Click on Variables tab, then check System Variables.

  • Ok, then I got this:

  • Is it because there is no   COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR  defined?  Please see below -- there is only COM_TI_C2000WARE_INSTALL_DIR for some reason

  • Hi Quentin,

    Yes that would be the reason. you can edit that variable to match what is in your path variables.

    That should resolve the sysconfig issue.

    Best,

    Ryan Ma

  • Hi Ryan,

    Thanks a lot for your suggestions, but I still can not make it work.

    Then I turned to another approach:  I am able to install CCS12.7 on another computer (let me call it "computer #2"), and have a project compile. From "computer #2", I exported the whole project, and then imported the project to the current computer. I would expect the two CCS have the same settings and generate the same results,  but it still errors out as below when compiling:

    =====================
    **** Build of configuration CPU1_FLASH for project QS2 ****

    "C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../epwm_ex1_trip_zone.syscfg"
    Invoking: SysConfig
    "C:/ti/ccs1270/ccs/utils/sysconfig_1.20.0/sysconfig_cli.bat" --script "C:/Users/fuque/Documents/workspace_CCS/workspace_v12/QS2/epwm_ex1_trip_zone.syscfg" -o "syscfg" -s "/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT --compiler ccs
    subdir_rules.mk:16: recipe for target 'build-785151345' failed
    gmake: *** No rule to make target 'C:/ti/ccs1270/ccs/eclipse/driverlib/f28p55x/driverlib/ccs/Release/driverlib.lib', needed by 'all'.
    Invalid argument '-s': File "C:\.metadata\sdk.json" does not exist
    gmake: *** [build-785151345] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    =====================

  • Hi Quentin,

    Can you show me a screenshot of your SysConfig build settings like the one below?

    If you click on "edit flags...", do you see the same line:

    -o "syscfg" -s "${SYSCONFIG_TOOL_SYSCONFIG_MANIFEST}" -s "${COM_TI_C2000WARE_SYSCONFIG_MANIFEST}" -s "${C2000WARE_ROOT}/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT 

  • Hi Ryan,

    Please see below -- it is only:  -o "syscfg" -s "/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT --compiler ccs

  • Hi Quentin,

    Can you press on "edit flags"? "/.metadata/sdk.json" is a variable name.

  • Hi Ryan, please see below:

  • Hi Quentin,

    Thank you, can please create a new variable under your path variables. Please follow the following steps:

    1. Open your project properties -> Build -> Variables -> Add...

    2. Copy and paste this to variable name, select path, make sure to point the direction to your c2000ware install directory as shown below.

    COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR

    3. Clean your project, then build your project

    Best,

    Ryan Ma

  • Thanks, Ryan. I followed your advice to add  as below:

    but still got the following compile error:

    =======

    **** Build of configuration CPU1_FLASH for project QS2 ****

    "C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    gmake: *** No rule to make target 'C:/ti/ccs1270/ccs/eclipse/driverlib/f28p55x/driverlib/ccs/Release/driverlib.lib', needed by 'all'.
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

  • Hi Quentin,

    This error is related to driverlib.lib. Can you confirm that SysConfig now opens?

    C:/ti/ccs1270/ccs/eclipse/driverlib/f28p55x/driverlib/ccs/Release/driverlib.lib

    This doesn't seem like the correct path it should be pointing... it should point to your C2000WARE sdk.

    Can you right click on the driverlib.lib file and view its properties?

    Check under Resource and the location

    Best,

    Ryan Ma

  • Thanks, SysConfig now opens. But locaiton of driverlib.lib is a problem. Please see below:

  • I changed from "\" to "/" when defining COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR, as shown below:

    but still have unresolved location as shown below:

  • Hi Quentin,

    Please edit the location and replace COM_TI_C2000WARE_SOFTWARE_PACKAGE_INSTALL_DIR to be COM_TI_C2000WARE_INSTALL_DIR

    if this does not work, please update the location manually to point to where this driverlib.lib is found which will be in your c2000ware path, /driverlib/f28p55x/driverlib/ccs/Release/driverlib.lib.

    Best,

    Ryan Ma

  • Hi Ryan,

    Thanks a lot for your help! Anyway, I am able to compile now. Please close this case.

    Thanks,

    Quentin