<?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>How to determine amount of unused ram in nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57521/how-to-determine-amount-of-unused-ram-in-nrf9160</link><description>How much ram is my application + Zephyr + modem firmware using and how much is available in the nRF9160? I&amp;#39;m unable to find a memory map and anyway that wouldn&amp;#39;t include dynamic allocation. 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Feb 2020 13:46:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57521/how-to-determine-amount-of-unused-ram-in-nrf9160" /><item><title>RE: How to determine amount of unused ram in nRF9160</title><link>https://devzone.nordicsemi.com/thread/234197?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 13:46:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94444925-8834-4443-85de-d9ac860b2d79</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Modem firmware has it&amp;#39;s own separate RAM that you wont be able to write to anyway. If you want&amp;nbsp; to look at static memory allocation you can look at the zephyr.map file in the build folder.&lt;/p&gt;
&lt;p&gt;Also, when building for nrf9160_pca10090ns you don&amp;#39;t have 256k for the application, you have 128k. So you need to subtract amount used by your application from 128k, not 256k.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine amount of unused ram in nRF9160</title><link>https://devzone.nordicsemi.com/thread/233602?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 16:45:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c4e20ad-6b65-44ff-9db1-da5ede8c7a9c</guid><dc:creator>CWallach</dc:creator><description>&lt;p&gt;File&amp;nbsp;&amp;nbsp;&lt;span&gt;nrf9160_pca10090_partition_conf.dts has allocations but not the actual amount in use.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The nrf9160 has 256k ram total. Subtracting the amount of ram used by&amp;nbsp;&lt;span&gt;my application&amp;nbsp; + Zephyr + modem firmware&amp;nbsp;results in the amount of free ram.&amp;nbsp;&lt;/span&gt;&amp;nbsp;Knowing the amount of free ram is important because&amp;nbsp;my application includes file transfers. Files, of course, can take up a lot of ram.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to determine amount of unused ram in nRF9160</title><link>https://devzone.nordicsemi.com/thread/233579?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 15:17:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f72d2371-6f12-4646-ab33-2740de6fb106</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you can find this information in nrf9160_pca10090_partition_conf.dts in the nrf9160 board directory. You application and Zephyr (non-secure image partition) gets allocated 128 KB out of 256. The rest goes to bsdlib and SPM. I don&amp;#39;t know why you need to know the RAM allocation for the modem firmware, and I&amp;#39;m not sure if we can share this information with customers, but if you are referring to bsdlib it gets allocated 64 KB.&lt;/p&gt;
&lt;p&gt;Also, I&amp;#39;m not sure if you&amp;#39;re asking what amount of RAM is allocated or what is actually being used, because the latter is not easy to determine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>