<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Segger Embedded Studio -`UNPLACED_SECTIONS&amp;#39; problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12029/segger-embedded-studio---unplaced_sections-problem</link><description>Hello, 
 I try to start developing my nrf51/nrf52 projects using Segger Embedded Studio but each time I receive the same linker error: 
 
 &amp;quot;(...) section fs_data&amp;#39; will not fit in region UNPLACED_SECTIONS&amp;#39;&amp;quot; 
 
 In my case fds.c or fstorage.c is the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2019 12:43:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12029/segger-embedded-studio---unplaced_sections-problem" /><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/192075?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 12:43:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0dcf452-7448-4864-ac78-a799dd8f89df</guid><dc:creator>Meera Shah</dc:creator><description>&lt;p&gt;This is my flash_placement.xml file.&lt;code&gt;&lt;strong&gt; &lt;/strong&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;!DOCTYPE Linker_Placement_File&amp;gt;
&amp;lt;Root name=&amp;quot;Flash Section Placement&amp;quot;&amp;gt;
  &amp;lt;MemorySegment name=&amp;quot;$(FLASH_NAME:FLASH)&amp;quot;&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;0x100&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.vectors&amp;quot; start=&amp;quot;$(FLASH_START:)&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.init&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.init_rodata&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.text&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.dtors&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.ctors&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.rodata&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.dfu_trans&amp;quot; inputsections=&amp;quot;*(SORT(.dfu_trans*))&amp;quot; address_symbol=&amp;quot;__start_dfu_trans&amp;quot; end_symbol=&amp;quot;__stop_dfu_trans&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.ARM.exidx&amp;quot; address_symbol=&amp;quot;__exidx_start&amp;quot; end_symbol=&amp;quot;__exidx_end&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; runin=&amp;quot;.fast_run&amp;quot; name=&amp;quot;.fast&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; runin=&amp;quot;.data_run&amp;quot; name=&amp;quot;.data&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; runin=&amp;quot;.tdata_run&amp;quot; name=&amp;quot;.tdata&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;Yes&amp;quot; runin=&amp;quot;.fs_data_run&amp;quot; name=&amp;quot;.fs_data&amp;quot; /&amp;gt;
  &amp;lt;/MemorySegment&amp;gt;
  &amp;lt;MemorySegment name=&amp;quot;$(RAM_NAME:RAM);SRAM&amp;quot;&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;0x100&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.vectors_ram&amp;quot; start=&amp;quot;$(RAM_START:$(SRAM_START:))&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.fast_run&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.data_run&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.tdata_run&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; keep=&amp;quot;Yes&amp;quot; name=&amp;quot;.fs_data_run&amp;quot; address_symbol=&amp;quot;__start_fs_data&amp;quot; end_symbol=&amp;quot;__stop_fs_data&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.bss&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.tbss&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.non_init&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; size=&amp;quot;__HEAPSIZE__&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.heap&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;8&amp;quot; size=&amp;quot;__STACKSIZE__&amp;quot; load=&amp;quot;No&amp;quot; place_from_segment_end=&amp;quot;Yes&amp;quot; name=&amp;quot;.stack&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;8&amp;quot; size=&amp;quot;__STACKSIZE_PROCESS__&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.stack_process&amp;quot; /&amp;gt;
  &amp;lt;/MemorySegment&amp;gt;
  &amp;lt;MemorySegment name=&amp;quot;$(FLASH2_NAME:FLASH2)&amp;quot;&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.text2&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.rodata2&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; runin=&amp;quot;.data2_run&amp;quot; name=&amp;quot;.data2&amp;quot; /&amp;gt;
  &amp;lt;/MemorySegment&amp;gt;
  &amp;lt;MemorySegment name=&amp;quot;$(RAM2_NAME:RAM2)&amp;quot;&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.data2_run&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.bss2&amp;quot; /&amp;gt;
  &amp;lt;/MemorySegment&amp;gt;

&amp;lt;/Root&amp;gt;
&lt;/pre&gt; &lt;br /&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I am getting this error &lt;strong&gt;`UNPLACED_SECTIONS&amp;#39; overflowed by 1024 bytes. &lt;/strong&gt;Can you help me with this?&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/159873?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 07:59:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a332c64-97f4-4c23-ae02-21b80c884e5d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Please open a new question as this thread is several years old. When you do, please provide more information about what you do and attach linker configuration etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/159801?ContentTypeID=1</link><pubDate>Sat, 01 Dec 2018 14:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2901276-bb37-4e1f-aca5-8acc3043ba3e</guid><dc:creator>Saad_Tariq</dc:creator><description>&lt;p&gt;Hi. I am having an error like the one you had. Please can you tell me its solution. Following is the error:&lt;br /&gt;&amp;quot;cyclic memory section dependency with section .fs_data_run&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/144505?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 11:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d06eb22f-17b5-4d90-acc8-c09b51de1ba6</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Note that this modification to&amp;nbsp;&lt;span&gt;the standard thumb_crt0.s file will break all the examples that &lt;em&gt;&lt;strong&gt;don&amp;#39;t&lt;/strong&gt; &lt;/em&gt;use fstorage!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37535/ses-setup-advice-breaks-examples-undefined-reference-to-__fs_data_load_start__-etc"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/37535/ses-setup-advice-breaks-examples-undefined-reference-to-__fs_data_load_start__-etc&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45526?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 10:39:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68569d5d-c1d0-4a38-9e26-d51e36796b43</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;fair enough. I didn&amp;#39;t have a problem when I used that. I think if it&amp;#39;s used it&amp;#39;s kept and if it&amp;#39;s not used it&amp;#39;s not needed but I can see that the linker might need the symbols defined even if they aren&amp;#39;t used so keep=yes seems very reasonable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45525?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 10:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6c182db-cea1-4d5d-912a-28ffe33ce39c</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;@RK: Your answer is close to perfection. I injected &amp;quot;keep=&amp;quot;Yes&amp;quot;&amp;quot; to allow KEEP(.symbol) to be propagated through the xml-&amp;gt;ld conversion. If this wasn&amp;#39;t present; SES v3 will drop the symbol.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45524?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2016 18:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ae5084b-30b9-4a67-af89-56421fb60cf6</guid><dc:creator>ishaan</dc:creator><description>&lt;p&gt;Hey RK, I added all the necessary codes mentioned by you and got past 7 linker errors. However, there&amp;#39;s still one linker error left, for which I can&amp;#39;t find any solution.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  Generating linker script ‘ble_app_hrs_pca10028_s130.ld’ (1 error)
    cyclic memory section dependency with section .fast_run
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Any ideas, as to what the underlying problem might be? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45523?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 09:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a703f94-9a93-4e03-82c4-82529803a483</guid><dc:creator>jfDEVmoto</dc:creator><description>&lt;p&gt;RK, you saved my week end !
This shall be included in the Segger IDE porting tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45522?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 05:53:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7190bb97-9d5c-409f-ae56-29bfcfef13be</guid><dc:creator>Webmobi</dc:creator><description>&lt;p&gt;cannot load section placement file,what is the solution for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45521?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 15:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:146418f3-b755-4bba-9f99-ec2dedba215d</guid><dc:creator>Piotr Fiszer</dc:creator><description>&lt;p&gt;Oh, OK! Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45520?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 13:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa1e4a71-b5ad-40b7-af68-2d6df66f2db0</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You don&amp;#39;t have to attach a hard-coded linker script to Segger Embedded Studio, it can generate it for you including the section variables &lt;code&gt;__start_fs_data&lt;/code&gt; and &lt;code&gt;__stop_fs_data&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Put the following in the flash_placement xml file, you nearly had it right, you were just missing two keywords&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.fs_data&amp;quot; 
address_symbol=&amp;quot;__start_fs_data&amp;quot;  end_symbol=&amp;quot;__stop_fs_data&amp;quot; /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;that will define those two linker symbols you need and set them to the start and end of the fs_data section.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s better to do it this way and let Segger Embedded Studio make the .ld file each time with all the correct pieces in it than to give it one hard-coded one which is what it seems your current solution does.&lt;/p&gt;
&lt;p&gt;Having looked at the linker file Nordic now has and realised this stuff is supposed to go in RAM it&amp;#39;s more complicated. You import the flash_placement.xml file to your project and then add one line in the FLASH memory segment piece and one in the RAM memory segment piece&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;MemorySegment name=&amp;quot;$(FLASH_NAME:FLASH)&amp;quot;&amp;gt;
....
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;Yes&amp;quot; runin=&amp;quot;.fs_data_run&amp;quot; name=&amp;quot;.fs_data&amp;quot; /&amp;gt;
&amp;lt;/MemorySegment&amp;gt;

