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.

How big is the executable



Hello,

 

I am trying to determine the size of the code I have too see whether I need the large memory model.  I am currently using a msp4305438 with the large memory model, I just want to be able to see how much memory the code is taking up and how it is allocated in the build or output files.

Thank you for any help.

Chris

  • Hi Chris,

    when you build, CCS will generate a .map file in your project folders.  This map file has the on device code size - near the end, as well as the details of the memory usage and map.

    Please let us know if this helps.

    Best Regards,
    Lisa

  • TI,

    The .map file has been very helpful in illustrating the organization of the memory, but I am still having a hard time seeing where the on device code size area is.  The code is quite large and I am sure I am just getting lost in all the information.

    Thanks,

    Chris

  • Hi Christopher,

    what exactly are you still struggling to understand?  The linker command file (.cmd in your project)  for your MSP will show you how the segments are defined and where they are.  The datasheet will show you how the device memory in general is organized.  Another good place to get a view of the memory is from the free flash tool from Elprotronic (www.elprotronic.com).

    We also have these tools and parsers (which may be a bit much for what you need) ...

    http://processors.wiki.ti.com/index.php/Code_Generation_Tools_XML_Processing_Scripts

    Please just let me know and hopefully we can help clear things up for you.

    Best Regards,
    LIsa