About the scatter file editor

The scatter file editor enables you to easily create and edit scatter files for use with the ARM linker to construct the memory map of an image. It provides a text editor, a hierarchical tree and a graphical view of the regions and output sections of an image. You can change the default syntax formatting and color schemes in the Preferences dialog box.

If this is not the default editor, right-click on your source file in the Project Explorer view and select Open With → Scatter File Editor from the context menu.

The scatter file editor displays the following tabs:

Source

Textual view of the source code with syntax highlighting and formatting.

Regions/Sections

A graphical view showing load and execute memory maps. These are not editable, however, you can select a load region to show the related memory blocks in the execution regions.

The scatter file editor also provides a hierarchical tree with associated toolbar and context menus using the Outline view. Clicking on a region or section in the Outline view moves the focus of the editor to the relevant position in your code. If this view is not visible, select Show View → Outline from the Window menu.

Note

The linker documentation for the ARM Compiler toolchain describes in more detail how to use scatter files.

Before you can use a scatter file you must add the --scatter=file option to the project within the C/C++ Build → Settings → Tool settings → ARM Linker → Image Layout panel of the Properties dialog box.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0480L
Non-ConfidentialID100912