<?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>Query on feasibility of firmware-upgrade, via a particular flow involving Wifi</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42583/query-on-feasibility-of-firmware-upgrade-via-a-particular-flow-involving-wifi</link><description>Hi All. 
 Currently we are using buttonless-dfu service to upgrade firmware via ble on an nrf peripheral-device (via nrf-connect app on mobile central-device). Next, in order to speed up the dfu, we are thinking of the following flow, kindly help us know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jan 2019 15:15:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42583/query-on-feasibility-of-firmware-upgrade-via-a-particular-flow-involving-wifi" /><item><title>RE: Query on feasibility of firmware-upgrade, via a particular flow involving Wifi</title><link>https://devzone.nordicsemi.com/thread/166051?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 15:15:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7cfc03e-2f7b-44b6-93be-3159f858c492</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ajay,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you tell more about your wifi-module&amp;nbsp; ? Is it a thin-modem&amp;nbsp;or it has a MCU inside ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume it&amp;#39;s just a thin modem with no MCU.&lt;/p&gt;
&lt;p&gt;I think what you plan to do is feasible. Mainly, it&amp;#39;s about receiving an image via UART, store that to flash then switch to a bootloader. The bootloader take care of swapping the new image with the original application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In this case most of the work is done with the application, the bootloader only taking care of switching image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can even optimize it to no bootloader but using the MBR (if you have softdevice) and use the MBR to swap the image, but it&amp;#39;s more advance and has more risk. If you update a bad image, you have no way to roll back or DFU another image. When with the bootloader (that support BLE DFU) you can do an DFU.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>