<?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 related issue / What are the best practices (armgcc, linker) &amp;gt; nRF51 16 kB vs 32 kB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21708/ram-related-issue-what-are-the-best-practices-armgcc-linker-nrf51-16-kb-vs-32-kb</link><description>Hello Nordic Team, 
 I have a question about RAM Related Issue for our program or rather more generally in relation to a board test that we just received and for which, with my astonishment a fairly simple program does not fit in.
This PCB is based</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Apr 2017 18:15:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21708/ram-related-issue-what-are-the-best-practices-armgcc-linker-nrf51-16-kb-vs-32-kb" /><item><title>RE: RAM related issue / What are the best practices (armgcc, linker) &gt; nRF51 16 kB vs 32 kB</title><link>https://devzone.nordicsemi.com/thread/85266?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 18:15:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b98d1c8b-58aa-4a1e-b14e-cb350d09de26</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;I&amp;#39;ve used NRF51 with 16k RAM, it should work with in your case. You can try to slim down the softdevice RAM usage by only enabling the minimum amount of stuff.&lt;/p&gt;
&lt;p&gt;Note that Segger RTT and NRF_LOG can be a memory hogs, especially when using DEFERRED mode. One could try to minimize buffer sizes here - but more messages would be lost.&lt;/p&gt;
&lt;p&gt;Note that hid profile has the side effect that any computer or mobile device will keep the connection active once pairing/bonding is complete. Also, the connection interval on both windows and IOS is lower, resulting in higher data rates - but higher current consumtion, too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM related issue / What are the best practices (armgcc, linker) &gt; nRF51 16 kB vs 32 kB</title><link>https://devzone.nordicsemi.com/thread/85265?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 12:53:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47e8de23-1f39-4a7b-9a67-99b82d79b775</guid><dc:creator>Johannes Lorenz</dc:creator><description>&lt;p&gt;Hi, I squeezed a program onto a nRF51 with 16kB RAM, which uses the following components: Softdevice, which takes around 8kB, UART/NUS, DFU, OTA, Libfix math and LIS2/3 DH libraries. I am close to the edge, but it fitted into. As programming environment I use, eclipse, arm gcc and openocd. HTH Johannes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM related issue / What are the best practices (armgcc, linker) &gt; nRF51 16 kB vs 32 kB</title><link>https://devzone.nordicsemi.com/thread/85264?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 12:46:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d91e7513-c25a-4622-925c-58124fe61a16</guid><dc:creator>Jonathan</dc:creator><description>&lt;p&gt;I&amp;#39;m quite a beginner in embedded (with a past doing low level stuff on PC, though) so pardon me if I&amp;#39;m wrong. Regarding this RAM adjustment you&amp;#39;re talking about, I think you always want to use the full RAM (or... there&amp;#39;s not reason not to use it), however how RAM will be free depends on the SD configuration (bondings...). Thus, the sd_check_ram_start() function and CHECK_RAM_START_ADDR macro will help you determine how much RAM the softdevice needs, and the rest is yours.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>