3.11 Importing a memory map from a BCD file

If you have a BCD file that defines a memory map, you can import this into the Scatter file editor.

To import a memory map from a BCD file:

Procedure

  1. Select Import from the File menu.
    Select Scatter File Editor > Memory from a BCD File.
    Figure 3-8 Import memory map for the scatter file editor
    Import memory map for the scatter file editor

  2. Enter the location of the BCD file or click on Browse... to select the folder.
  3. Select the required file containing the memory map that you want to import.
    Figure 3-9 BCD file selection for the scatter file editor
    BCD file selection for the scatter file editor

  4. Select Add to current scatter file if you want to add specific memory regions to an existing scatter file.

    Note

    The scatter file must be open and active in the editor view before you can use this option.
  5. Select Create new scatter file template if you want the wizard to create a new file with the same name as the BCD file but with a .scat file extension.
  6. Select the destination project folder.
  7. By default, all the memory regions are selected. Modify the selections and table content as required.
    Figure 3-10 Memory block selection for the scatter file editor
    Memory block selection for the scatter file editor

  8. Click Finish to complete the scatter file.

    Note

    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.
Non-ConfidentialPDF file icon PDF versionARM DUI0480Q
Copyright © 2010-2015 ARM. All rights reserved.