- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,Community
I would like to calculate the memory usage of each software function created in the Modus Toolbox.
The list of calculations I was able to find in the map file is shown in the figure.
Since this list shows the memory usage for the entire code, it is not possible to calculate the memory usage for each function, which is what I want to know.
Could you give me a list or a way to show me a breakdown of memory usage?
Best Regards,
Chihiro Tatebayashi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can share an article that helps you to analyze the breakdown of memory usage for each function. Please refer to it and check if it helps. It has a link to a github repo that contains a C# application that reads the data from the map and presents it in a list view.
To use the tool please provide the .map file and .elf file in the input section as shown:
Navigate to settings and provide the NMPath and ReadELFPath provided by the toolchain(GNU). (You can provide them from from Cypress folder) as shown:
Click on analyze. You should be able to obtain the memory breakdown of the map file.
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can share an article that helps you to analyze the breakdown of memory usage for each function. Please refer to it and check if it helps. It has a link to a github repo that contains a C# application that reads the data from the map and presents it in a list view.
To use the tool please provide the .map file and .elf file in the input section as shown:
Navigate to settings and provide the NMPath and ReadELFPath provided by the toolchain(GNU). (You can provide them from from Cypress folder) as shown:
Click on analyze. You should be able to obtain the memory breakdown of the map file.
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @LeoMathews
Thank you for sharing useful information.
I will try it as soon as possible.
By the way, I sometimes use PSoC Creator too.
Do you know if it is possible to expand the map file generated by PSoC Creator in a similar way?
Best Regards,
Chihiro Tatebayashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should be able to do the same for PSoC Creator. Please provide the .map and .elf files as input, set the NMPath and ReadELFPath to the tool and then click on analyze.
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @LeoMathews
Thank you for your help!
I am free from this problem.
Best Regard,
Chihiro Tatebayashi