CODECOMPOSER: Memory Allocation window

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: TM4C129ENCPDT

Tool/software:

Hi,

I am using CCS version 12.1.0. We use TM4C129ENCPDT microcontroller for most of our project. 

We noticed the Memory Allocation window will not change even if we introduce additional code or buffers etc. It will report same usage for Flash and SRAM.

Here is the snapshot of the Memory Allocation Window.

Thanks

  • Hello,

    Can you provide a test case for use to try locally? Please provide the project and then also provide the additional code with the changes that are added. The goal is to first build the project as-is and see the Memory Allocation view output and the apply the additional code changes and build again.

    Thanks

    ki

  • Hi,

    I created a test project. I see it will update the memory map but some time. Please find attached test project. All the libraries are inclusive to the project.

    .apsu_sps.zip

  • Thanks for the example. However, when I make changes to the code, I see the memory allocation view contents reflect the change.

    For example, if I build the project as-is:

    Then when I add one printf statement in the main function:

    Notice the difference.

    Make sure what ever additions made to the code is not optimized out or etc.

  • Hi,

    did you try changing just the buffer size only and compile. Double the buffer size etc ?

    Thanks.

  • Please note that any code change will not automatically change static memory allocation values. Again, please note optimization levels and what is being changed.

    If you still feel it is not working as expected, please provide a test case. Since you provided one example, please provide the same example except with the additional changes where you are not seeing the expected increases in memory allocation.