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.

Ways to use the --no_stm option more efficiently

Other Parts Discussed in Thread: TMS570LS3137

Hey Guys!

Because we are affected by the EMIF silicon bug in the TMS570LS3137 regarding external RAM, we have enabled the --no_stm option for the complete code base.

The reason why we enabled it for everything is, that it is almost impossible to figure out in advance which functions will get pointers to which areas. Analysis of all the possible memory locations at compile time would be a nightmare. Also, our customers do want to implement mixed-critical applications based on our products. For those, the external RAM is being more excessively used (in the unsafe part).

Now, we know that this might affect the performance. So far we could deal with it, but now we needs to optimize certain parts.

We have already analyzed our performance critical parts and we could figure out that there are is no external memory being used.

Do you know any solution, on how to mark just specific functions to NOT be affected by the --no_stm option?

Further, we can ensure, that the stack is always in the TCM RAM.

Would it also be possible, to configure that the --no_stm option does NOT apply for stack operations (push!) by default?

Thanks in advance.

Regards,
Michael