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/CC1310: How to get the CCS Diagnostic Logs under linux

Part Number: CC1310

Tool/software: Code Composer Studio

Hello,

I'm working on ubuntu 18.04, and i'm facing some freeze at compilation time. The IDE is totally stalled for a while. I would like to retrive diagnostics log to help me to find out the issue.

How to activate and retrieve the diagnostics logs for CCS8 on ubuntu ?

Best regards,

Aurélien

  • Aurélien

    You can turn on logging and specify the location from the help -> ccs support menu. However those logs may not help here as this is happening at compilation time.

    Does anything at all show up in the build console? I am wondering if it is getting stuck in the IDE or if the compiler is hanging. The build console should show the initial call to make and then the subsequent compiler invocations. Prior to building try going to the view menu. Select Other. Then type progress to find and then open the progress view. It could be that some other operation is holding up the build.

    Regards,
    John
  • Hello John,

    Thank you very much for your help. Indeed i could find any thing relevant in the logs dumped by CCS.

    Here is a screenshot of the IDE when all is getting stuck :

    Do you think the logs in the build console can be relevant ? The last message indicates it was making the package configPkg, so the compiler didn't really start to run and the build is stuck before compilation actually ?

    Best regards,

    Aurélien

  • Aurélien

    So the build is starting. That is good. But it is getting stuck in xdctools. That is the tool used to build the .cfg file. Basically this is building TI-RTOS which then gets linked into your application later. This can take a few minutes to complete. It will not do this every build unless the .cfg file gets changed. Does it ever return or does it hang forever?

    Regards,
    John
  • Hi,

    Sometimes, it returns after a few secondes, and other times after some time : 12 minutes in my last try (when i'm stuck like that, usually i prefer to force to quit and relaunch a new session)

    !

    Here is a screenshot of this try :

    I'm not sure it is the same case as the screenshot i have attached in my previous post. I tried every potential solutions that i could find on the forum like setting appearance to its default configuration or any other stuff like that but none of these solutions could solve my issue (allocate more RAM to css, turn off the indexer ...). 

    Here is my computer settings : Gen Intel Core-8300H, GeForce GTX 1050 2GB, 8GB DDR4 2666 Mhz

    Have you any idea ?

    Regards,

    Aurélien 

  • I will loop in a build expert.
  • Hi John,

    Thank you very much.

    Regards,
  • Aurélien,

    Which exact version of CCSv8 are you using? And does the build time for the same project vary from time to time - (ie) sometimes it builds fast and other times it stalls?

    We did get a few reports of slow builds/indexer slowdowns earlier this year. The details are in this post. At least one identified issue was fixed in CCS 8.1, so I would suggest updating to the latest 8.2 version if you're not there already. 

  • Hi,

    I'm already using CCSv8.2 released in september.

    "And does the build time for the same project vary from time to time - (ie) sometimes it builds fast and other times it stalls?" This's exactly what 's happening !!!

    I will take a look at the post you gave. Unfortunatly, the thread is locked, so i won't be able to attach my thread dump.

    Thank you very much.

    Regards,

    Aurélien

  • You could attach your thread dump to this thread.
  • Thank you much, i will attach the logs as soon as i will able to reproduce the issue.
  • Aurélien,

    Since we have not yet received the stack thread dumps to analyze this further, we will close out this thread for now. We can always reopen the thread or create a new thread when you are able to provide the dumps.

    I also noticed that you have the same issue being worked in another thread. Please continue the discussion on just one of the threads to avoid duplication of efforts. Thank you.