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

Scatter file example

Hello ,

I was just reading about scatter file and found this link below:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0377c/Chdiehag.html

In chapter "Images with a complex memory map " the example shows how the memory is mapped for two object files.

DRAM 0x18000 0x8000 ; Start address for this exec region (0x18000),

                                          ; Maximum size of this exec region (0x8000)

  {

       program1.o (+RW, +ZI)    ; Place all RW and ZI data from

                                          ; program1.o into this exec region

  }

This lines specifies to the linker that Zero Initialized data shall be place into DRAM but in the execution view of the memory it appears in SRAM region (ZI Section #1)

Is the picture wrong or my understanding?

Thank you in advance !!