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.

CODECOMPOSER: RE: system project gives warning about project reference

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

I just went and read the bug description. And this is not fixed by just " system.xml editor adds support for adding projects unbound to a core".

I have tried the suggested solution from KI's answer here. And it does add the bootloader project as a unbound project.

But it does not solve my issue.

  • The bootloader is not unbound but placed on core 1, the system.xml must reflect this.
  • And even thou it is marked as an unbound project the .syscfg file in the bootloader project is now included in the list of scripts that is given to sysconfig.cli 

"C:/ti/commonTools/sysconfig_1.19.0.2371712/sysconfig_cli.bat" --script "D:/src//prim_CPU/Prim_CPU.syscfg" --script "D:/src/sec_CPU/Sec_CPU.syscfg" --script "D:/src//bootloader/bootloader.syscfg" -o "syscfg" -s "C:/ti/c2000Ware/C2000Ware_5_01_00_01/.metadata/sdk.json" --compiler ccs

And this does not build.

I think you need to have a solution that supports this not uncommon scenario.

  • First x sectors of CPU 1 contains a bootloader, build by the bootloader project.
  • Remaining sectors of CPU 1 contains application SW, build by App_cpu1 project.
  • CPU 2 contains application SW, build by App_cpu2 project.

Additionally some setups might have a "bootloader" on secondary CP'U too. And this setup is also valid with more than one core.

To be clear, I don't think that system.xml should be limited to only this scenario, some setups might have more than two projects on same core a.s.o.
But this scenario would work well as a smoke test of any concepts around system.xml you come up with.

And as this is a very common setup I think this should be added to the project examples and/or be described i an application note.

Finally I think the problem around Sysconfig (described above) is a bug, and should be registered as one. While the support of more projects on same core is a feature request. 

  • I just went and read the bug description. And this is not fixed by just " system.xml editor adds support for adding projects unbound to a core".

    Which bug description are you referring to? The one in the prior threads is regarding suppressing the invalid warning message.

  • I am referring to EXT_EP-11938 (Internal ID:CCSNXT-1801)

    And it was the text in the description that i was referring to

     The idea was that all project references should be localized to the system.xml file. 

    and

    Once system.xml editor adds support for adding projects unbound to a core, we could show a remark instead of a warning.

    And as i mention last, I think that:

    1. The inclusion of the sysconfig from an unbound project is a bug.
    2. The ability to have more projects bound to same core is a feature request,

    if 1. is not a bug we need some app note to explain how to setup a common scenario where at least one core has two projects, typpical bootloader and app SW.

    I can make separate posts on 1 and 2 if really needed.

  • Thank you for clarification. I added your input to the notes for engineering to take into consideration.