Post Go back to editing

How to generating memory map files for ARM Core?

Thread Summary

The user asked how to generate a memory map file for the ARM core on the SC-584 EZ KIT. The solution involves adding the linker option '-Wl,-M=ARMcode.map' to the project settings. The user also inquired about the difference in uC/OS memory footprint between DEBUG and RELEASE modes, noting a significant reduction in RELEASE mode. The engineer confirmed that this is expected due to optimizations and that uC/OS footprint on ARM core is larger compared to SHARC core due to different architecture and implementation.
AI Generated Content

Hi all,

I have to analyze the memory utilization of my application for ARM core on SC-584 EZ KIT.

We know that we can generate the memory map file for SHARC cores by enabling the linker options "Generate symbol map (-map)" in SHARC core project. We are not finding any such options for the ARM cores. Can someone suggest about generating the memory map file for ARM core?

Thanks

Parents
  • Hi,

    For ARM core, you can type the following command in the additional options in the linker settings (Settings/CrossCore ARM Bare Metal C linker/Additional Options). This will generate a map file for you in the debug folder.

    -Wl,-M=ARMcode.map

    Please let us know if you need any further information related to this.

    Thanks,

    Harshit

Reply
  • Hi,

    For ARM core, you can type the following command in the additional options in the linker settings (Settings/CrossCore ARM Bare Metal C linker/Additional Options). This will generate a map file for you in the debug folder.

    -Wl,-M=ARMcode.map

    Please let us know if you need any further information related to this.

    Thanks,

    Harshit

Children
No Data