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 !!
Thank you Niall !!!
Sent from Samsung Mobile