S32 Design Studio Post-build Memory/Stack Analyzer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32 Design Studio Post-build Memory/Stack Analyzer

616 Views
Hareesh_S
Contributor II

Does the S32 Design Studio have a post-build analyzer to view statically allocated memory (RAM and Flash) in a build? I would like to see a breakdown of what objects are present in which sections of RAM (non-cacheable/shareable SRAM etc) during compile time, so I can manually move them around as per my requirements.

If this feature does not currently exist, is it feasible to request it in a future release of the IDE, and are there 3rd party tools anyone in the forum could suggest that does the same for the timebeing?

0 Kudos
Reply
3 Replies

598 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

There is utility 'size' that is by default called automatically after build and its output is displayed in the console window like this:

"Invoking: Standard S32DS Print Size
arm-none-eabi-size --format=berkeley Mem_43_EXFLS_Example_S32K396.elf
text data bss dec hex filename
53868 4 12508 66380 1034c Mem_43_EXFLS_Example_S32K396.elf
Finished building: Mem_43_EXFLS_Example_S32K396.siz

12:36:51 Build Finished. 0 errors, 0 warnings. (took 28s.643ms)"

Description here:
https://sourceware.org/binutils/docs/binutils/size.html

It may be setup here:

davidtosenovjan_0-1762259815784.png

 

Regarding sections and object within these section - you can see it in .map file (after build, in project target folder).

0 Kudos
Reply

480 Views
Hareesh_S
Contributor II

Hello @davidtosenovjan ,

the "size utility" is already enabled by default (as you have stated), but I was looking for more verbose breakdown of static usage.
I am aware the .map exists and that I could parse it to achieve my intended output, but was wondering if S32DS had a built-in tool that does this (akin to few IDEs from other vendors that I've gotten accustomed to).

I assume I will have to stick to a 3d party tool or a python script that does this for the timebeing - Might this be a feature the IDE dev team considers implementing in the future?

much thanks for the reply!

0 Kudos
Reply

413 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

I am afraid no further tool is available. I have forward it to S3DS to consider your proposal.

0 Kudos
Reply