<?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>Anyway to separate nrf connect sdk util from user application to decrease image size when performing DFU, like SoftDevice strategy ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96974/anyway-to-separate-nrf-connect-sdk-util-from-user-application-to-decrease-image-size-when-performing-dfu-like-softdevice-strategy</link><description>Hi, 
 We are using nRF Connect SDK to develop Mesh application on nRF52832. We want to add DFU function to our application. 
 When analyzing the memory report, we find that exceed 90% of the ROM is nRF Connnect SDK Util. Our self-developed code takes</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Mar 2023 15:42:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96974/anyway-to-separate-nrf-connect-sdk-util-from-user-application-to-decrease-image-size-when-performing-dfu-like-softdevice-strategy" /><item><title>RE: Anyway to separate nrf connect sdk util from user application to decrease image size when performing DFU, like SoftDevice strategy ?</title><link>https://devzone.nordicsemi.com/thread/414201?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 15:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6751e30b-4d64-4433-bdd9-4bcc66c00304</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you plan on doing anything involving the transfer of large amounts of data, the Bluetooth SIG has made publicly available a draft for the &lt;a href="https://www.bluetooth.com/specifications/specs/?types=specification&amp;amp;keyword=Mesh+Binary+Large+Object+Transfer+Model&amp;amp;filter="&gt;Mesh Binary Large Object Transfer Model&lt;/a&gt;, which is being developed for this purpose.&lt;/p&gt;
&lt;p&gt;The information page on bluetooth.com for the latest version (&lt;a href="https://www.bluetooth.com/specifications/specs/mesh-binary-large-object-transfer-model-2/"&gt;d1.0r04_PRr00&lt;/a&gt;) of the draft even mentions &amp;quot;Mesh Firmware Update&amp;quot; as a related document, providing a link which requires SIG membership for access, not sure what level. It may be worth looking into for your DFU needs.&lt;/p&gt;
&lt;p&gt;I cannot share any future plans for nRF Connect SDK here, but our sales representative for your area may be able to share more information regarding what we plan from our side in this domain. If you do not know who this is, then please ask for contact details in a private ticket or direct message.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyway to separate nrf connect sdk util from user application to decrease image size when performing DFU, like SoftDevice strategy ?</title><link>https://devzone.nordicsemi.com/thread/414021?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 08:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1f4f834-9270-408c-bde6-f758ff65419c</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;Interesting, I&amp;#39;ve been doing some research and the nRF SDK uses the&amp;nbsp; Nordics bootloader for this whereas the nRF Connect SDK uses MCUBOOT through Zephyr for DFU. Would be interesting to see this implemented in Zephyr.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyway to separate nrf connect sdk util from user application to decrease image size when performing DFU, like SoftDevice strategy ?</title><link>https://devzone.nordicsemi.com/thread/413982?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 01:33:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da6d9d53-3081-4edc-a3ba-c6849a950beb</guid><dc:creator>freshweek</dc:creator><description>&lt;p&gt;We also find the MESH DFU example in nRF SDK, but we are developing with nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Actually, we want to implement a similar DFU functionality on nRF Connect SDK as what nRF SDK does.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyway to separate nrf connect sdk util from user application to decrease image size when performing DFU, like SoftDevice strategy ?</title><link>https://devzone.nordicsemi.com/thread/413924?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 15:54:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cce1bfd-c7c0-4d94-a5b3-9d1d39863146</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/freshweek"&gt;freshweek&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Out of curiosity, you&amp;#39;ve mentioned that you plan to do DFU in a mesh application using the nrf-connect-sdk. it is my understanding that nrf-connect-sdk doesn&amp;#39;t have a mesh DFU example, the MESH sdk however does.&lt;/p&gt;
&lt;p&gt;Do you plan to do ble DFU on a BLE MESH application rather than updating the whole mesh network?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyway to separate nrf connect sdk util from user application to decrease image size when performing DFU, like SoftDevice strategy ?</title><link>https://devzone.nordicsemi.com/thread/411741?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 16:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b36d7cc-c3d9-4b48-997d-d0a411cd6b1c</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In nRF5 SDK the SoftDevice was a separate entity that was called into from the application using supervisor calls. In nRF Connect SDK, on the other hand, the stack is linked into the application itself. Therefore, in nRF Connect SDK there is no such separation between stack and application, and they have to be updated together as one entity. This means there will also be one common image for the DFU.&lt;/p&gt;
&lt;p&gt;You may still be able to reduce the size of the application (including stack), see memory footprint optimization. For a Bluetooth mesh application, the sections general recommendations, Bluetooth and Bluetooth mesh are relevant. You can also look for the microbit configuration files, as those are made specifically for small memory footprints. The following files may be of interest for reference:&lt;/p&gt;
&lt;p&gt;./zephyr/samples/bluetooth/hci_uart/boards/bbc_microbit.conf&lt;br /&gt;./zephyr/samples/bluetooth/mesh/microbit_gatt.conf&lt;br /&gt;./zephyr/samples/bluetooth/mesh/prj_bbc_microbit.conf&lt;br /&gt;./zephyr/samples/bluetooth/mesh_demo/prj_bbc_microbit.conf&lt;br /&gt;./zephyr/tests/bluetooth/mesh/microbit.conf&lt;br /&gt;./zephyr/tests/bluetooth/mesh/microbit_gatt.conf&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>