scatter file realview compiler 3.15 at91sam7x

Hello,
i want to put some data at a fixed address(e.g. 0x12dd00),and my programme is loaded starting with address 0x100000 and it take about 0x002000. My scatter file makes it happend but there is one problem, in address range 0x102000(end of programme part) to 0x12dd00(begining of data)it loads 0x00 to every single cell. And i want it to load nothing in this range(0x102000 to 0x12dd00), is it poossible and if yes how to do this.
Thanks in advance.

Parents
  • Hi mrmz m,

    you should limit the memory region in your scatter loading file to the size your program requires (e.g. 0x100000 to 0x102000). In this case the region above 0x102000 will not be considered. In your software you can access your data in the region from 0x102000 to 0x12dd00 through a pointer you specify in your software.

    F

Reply
  • Hi mrmz m,

    you should limit the memory region in your scatter loading file to the size your program requires (e.g. 0x100000 to 0x102000). In this case the region above 0x102000 will not be considered. In your software you can access your data in the region from 0x102000 to 0x12dd00 through a pointer you specify in your software.

    F

Children
More questions in this forum