This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What is a scatter file?

Hello:

My embedded target application is ARM7 based. I use Keil tools.

I get following error when I try to build my target application:

.\Builds\Outfile.axf: error: L6031U: Could not open scatter description file .\Builds\Outfile.sct: No such file or directory

When I go to "Options for Target" and click on Linker tab, "scatter file" field contains the following: .\Builds\Outfile.sct

One of lines in linker control string is as follows:
C:\Keil\ARM\RV31\LIB\RTX_ARM_L.LIB --strict --scatter ".\Builds\Outfile.sct"

The following path contains filename "Outfile47". This file type is "Windows Script Component". Is this scatter file?

Development-Outfile/Application-Source/Configuration

Thank you!

Parents
  • The scatter file is the equivalent to the GNU/GCC linker script which defines the placements of code and data into the memory of your device.

    You should perhaps be describing your memory (IROM/IRAM) in the Target Dialog, and making sure you checked "Use Memory Layout from Target Dialog" in the Linker Dialog.

Reply
  • The scatter file is the equivalent to the GNU/GCC linker script which defines the placements of code and data into the memory of your device.

    You should perhaps be describing your memory (IROM/IRAM) in the Target Dialog, and making sure you checked "Use Memory Layout from Target Dialog" in the Linker Dialog.

Children
No data