Is there any a way to determine how much ram/memory is being consumed by the entire project in keil uVision?
It looks like the program is using memory/addresses beyond the certain range allocated so I need to compute certain things.
Also, is there any profiler for ARM embedded systems (C++)?
Hello Huzaifa,
The startup defines the amount of stack available to the ARM C/C++ library, during startup, rather than any total RAM usage.
For a map file, go to Project => Options for Target => Listing tab => Linker Listing. Enable this option.
Have you looked in the code yet to find where the issue starts?
Thanks, Zack
Thanks for the response. Right so is it Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> or Stack_Size EQU 0x00000400?
Also, if this is the available stack, how do I determine how much is being used by my program because that will help me determine if things are going beyond the limit or not.
I did debug my code, and I can't seem to find an issue. I mean as I continue to step in, it outputs as expected except for a few of them. If add even more variables, everything will be messed up (filled with random characters).
Below is just a simple representation (to give you an idea) of the outputs
a = 10
b = 100
è, ë 4 d, ë
d = 5
I forgot to include that Linker Listing is already marked. How do I access .map file?