<?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>Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47410/firmware-update-dfu-from-server-or-cloud</link><description>Hello to all, 
 We are using nRF52840 with SDK v15.0 using SES, Our application is we have sensor devices with interface WiFi module. Sensor device will wake up as predefined time interval and send data to cloud using WiFi connectivity. 
 Now we want</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jun 2019 08:49:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47410/firmware-update-dfu-from-server-or-cloud" /><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191963?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 08:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56df4ba3-f60c-4d38-91c1-a995851b0d29</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Thanks for the update..&lt;/p&gt;
&lt;p&gt;We will Implement both transport layer, But currently we getting lots of difficulties for creating our own transport layer for Wi-Fi. I am strange for writing own transport layer for WiFi nothing any available reference source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191917?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2019 06:58:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b35f119-55f0-4fd2-a64a-975966e25f8f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, you can keep the existing BLE transport in the bootloader and still support background DFU in your app.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191610?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 11:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fb900c1-9ab3-4670-8e03-9d1a3bf72e95</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I have one question:&lt;/p&gt;
&lt;p&gt;Our existing application is working with update FW from mobile application over ble which is fine no any problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So Is this possible to update FW over ble(existing) and from cloud that I am currently implementing.&lt;/p&gt;
&lt;p&gt;We want to update Softdevice+Bootloader+app using mobile app and also auto application update from server if available.&lt;/p&gt;
&lt;p&gt;Thanks....!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191501?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 06:33:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:427bb9fe-7019-46fc-b606-2759f43ad9b5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the update, glad to hear that you got it to work! This will hopefully make it easier to implement and verify your Wifi transport. Good luck.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191497?ContentTypeID=1</link><pubDate>Fri, 07 Jun 2019 06:18:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f3d8931-b495-4b71-8e09-da72fdec7ed2</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;After understanding all command and background DFU over UART serial your provided example is worked for me. Understood bootloader setting version and generated setting hex file.&lt;/p&gt;
&lt;p&gt;I am able to view Logs for understanding working flow of program.&lt;/p&gt;
&lt;p&gt;Now my next step is implement custom transport layer for WiFi with my application.&lt;/p&gt;
&lt;p&gt;Thanks...!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191440?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 15:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd56b24f-52be-420d-ae61-c2c617238439</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Ok, I have run the program_bl_sd_bl_settings_52840.bat but got exceptions which is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;unknown bootloader setting version&lt;/p&gt;
&lt;p&gt;And my another point is why in my program getting bootloader start address is not set.&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191410?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 14:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d28ee5e3-fd33-4b12-be7c-c332a6653515</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I didn&amp;#39;t update the Readme after adding support for 52840. You need to run&amp;nbsp;program_bl_sd_bl_settings_52840.bat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191408?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 14:01:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:756a710d-b351-43b1-aee6-34193195c858</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not working at my side getting ERROR Bootloader address is not set for more details about this error will you please check my last reply in above.&lt;/p&gt;
&lt;p&gt;I follow below steps as given in your readme doc file:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open ble_app_hrs_w_serial_project in SES compile and program my nRF52840 DK board.&lt;/li&gt;
&lt;li&gt;run program_bl_sd_bl_settings.sh observe one LED continuous ON and second one is blinking.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Can you please explain the steps of test your example so i can understand How background DFU work.&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191388?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 13:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1724f91-390c-4f94-82ee-ef8df0f8983c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s unfortunate, but I&amp;#39;m afraid I can&amp;#39;t help you with exact&amp;nbsp;instructions for creating a Wifi transport.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="vishal.borle"]I am stuck for implementing custom WiFi based transport layer for background DFU, If you provide me complete NRF logs of working project. I can try with that flow to implement next part with my best.[/quote]
&lt;p&gt;I provided a working project with UART transport. Did you manage to get it working on your side?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/191314?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2019 11:03:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f0fb9d9-b1a7-4533-91aa-ce0a9670df34</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi Vidhar,&lt;/p&gt;
&lt;p&gt;I am facing lots of difficulties to implement background DFU and our WiFi based custom transport layer.&lt;/p&gt;
&lt;p&gt;I have read and understand IoT based background DFu over TFTP and COAP but it looks like different.&lt;/p&gt;
&lt;p&gt;Will you please guide me or provide sample example for WiFi based transport layer?&lt;/p&gt;
&lt;p&gt;I am stuck for implementing custom WiFi based transport layer for background DFU, If you provide me complete NRF logs of working project. I can try with that flow to implement next part with my best.&lt;/p&gt;
&lt;p&gt;Thanks.. looking forward your response..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/190586?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 15:10:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc92142c-165c-44cd-a9a0-b533701bef34</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After programmed SD on SES IDE got another error which is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5850.error2.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;I am little bit confused in your readme fie under testing point 3) Start a debug session in SES to view the debug log?&lt;/p&gt;
&lt;p&gt;Is i need to programmed bootloader before softdevice program?&lt;/p&gt;
&lt;p&gt;I am able to compile our application code with your background dfu example files but got same error&amp;nbsp;bootloader&amp;nbsp;address is not set. If i comment it then got an issue with nrf_dfu_inti() function which is ERROR 8 NRF_ERROR_INVALID_STATE.&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;refered&amp;nbsp;&amp;nbsp;IoT example background dfu over TFTP but it looks like complex and different.&lt;/p&gt;
&lt;p&gt;I know how to communicate with server and get exacted zip&amp;nbsp;in our application. But problem getting for implementing background DFU to handle their request in app.&lt;/p&gt;
&lt;p&gt;Thanks....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/190558?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2019 14:11:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50cd1a69-c8e2-4853-af9f-10bdb704c4be</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like you haven&amp;#39;t programmed the Softdevice. Please make sure to follow the steps outlined in the readme.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user="vishal.borle"][/quote]&lt;/p&gt;
&lt;p&gt;We want use to handle DFU in our running application How i can merge this background DFU libraries with our existing application.&lt;/p&gt;
&lt;p&gt;Is this any example for that How use background DFU ? As available lib description &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fbackground_dfu_bootloader.html"&gt;here&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The IOT example can be used as a reference. You can also see what files I added to my example which was based on the ble_app_hrs example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/190265?ContentTypeID=1</link><pubDate>Fri, 31 May 2019 11:30:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de27162b-c3a7-4518-b1b5-ed725b85f502</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi Vidhar,&lt;/p&gt;
&lt;p&gt;Thanks for your response,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually I downloaded your example that you have made for nRF52840 with name is &amp;quot;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c39136cb1d7c4b7bad35f35fd7d24c96/nRF_5F00_SDK_5F00_15.3.0_5F00_background_5F00_dfu_5F00_3.zip"&gt;nRF_SDK_15.3.0_background_dfu_3.zip&lt;/a&gt;&amp;quot;. This example is complied properly but when i tried to upload this into my nRF52840 board using SeS got EROOR like &lt;strong&gt;unknown function at 0xFFFFFFFE&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8105.error.PNG" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How i can fixed this error at our side?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We want use to handle DFU in our running application How i can merge this background DFU libraries with our existing application.&lt;/p&gt;
&lt;p&gt;Is this any example for that How use background DFU ? As available lib description &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fbackground_dfu_bootloader.html"&gt;here&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for great support..!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/190243?ContentTypeID=1</link><pubDate>Fri, 31 May 2019 10:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:339b1ce4-1a85-4516-bb51-c75288f4bcfe</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suggest that you start with the example I made and see how the UART RX events are forwarded from nrf_dfu_serial_uart to nrf_df_serial and dfu_request handler. It should be enough to replace nrf_dfu_serial_uart.c &amp;amp; nrf_dfu_serial.c with your own &amp;quot;Wifi&amp;quot; transport.&lt;/p&gt;
[quote user="vishal.borle"] Switch device into DFU mode and in DFU main.c file I have added fds.c and fds.h libraries to read this stored file from internal flash memory.[/quote]
&lt;p&gt;&amp;nbsp;Is this in the app or in the bootloader? The DFU should be handled by the app when you do background DFU.&amp;nbsp;&lt;/p&gt;
[quote user="vishal.borle"]Where should i need to send this zip file buffer in dfu_request_handler[/quote]
&lt;p&gt;You need to include create object, execute, etc &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_dfu_transport.html?cp=5_1_3_5_2"&gt;commands &lt;/a&gt;in the requests. Please refer to the message sequence charts for serial DFU.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/190154?ContentTypeID=1</link><pubDate>Fri, 31 May 2019 04:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3add9ff-1676-4f3d-81ab-f8b0b34a9790</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Looking forward your response....!!&lt;/p&gt;
&lt;p&gt;Thanks..!!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/189686?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 14:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8348ce4e-54f1-4815-bde2-7308b3e96c2d</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I have stored binary raw data of program zip into nRF52840 internal flash memory. Switch device into DFU mode and in DFU main.c file I have added fds.c and fds.h libraries to read this stored file from internal flash memory.&lt;/p&gt;
&lt;p&gt;Now&amp;nbsp;I read this program zip from flash using&amp;nbsp;specific file_ID and address in DFU mode. To implement next I am little bit confused and some questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Where should i need to send this zip file buffer in dfu_request_handler?&lt;/li&gt;
&lt;li&gt;Which function need to pass this zip file buffer from main.c(secure_bootloader_uart_debug)?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I required to update firmware without DFU controller, hence our device is act as DFU target as well as DFU controller.&lt;/p&gt;
&lt;p&gt;Looking forward your response..!!!&lt;/p&gt;
&lt;p&gt;Thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/189362?ContentTypeID=1</link><pubDate>Mon, 27 May 2019 13:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fca78af-ebcc-4a19-9a10-131ba394fc9a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;How you implement this will depend on the Wifi module you use and how the server is set up. I&amp;#39;m afraid I don&amp;#39;t have enough information or knowledge to help you with that part.&amp;nbsp;&lt;/p&gt;
[quote user="vishal.borle"]How I can send multiple request to the server in DFU mode for that should I need to implement server connectivity&amp;nbsp;program in our existing boot-loader program. Because to get Firmware image without BLE connection.&amp;nbsp;[/quote]
&lt;p&gt;The DFU is handled by the application in this case, the bootloader is only responsible for activating the new image. So the bootloader will&amp;nbsp;not require support for Wifi connectivity.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/189345?ContentTypeID=1</link><pubDate>Mon, 27 May 2019 13:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b047c96-76b9-49e0-9060-1368ea22b82b</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Thanks for great information..!!&lt;/p&gt;
&lt;p&gt;Regarding your ans of my 1 point will you please provide me sample example program snippet OR useful tutorial links.&lt;/p&gt;
&lt;p&gt;How I can send multiple request to the server in DFU mode for that should I need to implement server connectivity&amp;nbsp;program in our existing boot-loader program. Because to get Firmware image without BLE connection.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks........&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/189244?ContentTypeID=1</link><pubDate>Mon, 27 May 2019 09:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dd36eb6-7cd1-49c4-aab3-8b2c777c1212</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="vishal.borle"]Can you please tell Is this possible to make custom boot-loader as per below work flow[/quote]
&lt;p&gt;&amp;nbsp;Yes, this should work. I cannot think of any potential blockers.&lt;/p&gt;
&lt;p&gt;1. Yes, the application can check if there is a newer version of the app available on the server and initiate DFU by starting the download of the init command and app image. However, you can&amp;#39;t store the zip file in flash as that would require you to&amp;nbsp;have a decompression library in your FW. I.e., the zip must be extracted on the server.&amp;nbsp; Use the&amp;nbsp;message sequence charts for the serial DFU as a reference to see how the init command on FW data should be received.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Yes. The bootloader will activate the new image if both init data and FW data&amp;nbsp;are stored correctly.&lt;/p&gt;
&lt;p&gt;3/4 You should split the download into multiple requests to the server,&amp;nbsp;then generate a request to&amp;nbsp;dfu_request handler for each response. Note that the init packet must be validated before proceeding with the FW update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;5/6. The bootloader will activate the new application on subsequent boot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/189081?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 14:08:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261dda07-3f6e-4cf8-a493-f3a126302570</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Thanks for your fast response..&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/47410/firmware-update-dfu-from-server-or-cloud/189029"]you need to do is to replace the existing UART transport layer with a custom one[/quote]
&lt;p&gt;Can you please tell Is this possible to make custom boot-loader as per below work flow:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Our device used nRF52840 and interfaced external Wi-Fi module using UART and communicate via standard AT command.&lt;/li&gt;
&lt;li&gt;We have written our application program in nRF52840 SoC not any program into WiFi module.&lt;/li&gt;
&lt;li&gt;We have able to update our firmware using mobile app, But our requirement as like if having 100 devices&amp;nbsp;and update available. That time user need to go near by device and connect with mobile then update firmware manually.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;This process is more time consuming to avoid this we are thinking about auto firmware update without DFU controller.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Lets know about to you our auto firmware requirement and is this possible to implement:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Device will woke up and connect with server if update available, download zip file and store it in device flash memory.&lt;/li&gt;
&lt;li&gt;Once zip flash storage process completed enter device into DFU mode.&lt;/li&gt;
&lt;li&gt;Now device in DFU mode read that stored zip file from internal flash memory.&lt;/li&gt;
&lt;li&gt;Write this zip file to dfu_request handler.&lt;/li&gt;
&lt;li&gt;Once new firmware transport successfully completed.&lt;/li&gt;
&lt;li&gt;Reset device and switch into updated firmware application.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Will you please tell me How much difficult to implement above requirement.&lt;/p&gt;
&lt;p&gt;Thanks...!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/189029?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 11:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05c313c0-7920-431b-830c-e379c1a2e9e2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It may be a bit&amp;nbsp;complicated.&amp;nbsp;Basically what you need to do is to replace the existing UART transport layer with a custom one that retrieves new updates via your Wifi module and generate requests to the nrf_dfu_req_handler. General requirements and flow is explained in the SDK documentation here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/40476/unable-to-convert-to-long-range-after-looking-at-umpteen-examples--/157300#157300"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/40476/unable-to-convert-to-long-range-after-looking-at-umpteen-examples--/157300#157300&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The existing transport layers are good as a reference to get started on your own. The main difference is probably that you don&amp;#39;t have a DFU controller controlling the update. Also, the server should extract the zip and send the binary data of the init command and FW image on request, not the entire zip file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/188956?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 07:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65b2f05e-9272-4c53-9399-2869dfebfe30</guid><dc:creator>vishal</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thanks for&amp;nbsp;providing this very useful thread link. I have read this thread and also download source code as attached there.&lt;/p&gt;
&lt;p&gt;But I am not understand &lt;strong&gt;How i can start to implement this?&amp;nbsp;&lt;/strong&gt;&amp;nbsp;For your information the below our current existing working application in brief:&lt;/p&gt;
&lt;p&gt;We have used external WiFi module and interfaced with nRF52840 via UART. This WiFi module is communicate with nordic controller via AT command for sending our data to server as predefined interval set.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now my question is How i can download or get program zip file from server with chunks via uart_event_handler in nRF52840 buffer. For that can you provide me sample program snippet to know better understanding.&lt;/p&gt;
&lt;p&gt;Thanks for supporting....!!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Firmware update (DFU) from server or cloud.</title><link>https://devzone.nordicsemi.com/thread/187954?ContentTypeID=1</link><pubDate>Mon, 20 May 2019 13:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f671c332-287f-4afd-b29b-a13e4595e379</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Suggests that you take a look at this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/46994/background-dfu-application-source-code&lt;/a&gt;. Sounds like you have similar requirements.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>