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.

new project How do I do it?

Other Parts Discussed in Thread: TMS320F28027, LM3S6965, CONTROLSUITE

I have the C2000 Launch Pad. Using ccs5.

I can build run and change the examples. I can copy my code into an existing examples and build and changr and run the projects.

I would like to have my specific project name and progran name.

Is there any instruction on how to create a new project?

 I have followed all the helos I can find but none work.

  • Hello,

    Have you seen the Getting Started Guide? There is a section on creating a new project;

    http://processors.wiki.ti.com/index.php/GSG:Creating_projects_v5

    Thanks

    ki

  • Yes but I always end here. Problem with Memory size and librarys Where are the Libraries?

    Problem list as follows.

    Description Resource Path Location Type

    #10010 errors encountered during linking; "CW_5.out" not built CW_5  

     C/C++ Problem <a href="file:/C:/TI_5_C2000_LP/ccsv5/tools/compiler/dmed/HTML/10099.html"

    #10099-D</a>  program will not fit into available memory. 

    placement with alignment/blocking fails for section ".text" size 0x108c page 0.  Available memory ranges: 28027_RAM_lnk.cmd /CW_5 line 114 

    C/C++ Problem <a href="file:/C:/TI_5_C2000_LP/ccsv5/tools/compiler/dmed/HTML/10234.html">

      #10234-D</a>  unresolved symbols remain CW_5

     _DSP28x_usDelay, first referenced in ./main.obj CW_5

    _GPIO_init, first referenced in ./main.obj CW_5  

    _GPIO_setDirection, first referenced in ./main.obj CW_5    C/C++ Problem unresolved symbol

    _GPIO_setHigh, first referenced in ./main.obj CW_5    C/C++ Problem unresolved symbol _GPIO_setLow, first referenced in ./main.obj CW_5    

    C/C++ Problem unresolved symbol _GPIO_setMode, first referenced in ./main.obj CW_5    C/C++ Problem

    Thanks

    Martin Potts

  • Any help?

    I have tried several times with the same results. Import, modify, build ,run OK.

    Using CCS5 new project add the includes I know about, add the code that worked it the Import gets RAM problems and unresolved symbols.

  • Hi Martin,

    can you please verify a couple things.

    - are you doing File ->New->CCS Project?   ie are you creating a new CCS Project, not just a generic one.

    Have you double checked all include paths and options as per this wiki?

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

    Best Regards,
    Lisa

  • The answer to all the above is yes

    Code Composer Studio    Version: 5.2.1.00018

    Compiler version is  TI v6.1.0

    C200 Launch Pad XL  TMS320F28027 Chip 

    Work space is C:\C2000_Launch_Pad

    For the      Example_F2802XGpioToggle [Active - RAM]  project

    Made it work by modifying  Example_F2802XGpioToggle Removing the code and addling my code about 500 lines.

    Made my own project using same workspace  and (File ->New->CCS Project)  but named My_Gpio remove all the main and

    all that is not necessary added code that works in the earlier Example_F2802XGpioToggle  and the earlier Launch Pad and also the Luminary Micro LM3S6965 using StellarWare

    All the includes are the same in the compiler and linker

    It still does not find the Libs. and does not build( compiles but not link).

    What I see

    In the CCS General Panel under properties

                   Configuration RAM (Active)  I don't have that option when using new project I have only Debug And Release

                   Under Linker Command file  F2802x_Headers_nonBIOS.cmd   I don't have that that option but have used all that mention F2802x

                   Runtime support library:  is blank

    I think the fact that Configuration is Ram vs Degug and Runtime support is questionabe is at least the start of the problem.

  • Hi Martin,

    have you tried manually pointed CCS to the runtime library in the project properties?  Project->Properties->General?

    Would you be willing to share the project with us offline?  I just tried that exact example from the resource explorer here on my installation and saw no problems.

    Best regards,
    Lisa

  • I found this line in the linker include upper panel of propeties of the Example_.....

    "${INSTALLROOT_F2802x_V200}/F2802x_common/cmd/F2802x_generic_ram.cmd"

    When I add it to the linker panel of MY project I get this error.

    <Linking> error #10008-D: cannot find file "/F2802x_common/cmd/F2802x_generic_ram.cmd"

    The file is there so the Installroots must be different.

    Have not located the the installroots yet to see the difference.

    Can you help me find them.

    Yes I would be glad to talk off line about my problem.

    Thank you for your help.

  • Hi Martin,

    have a look at this wiki.  It will show you where the build and path variables like INSTALLROOT_F2802x_V200 etc are defined so you can double check.

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

    It seems to me like this could simply be an include path/variable issue.  If you import the example as is do you get any errors?

    Best Regards,
    Lisa

  • I found this post http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/206097.aspx

    He was using ccs 4.

    Windows->Preferences->manage build->macros

    in not in my Windows Preference.

  • Hi Martin,

    with ccsv5 we have more or less gotten away from macros.  Does the example you reference import and build fine for you from the resource explorer unmodified?

    Best Regards,
    Lisa

  • When I use the short cut http://processors.wiki.ti.com/index.php/Include_paths_and_options

    and do project> add files  I dont get dialog boxs I get the project file

    C:\C2000_Launch_Pad\CW_5

  • Yes I can. .  Does the example you reference import and build fine for you from the resource explorer unmodified?

    If I modify the code in the example I can also build,link and run.

    My problem is only when I try to start my own project in the same workspace.

  • Hi Martin,

    ok, that helps my understanding.  Usually the best way to start is to make a copy of the example and start modifiying it to suit your needs.

    Am I correct in thinking that you have created a project and are trying to use some of the libraries from ControlSuite/C2000 examples?

    How have you been trying to integrate the libraries?  What steps did you take and what functions/libraries are you trying to add?  Have you added a depency to the library/library project in the project properties?   This is via Project->Properties->Build.  Then there should be a Dependencies tab on the right.

    Best Regards,
    Lisa

  • Hi Martin,

    I just thought I would check whether there is any update with your enquiry.

    Best Regards,
    Lisa

  • No progress. I will have to put it aside until Jan 2013. I will close it out and restart in January

    Thanks for your help

    Martin

  • Hi Martin,

    ok, thanks for the update.  We are here when you wish to continue.

    Best Regards,
    Lisa