&amp;lt;MemorySegment name=&amp;quot;$(RAM_NAME:RAM);SRAM&amp;quot;&amp;gt;
....
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; keep=&amp;quot;Yes&amp;quot; load=&amp;quot;No&amp;quot; name=&amp;quot;.fs_data_run&amp;quot; address_symbol=&amp;quot;__start_fs_data&amp;quot;  end_symbol=&amp;quot;__stop_fs_data&amp;quot; /&amp;gt;
&amp;lt;/MemorySegment&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then you also need to import the standard thumb_crt0.s file and add, I suggest after the tdata copy the following code which copies the fs_data from FLASH into RAM.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ldr r2, =__tdata_end__
bl memory_copy
# ADD HERE ... 
ldr r0, =__fs_data_load_start__
ldr r1, =__fs_data_start__
ldr r2, =__fs_data_end__
bl memory_copy
# TO HERE ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you use my first version - the data ends up in flash, but it&amp;#39;s not very useful there as fds needs to modify it, which I didn&amp;#39;t realise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio -`UNPLACED_SECTIONS' problem</title><link>https://devzone.nordicsemi.com/thread/45519?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2016 00:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea62c579-a5a5-41b6-b242-e39048ccd925</guid><dc:creator>Piotr Fiszer</dc:creator><description>&lt;p&gt;I almost got it:&lt;/p&gt;
&lt;p&gt;It was enough to add fs_data line in flash_placement.xml to get rid of UNPLACED_SECTIONS linker error:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;!DOCTYPE Linker_Placement_File&amp;gt;
&amp;lt;Root name=&amp;quot;Flash Section Placement&amp;quot;&amp;gt;
  &amp;lt;MemorySegment name=&amp;quot;$(FLASH_NAME:FLASH)&amp;quot;&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;0x100&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;.vectors&amp;quot; start=&amp;quot;$(FLASH_START:)&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; load=&amp;quot;Yes&amp;quot; name=&amp;quot;fs_data&amp;quot; /&amp;gt;
    &amp;lt;ProgramSection alignment=&amp;quot;4&amp;quot; los&amp;quot; name=&amp;quot;.init&amp;quot; /&amp;gt; 
    (...)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That fallowed to lack of __stop_fs_data and __start_fs_data definitions. Then I found this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Linker scripts&lt;/p&gt;
