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.

Strange compiler behaviour on F28335

Hello,

I am dealing with a very strange issue here on my F28335 with Code Composer V5 and Compiler Version 6.1.0.

Sometimes when I add functions or static const members to C++ classes, the whole project still compiles and runs, but it behaves very strage, so the overall function is not given anymore. When i remove another function after adding one which breaks the program, it works again. So it looks like something is getting to big.

I cannot describe the problem better, but thats how it is currently, and I hope someone has an idea or hint how to deal with this.

BR
Michael

  • Hi Mike,

    Sometimes when I add functions or static const members to C++ classes, the whole project still compiles and runs, but it behaves very strage, so the overall function is not given anymore.

    What do you mean by "very strange"? What is desired output and what are you observing?

    Also, does this function deals with memory allocations or CLA computations?

    Regards,

    Gautam

  • Very Strange => The overall system does not work anymore and falls into various error states.

    As is said, I do not change the program flow, I just add a method or a constant and it also happens when this method is empty. It is also independent of whether I call this new method or use the defined constant or not.

    The F28335 does not have a CLA, so I am not using a CLA and also no memory allocation is done in the whole project.

  • Mike, I understand what you're trying to convey but due to lack of data I'm unable to get a clear idea.

    I'm forwarding your query to one of the Tier. Hope your issue gets resolved soon.

    Regards,

    Gautam