How to find out RAM usage in Embedded Electronic Control Unit (ECU) ?

Thread Starter

naseeam

Joined Jan 4, 2017
79
Please consider some professional embedded system with 16-bit microcontroller.

I know embedded software build tools report program flash memory usage. I think they also report RAM usage but do they report maximum RAM usage?

Build tools may not know how much heap will be used during run-time. Are there other RAM usages that build tools aren't aware of?

How to accurately find out how much RAM is being used during run-time?
 

Sensacell

Joined Jun 19, 2012
3,398
Embedded systems usually have very small amounts of RAM compared to the typical computer.
The RAM is also not typically dynamically allocated, the RAM is used as fixed variables and arrays- just add them up.

I am referring to very tiny embedded stuff...
 
Top