&lt;p&gt;Keil does not require linker scripts.
Named sections are generated
automatically when registration macros
are invoked.&lt;/p&gt;
&lt;p&gt;For GCC compilations, you must add a
definition for a linker script used in
the compilation.This addition should
be at the root level of the linker
script file:&lt;/p&gt;
&lt;p&gt;SECTIONS {   .fs_data_out ALIGN(4):&lt;br /&gt;
{
PROVIDE( __start_fs_data = .);
KEEP(*(fs_data))
PROVIDE( __stop_fs_data = .);   } = 0 } This definition will add a named section fs_data that is aligned to a
word and that has __start_fs_data and
__stop_fs_data as symbols that are used from the code.&lt;/p&gt;
&lt;p&gt;For IAR compilations, you must make
additions to an ilink file.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;in Nordic InfoCenter &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v10.0.0%2Flib_section_vars_usage.html"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It should be super easy from this point. BUT I try to attach this simple linker script to Segger E. Studio without success... Help will be appreciated. How to do it properly?&lt;/p&gt;
&lt;p&gt;EDIT + FINAL ANSWER:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/68247/flash-data-storage-init-issue/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; finally solved the problem (notice the dot &amp;quot;.&amp;quot; in front of fs_data section definition in this solution!)&lt;/p&gt;
&lt;p&gt;topic to close&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>