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.

MSP430FR5959: About stack usage in CCSv6 and CCSv12

Part Number: MSP430FR5959
Other Parts Discussed in Thread: MSP430WARE

Hi experts,

I am using MSP430FR5x and would like to confirm the stack usage.
The following figure shows "adc12_b_ex1_avccRef" from MSP430WARE(MSP430Ware_3_80_14_01) built with a same compiler (TI v15.12.3.LTS).
Only heap_size and stack_sized are changed to 256 from default.

Q1:Why is the stack usage displayed different between CCSv6.2.0 and CCSv12.1.0?
Q2:Is my understanding correct that I should refer to CCSv12?

Q3:Is there any plan to fix the following bugs? (The status is still unresolved.)
I have set it to 256Byte, but it is displayed in yellow.
https://sir.ext.ti.com/jira/browse/EXT_EP-9641

[CCSv6]

[CCSv12]

Best regards,
O.H

  • Hello,

    Q1:Why is the stack usage displayed different between CCSv6.2.0 and CCSv12.1.0?
    Q2:Is my understanding correct that I should refer to CCSv12?

    There were several bug with the view in older CCS versions. I would refer to the CCSv12 version.

    Q3:Is there any plan to fix the following bugs? (The status is still unresolved.)
    I have set it to 256Byte, but it is displayed in yellow.
    https://sir.ext.ti.com/jira/browse/EXT_EP-9641

    There is no concrete plans to fix this in the near future. 

    One main reason why it gives the percentage as seen is because obtaining the stack size argument passed to the linker is much harder. That number can be supplied to the linker multiple ways. Even in a linker command file. This complicate things.

    Thanks

    ki

  • Hi ki,

    Sorry for late reply. I understood. Thank you for your support.

    Best regards,
    O.H

**Attention** This is a public forum