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.

TMS320F28P650DK: Migrating to a Dual Core Project from Single Core Project

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

We have a software implemented on a TMS320F28P650DK, Specifically targeting the CPU1 not using CPU2. We are moving to implement a dual core solution.

My approach is creating a separated project for CPU2 and renaming CPU1 project and .syscfg file following the project_name_cpun format.

I'm struggling with renaming the original project from CCS. Can you indicate me how project should be renamed from CCS 20.2.0 or newer?  

Should both project strictly by name project_name_cpun format? Is it correct to follow this approach also be followed by the .syscfg files? I'm seeing the CPU1 & CPU2 tabs in dual core examples that are not appearing when creating multiple projects and multiple SysCfg files.image.png

Is there any other consideration or documentations that can be shared? 


  • Hi Federico,

    Thank you for your question. Thw project_name_cpun naming convention is correct. You will also need 2 syscfg file named as project_name_cpun.syscfg. 

    Renaming is straightforward:

    1. In the Project Explorer pane, right-click the project you want to rename
    2. Select Rename from the dropdown menu
    3. Enter the new name and confirm

    Repeat this for both your CPU1 and CPU2 projects. However, renaming alone is not sufficient — see the critical follow-up step below regarding the system.xml file.

    For a dual-core structure you actually will need 3 projects.

    project_name_cpu1 -> cpu1 application code + cpu1 syscfg file

    project_name_cpu2 -> cpu2 application code + cpu2 syscfg file

    project_name_multi -> contains the system.xml file linking both the core projects together.

    You can refer to the example system.xml at C2000Ware_6_x\driverlib\f28p65x\examples\c28x_dual\empty_projects\system.xml to see what the contents of it should be. But you will have to have the names of both your core projects here.

    For example,

    <project configuration="@match" id="project_0" name="project_name_cpu1"/>
    <core id="C28xx_CPU1" project="project_0"/>

    <project configuration="@match" id="project_1" name="project_name_cpu2"/>
    <core id="C28xx_CPU2" project="project_1"/>

    If these names don't exactly match your CCS project names, the multi-project build system will fail to locate the correct projects.

    Rather than building the three-project structure from scratch, the most reliable approach is to import an existing dual-core example from C2000Ware as a template.

    For example C2000Ware_6_00_x_00\driverlib\f28p65x\examples\c28x_dual\empty_projects

    Import the example, then rename all three projects using the right-click → Rename method, and update system.xml accordingly. This guarantees you start with a correctly wired multi-project structure and a working Multicore SysConfig view.

    Thanks,

    Ira

  • Hello Ira, 

    Thanks for the response! I was able to set up the environment correctly!

    Working from CCS is pretty confusing and not that straight forward when a minimal change wants to be made out of the normal use.

    For anyone looking to rename a project included in CCS from it's original containing folder:


    1. Rename <name> field under <projectDescription> at .project

    2. Rename the containing folder. 

    3. Re include the project to CCS.