<?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>Flash/RAM overflow on example project for NRF52DK_NRF52805 / NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106780/flash-ram-overflow-on-example-project-for-nrf52dk_nrf52805-ncs</link><description>Hello, 
 I had previously successfully merged, built, and tested the NCS examples for Peripheral LBS and an ADC example on an NRF52DK emulating an NRF52805. I attempted to add DFU support by following the (unfortunate outdated since the prj.conf options</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Dec 2023 15:23:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106780/flash-ram-overflow-on-example-project-for-nrf52dk_nrf52805-ncs" /><item><title>RE: Flash/RAM overflow on example project for NRF52DK_NRF52805 / NCS</title><link>https://devzone.nordicsemi.com/thread/461316?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 15:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd9405fd-f4d8-4c36-aa37-46148b0de66b</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Happy to help! :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash/RAM overflow on example project for NRF52DK_NRF52805 / NCS</title><link>https://devzone.nordicsemi.com/thread/461157?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 18:25:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10b5277a-5758-47dc-a2b6-c71d5acc8750</guid><dc:creator>underpickled</dc:creator><description>&lt;p&gt;Thanks for the sanity check! Saved me a lot of time &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash/RAM overflow on example project for NRF52DK_NRF52805 / NCS</title><link>https://devzone.nordicsemi.com/thread/461066?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 13:08:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c78a4627-1776-42a8-aa8f-d300f50e8a00</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The short answer is yes, you&amp;#39;re asking for too many features for the nRF5205.&lt;/p&gt;
&lt;p&gt;The longer answer is that all of these features will, as you know, increase the ROM/RAM usage of your application image. In addition, if you intend to do dual bank DFU, which is normal for OTA DFU through BLE, you will effectively need to be able to fit 2x your application within your devices flash range since you need an application slot (mcuboot_primary application slot / slot0) to run your application from, and a secondary slot (mcuboot_secondary application slot / slot 1) to hold the update image.&lt;/p&gt;
&lt;p&gt;This unofficial repository created by a colleague of mine explains this and refers to our official documentation while doing so&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I see it you have the following options&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upgrade to a device with more flash&lt;/li&gt;
&lt;li&gt;Add an external flash device to store the secondary mcuboot slot&lt;/li&gt;
&lt;li&gt;Remove features. A general rule of thumb is that the application image needs to be within the total available&amp;nbsp;flash on the DK - MCUboot size - 2x application size - headers, trailers and swap slot&lt;/li&gt;
&lt;li&gt;Use single bank serial recovery instead (do note that this will remove any fallback features as it will overwrite your application directly to the primary application slot).&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There are some optimization to be done for your application w.r.t RAM and ROM, but I unfortunately don&amp;#39;t think it will get you near what you need if you want dual bank BLE DFU&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>