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.

TMS320F28388D: Compiler Error Codes

Part Number: TMS320F28388D


Hi Team,

do we have a guidance where are the Error Codes of the compiler are listed and describe?  

Specially I searching e.g. for:

"error #99923: CLA does not permit function calls in background tasks. Inlining function unsuccessful."

  • The entry EXT_EP-9948 has already been filed.  It requests a list of all the compiler diagnostics.  I added your request to a part of that entry that is not publicly visible.

    Regarding ...

    "error #99923: CLA does not permit function calls in background tasks. Inlining function unsuccessful."

    Please search the C28x compiler manual for the sub-chapter titled C Language Restrictions.  Function calls from the background task are not supported.  If you try to call a function anyway, the compiler tries to inline it.  If that inlining fails, this diagnostic is issued.

    Thanks and regards,

    -George

  • Hi George,

    Thanks for your message. Yes I am aware that inlining is required. I would want to understand why the inlining is failing. For now I do not see any reason for this.

    My use case is calling this inline function from the API: EPWM_setActionQualifierAction. When I call the function once, there is no problem with the inlining. When I call it twice, then the error comes.

    So: 

    EPWM_setActionQualifierAction(Arguments) ==> no problem with inlinen
    EPWM_setActionQualifierAction(Arguments)
    EPWM_setActionQualifierAction(Arguments)
    ==> error #99923

    Do you understand why this happens?

    Cheers,

    Stanko

  • With one call to the function, the compiler automatically inlined it.  With two calls to the function, the code size of inlining both calls is two times more than the code size of inlining it once.  The compiler must have decided the extra code size is not worth it.  

    To learn more about how to inline a function, please search the C28x compiler manual for the sub-chapter titled Using Inline Function Expansion.

    Thanks and regards,

    -George