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/TMS320F28235: Tips for Performance and Compile Reduction Time

Part Number: TMS320F28235

Tool/software: Code Composer Studio

Team,

I have a customer who is approaching production with the above mentioned part, and was hoping to get some tips in a few various areas:

1) They are looking for ways to reduce their RAM usage. Are there any tricks or tools/collateral TI can recommend? Also, they are using ramfuncs to push their performance, which takes up space, and it would be helpful to know exactly under what circumstance this provides the most benefit.

(2) Their compile time takes 35 seconds. This makes their design iteration very slow.  They have located a handful of customers with similar complaints. Also, during the compile process, there is a long pause before resuming build. They have a large number of files in our project.  I have attached a link to thread on the E2E forum.

 -  . https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/592758?Compiler-large-stall-in-TI-compiler-builds

(3) Code composer is suppose to support incremental builds, where the compiler only builds sections of code that have changed. This feature appears to be disabled for their projects, and pressing debug rebuilds the whole project every time. Could you share how to enable incremental build in the CCS toolset?

  • Carolus Andrews said:
    1) They are looking for ways to reduce their RAM usage. Are there any tricks or tools/collateral TI can recommend?

    Consider using the Optimizer Assistant.

    Carolus Andrews said:
    Also, they are using ramfuncs to push their performance, which takes up space, and it would be helpful to know exactly under what circumstance this provides the most benefit.

    That's a trade-off between speed and the amount of memory used.  Unfortunately, TI has no tools to help you make that trade-off.

    Carolus Andrews said:
    Their compile time takes 35 seconds. This makes their design iteration very slow.  They have located a handful of customers with similar complaints. Also, during the compile process, there is a long pause before resuming build. They have a large number of files in our project.  I have attached a link to thread on the E2E forum.

    From scanning through the related forum thread, it appears that issue is resolved.

    Carolus Andrews said:
    Code composer is suppose to support incremental builds, where the compiler only builds sections of code that have changed. This feature appears to be disabled for their projects, and pressing debug rebuilds the whole project every time. Could you share how to enable incremental build in the CCS toolset?

    Incremental build is enabled by default.  The way to override it is to explicitly choose the menu selection Rebuild Project.  

    Are you sure the whole project is rebuilt?  Consider running this experiment.  Perform an incremental build with the selection Build Project.  Save off the Console View with the icon Copy Build Log.  Then force everything to compile with the selection Rebuild Project.  Save off the Console View again.  Compare the two build logs.  Are they pretty close, or pretty different?

    Thanks and regards,

    -George

  • Did you run the experiment I suggest at the end of my last post?  If so, what happened?

    Thanks and regards,

    -George

  • To best help you, it helps to know the characteristics of your program. What do you find takes up the most RAM space? Is there one type of thing that dominates the usage (e.g. data tables, ramfuncs, stack, heap)?
  • George,

    The customer ran the experiment, and saw the same output on both occsasions. I've attached the logs for you to have a look at:

    8713.build_log.txt

    Also, the customer has stated that the log shown in #2 is not their log, just an example of someone with a similar issue. Do we have any additional advice that could be given in this area?

  • Carolus Andrews said:
    The customer ran the experiment, and saw the same output on both occsasions.

    Can the customer share with us a project that demonstrates the rebuild issue? I would not expect it to do a full rebuild when incremental build is selected but we would need a test case to investigate further. It might also be worth a try to check the behavior with the latest CCS 8.1 which can be downloaded from here.

  • Carolus,

    I wanted to follow up and see if the customer could possibly share a test project that demonstrates this issue. Unfortunately, without that, there isn't much more we can do. If they need a bit more time to create a test case that is fine, you can always come back and reopen this thread or create a new one. Thanks!
  • AartiG,

    The customer has not yet responded on this. I will close this thread out and link to it if and when he gets back to me on this.