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/TM4C123GH6PM: Integration TivaWare into CCS v8

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Tool/software: Code Composer Studio

Hi,

  Recently I had installed CCS v8, and try to migrate a previous project  on the demo board of LaunchPad EK-TM4C123GXL using CCS v7.

  I have the TivaWare_C_Series-2.1.4.178 integrated into CCS v7 as a product and the project has chosen to use it.

Now when installing CCS v8, it searched couple of location for TI CCS products and did not show up the TivaWare option. So I was wondering how to integrate TivaWare into  CCS v8 properly?

I had managed to manually set up the libs and including searching path etc. in the project on CCS v8 to make it works, but I really wish to have the "right way" to install TivaWare as a product/(component) into CCS v8.  Please guide me through.

Thanks,

-Andy

There is a little update.

By browsing the forum for a little while, I saw this post 

It prompts that the CCSv8 has problem to recognize and/or install tm4c v2.1.x.x product.

Even the post has been labeled as resolved, I think the problem is still there, as the poster pointed out that the code in his project actually didn't use any thing from TivaWare, the build failed just because of the original project from previous versions of CCS has checked to use the product of TivaWare and now in CCSv8 can't find/recognize any compatible product/version.
So the question back to TI's CCS developer/supporter, how to install TivaWare_C_Series into CCSv8 ?

Please help.

  • Hello Andy,

    I have been using CCS v8 without needing to do what you are describing, in fact I don't think I've ever integrated TivaWare into CCS v7 nor can I see how to do so. When I look in my CCS v7 (which has been my main workspace for TivaWare support), I don't see the current version of TivaWare under the Installed Software list.

    Are you facing any issues you believe this Integration would resolve? If not, I think you can proceed business as usual as it shouldn't be a requirement for you to do any sort of integration between TivaWare and CCS - just import the projects or libraries you need and go from there.
  • Hi Ralph,

     Thanks for response.

     As I had mentioned previously, I had managed to tweak the searching path for include, linking libraries etc. to make the imported project to build on CCS v8.  That will be a painful work if I have to repeat for many or all project previously developing in CCS v7 and using component from package of TivaWare_C_Series.

    This is from my CCS v7, TivaWare_C_Series has showed as CCS/Product and I have two versions can chose from.

      This is from CCS v8, as it does not recognize package of TivaWare_C_Series when searching and exploring the CCS package, there is no selection for TivaWare, which ends up many of system settings to point to resource in  package of TivaWare_C_Series were unset, causing many of effort to manually fix the build.

      So, I'm still looking the "right way" to install TivaWare into CCS v8.

      Please help.

    -Andy

  • Hello Andy,

    Okay, thank you for those details. I much better understand the issue now. I never used the feature you were using, but I do see it in CCS and I can see it's value. I will need to discuss this w/ the CCS team and see what may have happened and what path forward there is to address this.

    For the projects you are working on, is the issue presenting itself when you import a CCSv7 project into CCSv8? Is that where the links to libraries and packages are breaking?
  • Hi Ralph,
    I have those CCSv7 projects under git managed, they build/debug fine from CCSv7.
    When open/import those project from CCSv8, they failed on build as it is null the searching path for head file from package of TivaWare_C_Series. There some system variables regarding TivaWare_C_Series were not existing in CCSv8. After manually fixed the problem for include path, the link error shows "can't find xxx lib', which is another build problem have to manually fix. I believe all those troubles are rooted from the failure of CCSv8 recognize package of TivaWare_C_Series.

    -Andy
  • Hi Andy,

    Okay, understood. I have brought this up with the CCS team and they are investigating.
  • Hi Andy,

    Sorry for more questions but I had thought I asked a key one earlier and now see I had not...

    Are these projects made by scratch from you, or were they originally TivaWare projects that you re-used for your applications?
  • Hi Ralph,

      The project is originally started from the project inside of the package of TivaWare_C_Series-2.1.3.156, and have many of add-ons later on, and also have newer version TivaWare_C_Series-2.1.4.178 installed after. So the project has lot of changes over the original, but they are originally from the project within  TivaWare_C.

    Thanks,

    -Andy

  • What library are you missing? What is the error verbatim?
  • Hello Andy,

    Can you share a screenshot of your Linked Resources page from Project Properties (Under the Resource drop down at the top of the list)?
  • Andy,

    Ralph and I have been talking about this issue and, in tests done internally, it seems you are missing the build/path variable COM_TI_TM4C_INSTALL_DIR, is that so?

    At this point I can see the behaviour you describe in CCSv7.4 and CCSv8 and at this point we are in conversations to see what may have happened in this case.

    I will get back to this thread.

    Regards,
    Rafael
  • Hi Rafael,
    Thanks for response. Yes, missing COM_TI_TM4C_INSTALL_DIR is one of the major problem. At the first point when I try to fix, it is hard to manually set COM_TI_TM4C_INSTALL_DIR for system or workspace wide as this variable seems to be reserved by CCS? So end up I create a new variable for this purpose, and refer the new variable in the include path and lib searching path.
    -Andy
  • Andy,

    We found the root cause of the issue: the Tivaware is using an old package description standard that was updated after CCSv7.2.0 was released. The new standard requires a specific descriptor ("type" : "software") in the software package description file (package.tirex.json). This worked well until CCSv7.2.0 to give time for the package maintainers to update to this standard but, when CCSv7.4.0 was released, they started to simply be ignored.

    To workaround this issue until the Tivaware package maintainers update their files, please do the following:

    - Open the file C:\ti\TivaWare_C_Series-2.1.4.178\package.tirex.json in a text editor of your choice

    - At line 14, insert the following line:

     "type" : "software",

    (don't forget the ending comma)

    - Save the file

    - Restart CCS

    The products tab should show the Tivaware package properly.

    Please let me know if this helps.

    Regards,

    Rafael

  • I am more confused by the answer than the question. My understanding is TivaWare is a collection of source files and libraries. How is this interacting with Eclipse/CCS beyond include paths?

    Why do other software repositories like NDK or TI-RTOS not have a package.tirex.json file?

  • Hi Peter,

    I can answer the second part of that. TivaWare does not have an eclipse support folder built into it like newer releases like TI-RTOS and MSPware do. If you look into those releasing, you'll find an eclipse folder, and that folder as all the 'magic' needed for CCS to install the software into its product listing.

    I'll defer the first question to Rafael though... :)
  • Hi Rafeal and Ralph,
    By applying the fix to tweak package.tirex.json, now I have CCSv8 to recognize TivaWare package and integrate it. I believe the problem resolved now. Thank you very much for all the help.
    -Andy