<?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>Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49610/failed-to-prepare-dfu-package</link><description>I&amp;#39;m trying to use DFU for the first time 
 I&amp;#39;m working my way through these instructions: 
 https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader 
 When I get to &amp;quot;Step C. Generate DFU .zip packet</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Oct 2019 12:00:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49610/failed-to-prepare-dfu-package" /><item><title>RE: Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/thread/216826?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 12:00:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa5d2fa5-d7cb-4534-8cf9-0e796f9c28fe</guid><dc:creator>Luke Galea</dc:creator><description>&lt;p&gt;Hi Vidar, I assumed that was the reason and coincidentally I was reading about the Memory Layout before as well. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/thread/216786?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 09:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c3354b9-fa6a-432a-a04c-151cd721066e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The &amp;quot;blank&amp;quot; configuration starts at address 0x0 in flash and will thus overlap with the MBR section that is required for DFU, see&amp;nbsp;&lt;a class="active" title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_bootloader.html?cp=5_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/thread/216756?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 07:46:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f2fd4ae-d4e7-4eee-8bf8-350d7e9f52f5</guid><dc:creator>Luke Galea</dc:creator><description>&lt;p&gt;What is the&amp;nbsp;reasoning behind this please? i.e. what are the differences between the two files?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/thread/198563?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 20:51:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db16d2e1-b369-43a3-8b85-981249eb6d98</guid><dc:creator>DBT</dc:creator><description>&lt;p&gt;The fix to get me past this error is that I needed to use the &amp;quot;mbr&amp;quot; option of the blinky example code rather than the &amp;quot;blank&amp;quot; option.&lt;/p&gt;
&lt;p&gt;...\examples\peripheral\blinky\pca10056\mbr&lt;/p&gt;
&lt;p&gt;instead of&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;...&lt;/span&gt;&lt;span&gt;\examples\peripheral\blinky\pca10056\blank&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/thread/198560?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 19:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab71d168-101f-4f24-a0e6-ccd9f74e5d9e</guid><dc:creator>DBT</dc:creator><description>&lt;p&gt;I uninstalled Python 3.7.4 and installed 2.7.16&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still getting the exact same result and error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to prepare DFU package</title><link>https://devzone.nordicsemi.com/thread/197774?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 10:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b25bd293-d321-405f-ad88-3d8c464e146a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nrfutil does not support python 3 yet.&amp;nbsp;This is likely why it&amp;#39;s not working. Please use 2.7.x for now. With regards to the --sd-req argument,&amp;nbsp;it must be&amp;nbsp;included it even if no Softdevice is present on the target, but&amp;nbsp;any FWID will be accepted.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>