<?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 zip packet error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16150/dfu-zip-packet-error</link><description>Dear Nordic Team, 
 Thanks for support. 
 I try to make zip file generation using command promt as per the nordic document(How to generate the INIT file for the DFU.pdf). Command :
nrf dfu genpkg --application [application].hex --application-version</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Sep 2016 11:49:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16150/dfu-zip-packet-error" /><item><title>RE: DFU zip packet error</title><link>https://devzone.nordicsemi.com/thread/61604?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4807b7e9-bb09-435c-851f-8a33ba446285</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Ok. Thank you for your valuable support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU zip packet error</title><link>https://devzone.nordicsemi.com/thread/61603?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96e40f73-c00d-4742-808a-11a35dd507fe</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@murugan : No that is not possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU zip packet error</title><link>https://devzone.nordicsemi.com/thread/61602?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c336570-01b7-4484-86c7-f476a02e6394</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Now working fine. Copy all all file in D folder. Remove the DFU Folder.&lt;/p&gt;
&lt;p&gt;Now i want to know the if possible all three hex file in one bin file and one dat file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU zip packet error</title><link>https://devzone.nordicsemi.com/thread/61601?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:25:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cea2b180-9830-4284-bcbe-7f9240ef004e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Have you added the location of nrfutil.exe to your PATH? Is the SD,BT and AP.hex files in the same directory from where you are running the terminal ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU zip packet error</title><link>https://devzone.nordicsemi.com/thread/61600?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39cf96ea-932e-4f3a-9406-7c5bac3ec2e3</guid><dc:creator>Murugan</dc:creator><description>&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;Now i am facing new problem show in below&lt;/p&gt;
&lt;p&gt;Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.&lt;/p&gt;
&lt;p&gt;C:\Users\user&amp;gt;D:&lt;/p&gt;
&lt;p&gt;D:&amp;gt;DFU\nrfutil.exe dfu genpkg chec.zip --application AP.hex --softdevice SD.hex
--bootloader BT.hex --application-version 0xFFFFFFFF --dev-revision 0xFFFF --de
v-type 0xFFFF --sd-req 0xFFFE
Traceback (most recent call last):
File &amp;quot;&lt;strong&gt;main&lt;/strong&gt;.py&amp;quot;, line 303, in 
File &amp;quot;click\core.pyc&amp;quot;, line 664, in &lt;strong&gt;call&lt;/strong&gt;
File &amp;quot;click\core.pyc&amp;quot;, line 644, in main
File &amp;quot;click\core.pyc&amp;quot;, line 991, in invoke
File &amp;quot;click\core.pyc&amp;quot;, line 991, in invoke
File &amp;quot;click\core.pyc&amp;quot;, line 837, in invoke
File &amp;quot;click\core.pyc&amp;quot;, line 464, in invoke
File &amp;quot;&lt;strong&gt;main&lt;/strong&gt;.py&amp;quot;, line 236, in genpkg
File &amp;quot;nordicsemi\dfu\package.pyc&amp;quot;, line 172, in generate_package
File &amp;quot;nordicsemi\dfu\nrfhex.pyc&amp;quot;, line 63, in &lt;strong&gt;init&lt;/strong&gt;
File &amp;quot;nordicsemi\dfu\intelhex_&lt;em&gt;init&lt;/em&gt;&lt;em&gt;.pyc&amp;quot;, line 241, in loadfile
File &amp;quot;nordicsemi\dfu\intelhex_&lt;em&gt;init&lt;/em&gt;&lt;/em&gt;.pyc&amp;quot;, line 191, in loadhex
IOError: [Errno 2] No such file or directory: u&amp;#39;SD.hex&amp;#39;&lt;/p&gt;
&lt;p&gt;D:&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU zip packet error</title><link>https://devzone.nordicsemi.com/thread/61599?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 09:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc1c4797-cdc7-46af-aee2-7060daf1f384</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Murugan,&lt;/p&gt;
&lt;p&gt;Yes, if you have provided nrfutil with an application.hex, a softdevice.hex and/or a bootloader.hex, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf dfu genpkg --application application.hex --application-version 0xFFFFFFFF  --softdevice softdevice.hex --bootloader bootloader.hex --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0xFFFE distribution_packet.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;then the softdevice.hex and bootloader.hex will be merged and converted into one .bin file, and the application.hex is converted to the second .bin file.&lt;/p&gt;
&lt;p&gt;If you generate a distribution zip with an application image only, as the example zip, then there will only be one .bin file in  the zip.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>