<?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>Why is it recommended to have version checking enabled when signed updates are being used for DFU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48991/why-is-it-recommended-to-have-version-checking-enabled-when-signed-updates-are-being-used-for-dfu</link><description>Hi, 
 I have a project that has a bootloader based on the SDK15.3 secure buttonless DFU example. During pre-production testing, the need for downgrading the app came up. So, while reviewing the notes for the NRF_DFU_APP_DOWNGRADE_PREVENTION flag, I came</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jul 2019 08:21:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48991/why-is-it-recommended-to-have-version-checking-enabled-when-signed-updates-are-being-used-for-dfu" /><item><title>RE: Why is it recommended to have version checking enabled when signed updates are being used for DFU?</title><link>https://devzone.nordicsemi.com/thread/195531?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 08:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20969b84-775c-409a-acb2-6fbe0eef7be8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="luimot"]why version checking needs to be enabled for signed updates?[/quote]
&lt;p&gt;To make sure the&amp;nbsp;compatibility between&amp;nbsp;&lt;span&gt;Hardware/SoftDevice/firmware versions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;See&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_bootloader_dfu_validation.html"&gt;Validation&lt;/a&gt;&amp;nbsp;for more information.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The &lt;span&gt;&lt;a title="Validation" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_bootloader_dfu_validation.html?cp=5_1_3_5_1_1_2#lib_bootloader_dfu_init_validation"&gt;Validation&lt;/a&gt; of the image includes checks to verify that the image originates from a trusted source and that it is compatible with the device and the current firmware and hardware. See the&amp;nbsp;&lt;em&gt;nrf_dfu_ver_validation_check()&lt;/em&gt; and&amp;nbsp;&lt;em&gt;fw_version_ok()&lt;/em&gt; inside the&amp;nbsp;nrf_dfu_ver_validation.c.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to avoid version checking, you can refer to this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48401/sdfile-bootloadera-and-application-files-updating-using-serial-dfu-bootloader/191851"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is it recommended to have version checking enabled when signed updates are being used for DFU?</title><link>https://devzone.nordicsemi.com/thread/195439?ContentTypeID=1</link><pubDate>Sat, 29 Jun 2019 00:11:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6f73ea3-962c-42e3-a7bd-5d1c5af2d547</guid><dc:creator>luimot</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve gone over the linked post a couple times and I don&amp;#39;t think that it answers the original question. Can you explain which part of the post addresses why version checking needs to be enabled for signed updates?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is it recommended to have version checking enabled when signed updates are being used for DFU?</title><link>https://devzone.nordicsemi.com/thread/194820?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2019 09:24:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0ca295d-34b9-42b7-8d6a-cadcad28b6c8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48401/sdfile-bootloadera-and-application-files-updating-using-serial-dfu-bootloader/191851"&gt;post&lt;/a&gt; might help you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>