<?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>DFU flash transport</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92477/dfu-flash-transport</link><description>Hello, 
 Im working right now on a product which saves the update file (init + app packet) on its Flash in a specified memory section. 
 After &amp;quot;uploading&amp;quot; the file in the flash the product get sets in DFU mode from extern. 
 My question here: How to adjust</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Nov 2022 12:57:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92477/dfu-flash-transport" /><item><title>RE: DFU flash transport</title><link>https://devzone.nordicsemi.com/thread/397430?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 12:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:023ee541-4194-4da3-8766-e58984d2d415</guid><dc:creator>Aurele</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also interested in the same feature as you. &lt;a href="https://devzone.nordicsemi.com/members/lecram69"&gt;Lecram69&lt;/a&gt;&amp;nbsp;did you succeed an implementation of it ?&amp;nbsp;I&amp;#39;m currently using sdk17 with a nRF52840 and a Quectel LTEM modem. On my side, the update will be done from the app : that is to say, I will retrieve the .bin + .dat file from a&amp;nbsp;FTP server and store them in the nRF internal flash.&lt;br /&gt;Then, I guess i need to indicate to the bootloader how to apply the new firmware (copy + erasing the old one), is there any documentation on how to proceed ?&lt;/p&gt;
&lt;p&gt;Thank you in advance,&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU flash transport</title><link>https://devzone.nordicsemi.com/thread/389173?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42685aa3-d713-45c1-9677-24a152e619f4</guid><dc:creator>Lecram69</dc:creator><description>&lt;p&gt;Im using SDK17.1.0&lt;/p&gt;
&lt;p&gt;Will try out background DFU. Thx! Still a better solution than creating new transport layer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU flash transport</title><link>https://devzone.nordicsemi.com/thread/388801?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 13:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9abc055e-19c4-4173-8257-67fdf3104cd1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Which SDK version are you using?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_background_dfu.html"&gt;Background DFU&lt;/a&gt; was originally implemented for the IoT SDK, but the IoT libraries have been removed in the latest nRF5 SDK v17.x.0 releases. This have also been used by other protocols like &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/thread_ot_secure_dfu.html"&gt;Thread&lt;/a&gt;, &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/zigbee_example_ota_client.html"&gt;Zigbee&lt;/a&gt;, and &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v5.0.0/md_examples_dfu_README.html"&gt;Bluetooth Mesh&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The bootloader part of Background DFU might still be present in nRF5 SDK v17.1.0, by setting&amp;nbsp;&lt;a title="NRF_BL_DFU_ALLOW_UPDATE_FROM_APP" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/group__nrf__bootloader__config.html?cp=8_1_6_10_7_1_4#ga660b59eacfe333594fa89cc3951bb2c0"&gt;NRF_BL_DFU_ALLOW_UPDATE_FROM_APP&lt;/a&gt;, but there is no examples showing how to receive the updates in the application, and how to trigger the activation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU flash transport</title><link>https://devzone.nordicsemi.com/thread/388798?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 13:33:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95406180-528f-40f4-9dc6-ac9f47e56471</guid><dc:creator>Lecram69</dc:creator><description>&lt;p&gt;The image will be written via Fstorage in 100 Byte chunks in a memory section defined in the linker script (in application): Trigger extern DFU mode, Bootloader should detect the image and update. After this the image should be deleted.&lt;/p&gt;
&lt;p&gt;Didnt read anything about Background DFU? Do you have docu for this?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU flash transport</title><link>https://devzone.nordicsemi.com/thread/388794?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 13:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16b505fa-2b7b-4747-a55c-7a20a1d0882b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you elaborate a bit on how the image is stored in flash, and how the &amp;quot;uploading&amp;quot; happens? Do you mean that a separate application firmware is stored in the flash of the device at all times?&lt;/p&gt;
&lt;p&gt;We have multiple protocols using Background DFU, where the image is received over a transport protocol in application (i.e. not running in the bootloader when receiving the image).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you can store the image in the same format, it should be quite simple to modify the bootloader to only enable the new image when this is desired.&lt;/p&gt;
&lt;p&gt;Using the Serial UART transport layer will likely be easier and not require modifications to the bootloader.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>