5.1.5. Images with a simple memory map

The scatter-loading description in Figure 5.1 loads the segments from the object file into memory corresponding to the map shown in Figure 5.2. The maximum size specifications for the regions are optional but, if they are included, these enable the linker to check that a region does not overflow its boundary.

In this example, the same result can be achieved by specifying --ro-base 0x0 and --rw-base 0x10000 as command-line options to the linker.

Figure 5.1. Simple memory map in a scatter-loading description file

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


Figure 5.2. Simple scatter-loaded memory map

To view this graphic, your browser must support the SVG format. Either install a browser with native support, or install an appropriate plugin such as Adobe SVG Viewer.


See also

Copyright © 2002-2010 ARM. All rights reserved.ARM DUI 0206J
Non-ConfidentialIDID101213