Find Cross

I am trying to find out the size of my program. How do I do this? I don’t have any memory issue, I just would like to know comparatively how big my program is. Then, is my program all that is flashed into the 128K space on the ADUCM360? How much overhead, if any, do I need to account for?

  • 0
    •  Analog Employees 
    on Apr 13, 2018 10:25 AM


    The map file describes how objects and the symbols they define are mapped into the memory defined by the .ld file.

    You can type the following command in the additional options in the linker settings (Properties > C\C++ Build > Settings > Tool Settings > CrossCore GCC ARM Embedded linker > Additional Options). This will generate a map file for you in the debug folder.

    Also refer in the below thread for more information:



  • 0
    •  Analog Employees 
    on Apr 13, 2018 9:55 PM

    Thanks. This works.

    I also found on the wiki how to create a .bin file. The .bin file is also stored in the debug directory. You can right click on it, select properties, and then view the size of the file.

    I checked the two and I think they correlate.

  • 0
    •  Analog Employees 
    on Aug 2, 2018 4:04 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin