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.

CCS/MSP-EXP432P401R: How to get the RAM size occupation information?

Part Number: MSP-EXP432P401R

Tool/software: Code Composer Studio

Hi,

I'm trying to find a MCU fit for my application. Now, I use the MSP432 launch pad.

I wonder where I can find the memory size information from the CCS?

I looked at the.map file, so: 

The flash size is: 7434+329+1074 (kByte), right? But where to get the RAM size occupation information?

  • The memory allocation view will give a more clear high level summary. Go to the view menu and select Memory Allocation view.

    Regards,
    John
  • Hi, John,

    Thanks a lot, I run the example code, get the result below:

    So the flash size is : 7428kB? and the RAM size is 1026kB?

    Regards,

    Alex,

  • Alex,

    The rows "MAIN", "INFO", "SRAM_CODE" and "SRAM_DATA" come from the linker command file.  These are the memory blocks that are defined.  The numbers you see beside the green bars, 1508  516 and 516 in my screen shot are the usage.

    If you expand the rows you can see more detailed information on the usage.  Of the 1508 used, 1256 is used by the .text section, you can then expand that and see the breakdown of that.

    Here you can see the linker command file for the project. 

    So what you see in the memory allocation view will be the memory defined in the linker command file and then the usage of each of those blocks.  The author of the linker command file may have chosen to split the Flash or RAM up into separate blocks.

    Here is another example for a MSP432 411 where the blocks defined are just FLASH and SRAM

    Regards,

    John