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.

TMS320F28P650SK: CLA-defined/declared global/local variables initialized to zero by the compiler

Part Number: TMS320F28P650SK

Hi champs,

 

I am asking this for our customer.

Given EABI output format,

For CLA-defined/declared global/local variables, we are aware that they should be initialized in CLA tasks.

But it seems they are initialized to zero before main from CCS emulation and the .cinit below.

Question:

  1. Would you please confirm the compilers like V22.6.x and V25.11.x initialize CLA global/local variables to zero before main()?
  2. If yes, the user only needs to initialize them to non-zero values. Is it correct?

image.png