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.

Sample code for LAUNCHXL-F28027 doesn't compile

Other Parts Discussed in Thread: CONTROLSUITE

Team, can you please assist with this issue:

Windows 7 installed on the machine, running a version of CCS 5.2.

MSP430 launchpad, and F28335 dev kits are recognized - no problem.

However, the contruil suite examples for LAUNCHXL-F28027 compile with a lot of errors.

Is there some known issue of LAUNCHXL-F28027 incompatibility with Win 7?

 

Thanks

Viktorija

 

  • Hi Victorija,

    what exact errors are being experienced?  It would also be great if you could point me to the exact example and control suite version being used.  That I am aware of there have been a handful of issues which have work arounds, but none related to win 7 as an operating system.   It might be a good idea to try on a fresh full ccsv5.3 installation.  It could be that any issue being hit has been resolved, but please do not do the migration as an update.  Make sure it is a fresh full installation.

    Please keep us informed.

    Best Regards,
    Lisa

  • Hey Guys,

    There seems to be a small trend in the c2000 forum of people having linking issues such as this thread: http://e2e.ti.com/support/microcontrollers/c2000/f/171/p/207406/734983.aspx#734983

    Issues vary from install locations to include paths, we first need to know if this is the source of the errors.

    Thanks,

    JD

  • Lisa,

    I am using CCS5.2.1.00018_win32 and Control Suite 3.1.3.

     

    Below is the CDT Build Console information

    **** Build of configuration Flash for project Example_F2802xLaunchPadDemo ****

    C:\ti\ccsv5\utils\bin\gmake -k all

    'Building file: ../Example_F2802xLaunchPadDemo.c'

    'Invoking: C2000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c2000_6.1.0/bin/cl2000" -v28 -ml -mt -O0 -g --include_path="C:/ti/ccsv5/tools/compiler/c2000_6.1.0/include" --include_path="F:/TI_CCS5" --include_path="C:/TI/xdais_7_21_01_07/packages/ti/xdais" --define="_FLASH" --define=NDEBUG --define="_DEBUG" --define="LARGE_MODEL" --quiet --verbose_diagnostics --diag_warning=225 --gen_func_subsections=on --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="Example_F2802xLaunchPadDemo.pp" "../Example_F2802xLaunchPadDemo.c"

    "../Example_F2802xLaunchPadDemo.c", line 75: fatal error: could not open

    source file "DSP28x_Project.h"

    #include "DSP28x_Project.h" // DSP28x Headerfile

    >> Compilation failure

    ^

    1 fatal error detected in the compilation of "../Example_F2802xLaunchPadDemo.c".

    Compilation terminated.

    gmake: *** [Example_F2802xLaunchPadDemo.obj] Error 1

    gmake: *** No rule to make target `F:/TI_CCS5/F2802x_headers/cmd/F2802x_Headers_nonBIOS.cmd', needed by `Example_F2802xLaunchPad_demo.out'.

    gmake: *** No rule to make target `F:/TI_CCS5/f2802x_common/lib/driverlib.lib', needed by `Example_F2802xLaunchPad_demo.out'.

    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

     

    Best regards,

    Keith Pant

    keith.pant@goodrich.com

    1-937-440-2146

     

  • Hi Keith,

    this does seem like you need to correct your include paths and variables.  Have a look at this wiki topic and give that a try and keep us informed.

    http://processors.wiki.ti.com/index.php/Include_paths_and_options

    Hopefully that should help.

    Best Regards,
    Lisa

  • Hi Keith,

    can you import a control suite example from the resource explorer?  Can you verify you double checked the build and path variables control suite uses?

    Also check here are there are some comments on ControlSuite.

    http://processors.wiki.ti.com/index.php/Project_Sharing#Known_Issues

    Best Regards,
    Lisa

  • This is an imported control suite example from the resource explorer.

    No help from other links.

    My opinion on TI is sinking fast.

     

  • Hi Keith,

    please send me the exact steps/example.  I will see if I can reproduce it here and go from there as to corrective action.  It may not be until the morning now however.

    Best Regards,
    LIsa

  • Here are the example file(s) for this project:

    C:\TI\controlSUITE\development_kits\C2000_LaunchPad\f2802x_examples\C2kLaunchPadDemo

    • Click hereto browse the example file(s)
    • Click here to copy the file(s)

    To set up a project based on an existing example:

    1. Click on the link above to copy the files to the desired destination directory.
    2. To import the projects into CCS, click here to start CCS and select Project -> Import Existing CCS Eclipse Project.

     

    best regards,

    Keith Pant

     

  • Hi Keith,

    I believe the issue you are seeing is due to using an old ccs version.  I have tried many control suite projects on the latest version of CCS (5.3) and do not see the same issues which are now resolved if you grab the latest packges.  Especially as you are using a new device and support for the C2000 launchpad.

    Unfortunately I am going to have to recommend you install a fresh full version of v5.3 (do not update) into a new directory.

    Please keep us informed how that goes.  You should then see no issues with the examples.

    Best Regards,
    Lisa

  • 我现在使用的是CCS(5.1.0),用LaunchPad f28027开发板,编译 例程Example_F2802x0controlPadDemo,出现

    **** Build of configuration Debug for project Example_F2802xLaunchPadDemo ****

    C:\ti\ccsv5\utils\bin\gmake -k all
    'Building file: ../Example_F2802xLaunchPadDemo.c'
    'Invoking: C2000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c2000/bin/cl2000" --cmd_file="E:\GXQ\gxq2015\DSP\workspace_v5_1\1004\Example_F2802xLaunchPadDemo\F28027.cmd" -v28 -mt -ml -g --include_path="C:/ti/ccsv5/tools/compiler/c2000/include" --diag_warning=225 --display_error_number --preproc_with_compile --preproc_dependency="Example_F2802xLaunchPadDemo.pp" "../Example_F2802xLaunchPadDemo.c"
    [MEMORY.]
    >> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
    Fatal error #5: could not open source file "MEMORY"
    1 fatal error detected in the compilation of "MEMORY".
    Compilation terminated.

    >> Compilation failure
    gmake: *** [Example_F2802xLaunchPadDemo.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****
    在Problems中没有提示warning或Error。
    这难倒是版本引起的?换CCS(5.3)就不会有了么?