6.11.2. Calculating ROM and RAM requirements

The linker calculates the ROM and RAM requirements for code and data as follows:

ROM

Code size + RO data + RW data

RAM

RW Data + ZI data.

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

In more complex systems, you may require part (or all) of the code segment to be downloaded from ROM into RAM at run-time. 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 © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0056D
Non-Confidential