<?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>RAM Section allocated by Linker</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70995/ram-section-allocated-by-linker</link><description>I don’t know what all the XML syntax is, or what program processes the flash_placement.xml file, or what form the output is in, so I don’t know if I have to do exactly what is suggested, or if we can tweak it. 
 I suggested to create a RAM section at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Feb 2021 09:24:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70995/ram-section-allocated-by-linker" /><item><title>RE: RAM Section allocated by Linker</title><link>https://devzone.nordicsemi.com/thread/292151?ContentTypeID=1</link><pubDate>Mon, 01 Feb 2021 09:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeb3a0c0-33bc-4224-a6d2-7e397204706d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Ah, I see. I have not been able to find an answer to that. Have you tried asking Segger (either &lt;a href="https://www.segger.com/support/technical-support/"&gt;private support&lt;/a&gt; or on their &lt;a href="https://forum.segger.com/"&gt;forum&lt;/a&gt;)? I would expect they should be able to answer quickly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM Section allocated by Linker</title><link>https://devzone.nordicsemi.com/thread/292009?ContentTypeID=1</link><pubDate>Fri, 29 Jan 2021 13:46:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:343adc1f-7ff5-4406-b13d-560400ee90cf</guid><dc:creator>WesC</dc:creator><description>&lt;p&gt;How do I set an upper limit on the size of the section in order to prevent linking when the config data area gets larger than 4096?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;the&amp;nbsp;&amp;nbsp;“size”&amp;nbsp;attribute won’t work for this application because it sets the size of the section being created to a fixed value.&lt;/p&gt;
&lt;p&gt;I hope this doesn’t confuse things, but this is how I do it for the GNU linker (ld) in a .ld file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;   /*///////////////////////////////////////////////////////////////////////////*/
   /* .cnfig_data must fit into one flash block (4K) including the 2-byte CRC-16 */
   /*///////////////////////////////////////////////////////////////////////////*/
   .cnfig_data :
   {
                _start_of_cnfig_data = .;
                *(.cnfig_data)
                *(.cnfig_data.*)
                _end_of_cnfig_data = .;
   } &amp;gt; SRAM1

   _size_of_cnfig_data = _end_of_cnfig_data - _start_of_cnfig_data;
   ASSERT( _size_of_cnfig_data &amp;lt;= 4094, &amp;quot;.cnfig_data cannot exceed 4094 bytes&amp;quot;)

   /*///////////////////////////////////////////////////////////////////////////*/

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM Section allocated by Linker</title><link>https://devzone.nordicsemi.com/thread/291816?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 14:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb2e2478-2535-4966-b25e-29c0bc9850eb</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.segger.com/index.php/Thread/4730-SOLVED-Placing-data-at-a-specific-memory-address-with-Segger-Embedded-Studio/"&gt;This thread&lt;/a&gt; on the Segger forum shows how to place data at a specific location (both in flash and RAM). That does not show how to specify size, but it is described in the linker documentation &lt;a href="https://studio.segger.com/ide_section_placement.htm"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>