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/MSP430FR2676: Error in CCS when create new project

Part Number: MSP430FR2676
Other Parts Discussed in Thread: MSP430FR2673, CAPTIVATE-BSWP

Tool/software: Code Composer Studio

Hi TI,

I tried to create a new project in the Design Center and then import into CCS and build. However, I got the error like this:

What I did was just follow the LAB#1 in Workshop Getting Started, save a new project in Design Center and build Lab#1 Starter Project Code in CCS. Do you know what is wrong in my project? Thanks.   

  • Hello

    The link to your screenshot is broken. Can you repost?

    If you continue to have issues with broken links, please see the below faq:

    https://e2e.ti.com/support/tools/ccs/f/81/t/821597

    Thanks

    ki

  • Hi Ki,

    Thanks for your reminding.

    Repost the screenshot here.

    Best regards,

    Christy

  • Thank you. I see a lot of symbol redefinition linker errors. It looks like you have the duplicate source files in your project. You have a "./src/captivate_config" folder in your project and also a "./captivate_config" folder. It looks like those folders have the same files in it and is causing the conflict. Please double-check your project and see which one is the correct one. 

    Thanks

    ki

  • Hi Ki,

    Yes, I can found the duplicate files in a project. But I am confused that which one should be kept.  

    At the beginning, when I create the project in the Design Center. A set of files is generated when I press "Generate Source Code" ,located in ..\TI_demo01\src. 

    However, after import this project into CCS, one more set of files is created automatically in the location ..\TI_demo01.  

    Which one I should use? What is their relation? 

    Is it just simply delete one of that? But I find some folders e.g. CCS, IAR...etc is in the ..\TI_demo01\src folder but not in ..\TI_demo01. Will it cause other problem if I just simply delete whole src folder?

    Thanks,

    Christy

  • Christy Chun said:
    Yes, I can found the duplicate files in a project. But I am confused that which one should be kept.  

    This part I am unsure. I will move this thread to the MSP forum. The experts there can help you best.

    Thanks

    ki

  • Hi 

    Make sure you just select one of them when you import the project

  • Hi Gary,

    I am not sure that how to choose these two option properly.

    For example, my project "NewProject01" is created and under the folder C:\Users\RD-TEST\TI_Project. Now, I launch CCS, and changed the workspace using "File\Switch Workspace" to C:\Users\RD-TEST\TI_Project. Then, I select "Project\Import CCS projects", "Select search-directory : C:\Users\RD-TEST\TI_Project". So now, should I select "Copy projects into workspace" or not? 

    And when I should use "Automatically improt referenced projects...."

    Thanks,

    Christy

  • Hi 

    Have you try just select one of them? Does the error disappears? 

  • Hi Gary,

    I found that when I import the new project (my project name is : MSP430FR2673_button_Test01), if the "Copy projects into workspace" is ticked, my project cannot be chosen. The project name (the second one in the list) is in grey.

    However, if 'Copy projects into workspace' is not ticked, my project name is not in grey, and it can be chosen. 

    When I chose my project, you can see that the box next to "Copy projects into workspace" is ticked automatically, but is in grey color.

    So, I press "Finish" and start to build the project. Then, I got the error.

    Best regards,

    Christy

  • Hi Christy

    What's your CCS and Design Center's version?

  • Hi Gary,

    Design Center version 1_83_00_08

    CCS Version: 10.1.0.00010 

  • Hi Christy

    I have try Design Center version 1_83_00_08 and CCS Version: 9.3.0.00012 with no problem. I import the demo code in this path

    C:\ti\msp\CapTIvateDesignCenter_1.83.00.08\CapTIvateDesignCenter\example_projects\CaptivateDesignCenterWorkspace\TI_Examples\FR2633_CAPTIVATE-BSWP

    Have you install all support tools in CCS for MSP430? You can try to build a simple MSP430 project and build it to see any problem there

**Attention** This is a public forum