<?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 request 4 failed with error: 0xB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83314/dfu-request-4-failed-with-error-0xb</link><description>Hi, I am new with nRF microcontrollers. I created a custom board that mounts the nRF52840 microcontroller. I made a firmware that uses BLE to exchange data and everything works fine. Now I want to use the OTA DFU. I used the example provided in the SDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Jan 2022 15:01:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83314/dfu-request-4-failed-with-error-0xb" /><item><title>RE: DFU request 4 failed with error: 0xB</title><link>https://devzone.nordicsemi.com/thread/347218?ContentTypeID=1</link><pubDate>Tue, 11 Jan 2022 15:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50a45cc6-1f3d-44b3-a917-766ecb225bb1</guid><dc:creator>Stefano1984</dc:creator><description>&lt;p&gt;Thank you very much Vidar.&lt;br /&gt;I will try your suggestion as soon as possible.&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU request 4 failed with error: 0xB</title><link>https://devzone.nordicsemi.com/thread/345868?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 11:09:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:621d6f11-ae62-4e5b-80f2-2f8bb5d52343</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The pre-validation step is failing due to the HW version in your init command not matching the HW version expected by the bootloader. The HW version is set to &amp;quot;52&amp;quot; by default in the bootloader&amp;#39;s sdk_config. So you can either change the NRF_DFU_HW_VERSION setting to &amp;#39;1&amp;#39;, or you can use the default version when generating your DFU package.&lt;/p&gt;
&lt;p&gt;e.g.&lt;/p&gt;
&lt;p&gt;python nordicsemi/__main__.py pkg generate --application hand.hex hand.zip &lt;strong&gt;--hw-version 52&lt;/strong&gt; --sd-req 0x100 --application-version 1 --key-file priv.pem&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>