<?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>SDfile, Bootloadera and Application Files updating  using Serial DFU bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48401/sdfile-bootloadera-and-application-files-updating-using-serial-dfu-bootloader</link><description>Hi All, 
 We are using NRF52832 in our project. We have implemented the c code to perform nrfutil operations. 
 We are following below steps to do it. 
 
 Erase all files. Upload SD file and Bootloader files from the nrfGo studio. 
 Combine SDfile, Bootloadera</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jun 2019 15:16:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48401/sdfile-bootloadera-and-application-files-updating-using-serial-dfu-bootloader" /><item><title>RE: SDfile, Bootloadera and Application Files updating  using Serial DFU bootloader</title><link>https://devzone.nordicsemi.com/thread/191852?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2019 15:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78ff36b4-1c1a-45e7-bb1f-c69785fa61c5</guid><dc:creator>Goudra</dc:creator><description>&lt;p&gt;Thanks, its solve my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDfile, Bootloadera and Application Files updating  using Serial DFU bootloader</title><link>https://devzone.nordicsemi.com/thread/191851?ContentTypeID=1</link><pubDate>Mon, 25 Feb 2019 11:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a4141fb-c18c-46a3-b617-1116724029b8</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Basava,&lt;/p&gt;
&lt;p&gt;Assuming you are using the secure uart serial bootloader in sdk v15.2, take a look at this function inside the nrf_dfu_ver_validation.c file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// This function assumes p_init-&amp;gt;has_fw_version.
static bool fw_version_ok(dfu_init_command_t const * p_init)
{
    ASSERT(p_init != NULL);
    ASSERT(p_init-&amp;gt;has_fw_version);

    if (  (p_init-&amp;gt;type == DFU_FW_TYPE_APPLICATION)
       || (p_init-&amp;gt;type == DFU_FW_TYPE_SOFTDEVICE))
    {
        return ((p_init-&amp;gt;fw_version &amp;gt;= s_dfu_settings.app_version) || !NRF_DFU_APP_DOWNGRADE_PREVENTION);
    }
    else
    {
        return  (p_init-&amp;gt;fw_version &amp;gt; s_dfu_settings.bootloader_version);
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you change:&lt;/p&gt;
&lt;p&gt;return&amp;nbsp; (p_init-&amp;gt;fw_version &amp;gt; s_dfu_settings.bootloader_version);&lt;/p&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;p&gt;return&amp;nbsp; (p_init-&amp;gt;fw_version &amp;gt;= s_dfu_settings.bootloader_version);&lt;/p&gt;
&lt;p&gt;I am pretty sure it should work if you still have the same bootloader version as before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDfile, Bootloadera and Application Files updating  using Serial DFU bootloader</title><link>https://devzone.nordicsemi.com/thread/191850?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 19:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:386e32fd-eed0-45d3-931c-fba9ed7bb108</guid><dc:creator>Goudra</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the reply,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How we can avoid version check?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Basava.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDfile, Bootloadera and Application Files updating  using Serial DFU bootloader</title><link>https://devzone.nordicsemi.com/thread/191849?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 12:01:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dde0082-e40d-4f3c-86f5-5299f4d34bf2</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Basavanagouda,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems like you may need to update the FW version before you do the DFU update a second time (explained in this link):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;b&gt;Firmware version:&lt;/b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;If the image contains a bootloader, the image is accepted if the new firmware version is greater than (&amp;gt;) the existing version of the bootloader. If the image contains an application, the image is accepted if the new firmware version is greater than or equal to (&amp;gt;=) the existing version of the application. If the image contains a SoftDevice and no SoftDevice is already present, the fw_version is checked against the existing application&amp;#39;s version to determine whether the update can overwrite it.&amp;quot;&lt;/p&gt;
&lt;p&gt;This documentation assumes you are using sdk v15.2, but you can select the version you&amp;nbsp;are using here:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-659ab4831c034eb4934a09921a629bba/pastedimage1550750494661v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also, &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;this blog post &lt;/a&gt;could be helpful.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn Kvaale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>