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?
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.
Please let us know if you need any further information related to this.
Thanks for your response. Its generating the file, but it is not in XML format. Is there anyway we can convert this into XML format or HTML format.?
I do not see any option to generate MAP file for ARM in XML format.
However there are tools available which allows to quickly inspect the MAP file generated by GNU toolchain. CCES uses GNU toolchain for ARM core in ADSP-SC58x processor.
One such GUI is available here:
Please let us know if you need any further information.
Thanks a lot., it works fine.
I have small doubts regarding the uC/OS memory footprint of ARM core on SC 584 EZ kit. Its mentioned in the CCES help note that memory footprint for basic project is around 68596. When I am analyzing footprint using the tool you have mentioned, there I am getting almost same value when I am building the project in DEBUG mode.
Where as in RELEASE mode I am getting the almost half. Just want to confirm why there is so much difference.
When we see the footprint of uC/OS on ARM and SHARC core, the values are almost double for ARM core. My question here is, why the uC/OS takes that much of footprint on ARM core?
Awaiting for your response.