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.

  • Resolved

where to find the code size in ccs v5

Prodigy 40 points

Replies: 16

Views: 12176

Good day, 

I want to determine the code size of my program in the flash memory of  EK-LM4F232 in code composer v5.

Where can I get this information.

Thanks,

  • Guru 148255 points

    Hi,

    You can find the static memory usage by inspecting the linker map file that is automatically generated inside the output directory (Debug or Release).

    From the project explorer, you can open the output directory and search for a file with extension .map. Among other info, it will show the device's memory regions and their usage.

    Hope this helps,

    Rafael


    When posting, click on the link Insert Code, Attach Files and more... to attach images, files or use nice formatting.

    If my reply answers your question please click on the green button "This resolved my issue".

  • In reply to desouza:

    Hi, Thanks for this info.

    This has helped a lot.

  • In reply to desouza:

    Do you know which sections are counted toward the 16kB code size limit for the free version of CCS?

  • In reply to Brandon Gardner:

    Brandon Gardner

    Do you know which sections are counted toward the 16kB code size limit for the free version of CCS?

    See response from this thread.

    Brandon

     

  • Expert 1960 points

    In reply to desouza:

    desouza

    You can find the static memory usage by inspecting the linker map file that is automatically generated inside the output directory (Debug or Release).

    Could CCS translate to decimal values in next release? (other tools do it)

    Or at least summarize main values in decimal.

  • Guru 167175 points

    In reply to Mich:

    CCSv6 (currently in Beta) has a view called 'Memory Allocation" view that summarizes the memory usage, and shows it in decimal values. This short video gives an overview.

    ____________________________________________________________________________

    Please click This Resolved My Issue if the reply answers your question.

    Explore Code Composer Studio documentation and resources using online Resource Explorer
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

  • In reply to desouza:

    I want to know how much flash memory of TM4C123GH6PGE in code composer v6 is utilised if,

    my .out file is of 326kb and actual flash is of 256kb, but .map file shows

    name origin length used unused
    FLASH 00000000 00040000 00006cd6 0003932a
    SRAM 20000000 00008000 00000bff 00007401

    is my code exceeds the flash? please provide me the information about this
  • In reply to sreelakshmi pemmaka:

    sreelakshmi pemmaka
    my .out file is of 326kb and actual flash is of 256kb

    The .out file contains information which is not loaded into the flash memory of the target. e.g. the .out file can also contain symbolic debug information and therefore the size of the .out file isn't an indication of the flash usage.

    The .map file shows the program uses 0x6cd6 bytes out of the total of 0x40000 bytes of flash, which means only approx 11% of the flash size is used.

  • In reply to Chester Gillon:

    Hello All,

    I am facing a similar issue of memory maping and havent gone through it much. 

    Kindly support me with below query

    I am having below detail which I got it from .map file. 

    SRAM (RWX) : origin = 0x20000000, length = 0x0008000

    But my data memory is exiding 0x8000 so I am unable to flash the program.

    I have checked in memory allocation tab, SRAM memory I can use till 32kb.

    Can any one help me out to solve this issue??

    Thanks in advance.

    Mitesh

  • In reply to Mitesh Sirodaria:

    Hello All,

    I am using a code for interfacing graphical LCD and while interfacing I have given bitmaps value in header file. which is getting compiled. but as soon as i call those image in my while loop, my SRAM Memory is getting used. I dont know is there any point which I am missing with compiler or any thing?

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.