<?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 device type/revision checks</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13037/dfu-device-type-revision-checks</link><description>I use dfu_dual_bank_ble_s110 bootloader from SDK10. I want the bootloader to check whether if incoming firmware is compatible with the device it is uploaded to (i.e. device&amp;#39;s device type corresponds to new firmware device type defined in init packet and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Apr 2016 09:16:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13037/dfu-device-type-revision-checks" /><item><title>RE: Dfu device type/revision checks</title><link>https://devzone.nordicsemi.com/thread/49705?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2016 09:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67d6713b-fa8d-4b95-9fcf-778d96ae0c99</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The device type and revision checks are already implemented in &lt;code&gt;dfu_init_prevalidate()&lt;/code&gt; in &lt;code&gt;dfu_init_template.c&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;You store the device type and revision that the device should accept in the &lt;code&gt;CUSTOMER[0]&lt;/code&gt; register (at&lt;code&gt;0x10001080&lt;/code&gt;).These values are checked against the values in the init packet, that are specified using the &lt;code&gt;--dev-revision&lt;/code&gt; and &lt;code&gt;--dev-type&lt;/code&gt; options when creating the firmware image using nrfutil.&lt;/p&gt;
&lt;p&gt;Please refer &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/bledfu_example_init.html?cp=4_0_1_4_3_1_1_3_1#bledfu_initcheck"&gt;this&lt;/a&gt; page on our Infocenter for mor information on the Safety Checking mechanism.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>