This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I get configured ram size in uVision?

I would like to find the last address of the used ram and the end address of the configured ram (so the unused part), using uVision with the ARM v5 compiler.

The actual used ram by my application, I can find using 

Image$$RW_IRAM1$$ZI$$Limit

But how do I find the actual configured RAM at runtime? My current device has 0x50000 of ram. How do I get the 0x20050000 address at runtime? This number can be different for different targets. I see in the generate scatter file, the length is shown. But I would like to get this value in code?

thank you!