<?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>serial DFU - failing on execution of init-pack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47824/serial-dfu---failing-on-execution-of-init-pack</link><description>Hi @ all, 
 I am trying to get the serial DFU process runnning. The process worked fine for nrf52832 and now I am on the nrf52840. 
 I encountered a problem with executing the init-package. 
 The following process is done fine: 
 1. Get MTU - set PRN</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 May 2019 14:05:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47824/serial-dfu---failing-on-execution-of-init-pack" /><item><title>RE: serial DFU - failing on execution of init-pack</title><link>https://devzone.nordicsemi.com/thread/189676?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 14:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbe3f9a8-8131-4de3-9435-2ca7913e9567</guid><dc:creator>HaDinh</dc:creator><description>&lt;p&gt;Thank you! I mixed up the firmwarefile with one for the nrf52832 with a different SD. Choosing the right file is complicated sometimes... Best regards!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: serial DFU - failing on execution of init-pack</title><link>https://devzone.nordicsemi.com/thread/189572?ContentTypeID=1</link><pubDate>Tue, 28 May 2019 10:47:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82360b67-87c6-42c2-b888-986d1549bb1b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ha,&lt;/p&gt;
&lt;p&gt;If you have a look inside the code you can find error code 0x0b =&amp;nbsp;&amp;nbsp;NRF_DFU_RES_CODE_EXT_ERROR inside nrf_dfu_req_handler.h&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The extended error code is listed inside nrf_dfu_ext_error_code_t in nrf_dfu_handling_error.h. Code 0x07 meaning :&lt;/p&gt;
&lt;p&gt;NRF_DFU_EXT_ERROR_SD_VERSION_FAILURE = 0x07, /**&amp;lt; The array of supported SoftDevices for the update does not contain&lt;br /&gt; the FWID of the current SoftDevice or the first FWID is &amp;#39;0&amp;#39; on a&lt;br /&gt; bootloader which requires the SoftDevice to be present. */&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could it be that you used the wrong SD version, doesn&amp;#39;t match with what on the nRF52840 ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can add a breakpoing inside&amp;nbsp;sd_req_ok() to check what exactly went wrong.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>