<?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>Custom DFU Process</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69006/custom-dfu-process</link><description>Hi 
 I have implemented a custom DFU process, where NRF52840 sends another NRF52833 an image to program. 
 The NRF52833 receives the image and validates CRC, if all OK , I am performing the following in my application : 
 
 #define BOOTLOADER_SETTINGS_PAGE_ADDR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Dec 2020 08:03:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69006/custom-dfu-process" /><item><title>RE: Custom DFU Process</title><link>https://devzone.nordicsemi.com/thread/283468?ContentTypeID=1</link><pubDate>Mon, 07 Dec 2020 08:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe93cf50-e30a-40d8-9208-65a5ffc321f7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I made an example that handles DFU in the application layer a while ago which you can find here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code/187534#187534"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code/187534#187534.&lt;/a&gt;&amp;nbsp; But note that&amp;#39;s it&amp;#39;s using the existing SDK DFU modules to receive and store the init packet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU Process</title><link>https://devzone.nordicsemi.com/thread/283392?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 19:48:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48c120f7-fde5-4dc4-a202-e1268763b769</guid><dc:creator>wrani</dc:creator><description>&lt;p&gt;Thanks, Any example I can use as a reference for using init_command in an application ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU Process</title><link>https://devzone.nordicsemi.com/thread/283301?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 12:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f749fbb-e0e9-4d40-8000-d4c37b095f6c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You need to change the implementation above so that instead of updating .bank0/1 directly, you store the init_command. The bootloader will take of updating the other fields during the FW activation process afterwards. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU Process</title><link>https://devzone.nordicsemi.com/thread/283088?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 13:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1583082-6310-4deb-a586-44d42dbc72d2</guid><dc:creator>wrani</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So once&amp;nbsp;I&amp;#39;ll set&amp;nbsp;&lt;span&gt;NRF_BL_DFU_ALLOW_UPDATE_FROM_APP&amp;nbsp; , how to I change my code above to allow DFU successful completion ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom DFU Process</title><link>https://devzone.nordicsemi.com/thread/283083?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 13:10:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:622aa29f-92ab-4a52-ac07-b5560053caa3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This implementation is made to limit what parameters the app is allowed to change inside the settings page. If your bootloader is built with NRF_BL_DFU_ALLOW_UPDATE_FROM_APP you are allowed to change the fields highlighted below.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4555.settings.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Does your custom DFU process include the init command like in our DFU solution? If not, I&amp;#39;m afraid you will have to modify the bootloader module as you have done already.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>