11.2.2. Calculating ROM and RAM requirements

Calculate the ROM and RAM requirements for your system as follows:

ROM

Code size + inline data + inline strings + const data + RW data

RAM

RW Data + 0-init data

In addition you must allow some RAM for stacks and heaps.

In more complex systems, you may require part (or all) of the code segment to be downloaded from ROM into RAM at runtime. This increases the system RAM requirements but could be necessary if, for example, RAM access times are faster than ROM access times and the execution speed of the system is critical.

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D
Non-Confidential