<?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>Maximum possible application size for DFU on the nRF52810</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69288/maximum-possible-application-size-for-dfu-on-the-nrf52810</link><description>Hi, 
 I&amp;#39;m trying to add the secure BLE bootloader(non debug, modified to run with S113, SDK 17.0.2) on a custom board with a nRF52810. I tried to DFU my main application(APP only, application uses S113) but I noticed that I got an insufficient resources</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Jun 2021 11:16:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69288/maximum-possible-application-size-for-dfu-on-the-nrf52810" /><item><title>RE: Maximum possible application size for DFU on the nRF52810</title><link>https://devzone.nordicsemi.com/thread/314887?ContentTypeID=1</link><pubDate>Fri, 11 Jun 2021 11:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6601e08-dd9f-4a73-8f4b-bf4156675758</guid><dc:creator>aonsquared</dc:creator><description>&lt;p&gt;I&amp;#39;m also trying to get some more space, and I only need DFU update for the application and not the bootloader/SD.&lt;/p&gt;
&lt;p&gt;How do I go about disabling the MBR parameter page?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum possible application size for DFU on the nRF52810</title><link>https://devzone.nordicsemi.com/thread/284001?ContentTypeID=1</link><pubDate>Wed, 09 Dec 2020 10:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c931f24-e161-4b04-94fa-a92271a85a2a</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;Thanks for the answers Einar!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum possible application size for DFU on the nRF52810</title><link>https://devzone.nordicsemi.com/thread/284000?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 11:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f015ec3-d99e-4067-bc27-fd682605b69d</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Gowtham,&lt;/p&gt;
&lt;p&gt;The BLE SDK examples only use FDS for storing bonding information in the peer manager. If you do not use bonding or pairin and thus do not use the peer manger, then there is no need to include FDS for the sake of any BLE functionality.&lt;/p&gt;
&lt;p&gt;(If you use one page for persistent storage using storage then you should make sure to use the page immediately below the bootloader for that, and set&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE in the bootloader&amp;#39;s sdk_config.h accordingly to only reserve one page.)&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum possible application size for DFU on the nRF52810</title><link>https://devzone.nordicsemi.com/thread/283999?ContentTypeID=1</link><pubDate>Sat, 05 Dec 2020 16:24:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8425410-42ad-47c0-9305-b6338c2751db</guid><dc:creator>TS Gowtham</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thanks for the quick reply and clearing this up. I was able to reduce the size of my application by disabling the logging module and then was able to DFU it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to clarify&amp;nbsp;one&amp;nbsp;more thing. Are the 3 reserved pages used for anything vital to BLE operation? I am not using bonding in my application. I would like to use 1 page for storing some application data in real time but would like to use only fstorage and not FDS.&lt;/p&gt;
&lt;p&gt;Thank&lt;/p&gt;
&lt;p&gt;Gowtham&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum possible application size for DFU on the nRF52810</title><link>https://devzone.nordicsemi.com/thread/283998?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 13:49:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fe1a175-1dff-4941-a1fe-52e8b11690f7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Gowtham,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The limited flash space on the nRF52810 means that it is not possible to update the SoftDevice over OTA DFU, as that has to be done dual bank and there is not enough space in flash for that. You can however update the application over DFU, as that can be done single bank. In that case, the new application will be copied directly in place, and the maximum application size is the space between the end of the SoftDevice and start of the bootloader, less any flash pages used to store application data immediately below the bootloader. See &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader.html"&gt;Memory layout&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With S113 version 7.2.0 the SoftDevice size is 112 kB, so the application starts at address 0x1C000. The secure BLE bootloader project typically&amp;nbsp;is 24 kB, and you also need 4 kB for bootloader settings. You can skip the MBR parameter page as you will not do bootloader and/or SoftDevice update.This leaves you with 192 kB - 24 kB - 4 kB - 112 kB&amp;nbsp; = 52 kB if you do not have any persistent application data. If you do, then it will be less.&lt;/p&gt;
&lt;p&gt;Also note that unless you have changed the bootloader project, the default configuration reserves 3 pages (12 kB) for application data (such as bonding information). If so, you will not be able to fit your app and a bootloader. In the&amp;nbsp;bootloader&amp;nbsp; this is configured by the NRF_DFU_APP_DATA_AREA_SIZE in it&amp;#39;s sdk_config.h file. This should correspond to the configuration of your application, and this matches the default configuration of most applications which use 3 pages for FDS.&lt;/p&gt;
&lt;p&gt;Br,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>