<?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>Creating an image file to DFU on SDK8.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6307/creating-an-image-file-to-dfu-on-sdk8-0</link><description>hi,
to do DFU on SDK 8.0, if use the MCP on PC, it wants to select a zip file, if select a hex file, it will fail. I have created the bin image,but I can’t create the zip file by nrf.exe. can you give some advise about howto create the zip file for MCP</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Dec 2015 16:31:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6307/creating-an-image-file-to-dfu-on-sdk8-0" /><item><title>RE: Creating an image file to DFU on SDK8.0</title><link>https://devzone.nordicsemi.com/thread/22009?ContentTypeID=1</link><pubDate>Mon, 14 Dec 2015 16:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c2ead9a-550f-49e7-b7de-e56572f08962</guid><dc:creator>letter57</dc:creator><description>&lt;p&gt;I have got the same error message. i move out the nrf.exe to D:/test. And put the file(nrf51422_xxac.bin) in D:/test . Then in command line type
nrf.exe dfu genpkg app.zip --application nrf51422_xxac.bin --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0x0064&lt;/p&gt;
&lt;p&gt;it&amp;#39;s successfully to creat app.zip in D:/test&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating an image file to DFU on SDK8.0</title><link>https://devzone.nordicsemi.com/thread/22008?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2015 01:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d81fc294-a02a-4d59-a54b-6d5ffadc2b1e</guid><dc:creator>kevin.lee</dc:creator><description>&lt;p&gt;I have tried this command,but failed. please find the error massage on my comment, thanks. and my OS is win8.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating an image file to DFU on SDK8.0</title><link>https://devzone.nordicsemi.com/thread/22007?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2015 01:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86424d42-c7cb-454a-8ff3-e7bbe06d9143</guid><dc:creator>kevin.lee</dc:creator><description>&lt;p&gt;C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf 的
目录&lt;/p&gt;
&lt;p&gt;2015/03/25  15:29              .
2015/03/25  15:29              ..
2015/03/25  15:20            19,672 hrs.bin
2015/03/02  15:36         8,666,112 nrf.exe
2015/03/12  09:35              nrfsdk
2 个文件      8,685,784 字节
3 个目录 192,709,287,936 可用字节&lt;/p&gt;
&lt;p&gt;C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf&amp;gt;nrf
.exe dfu genpkg app.zip --application hrs.bin --application-version 0xffff --dev
-revision 0xffff --dev-type 0xffff --sd-req 0x0064
Traceback (most recent call last):
File &amp;quot;nrf.py&amp;quot;, line 134, in 
File &amp;quot;nrf.py&amp;quot;, line 129, in main
File &amp;quot;nrfsdk\calliope\cli.pyc&amp;quot;, line 498, in Execute
File &amp;quot;nrfsdk\calliope\backend.pyc&amp;quot;, line 1016, in Run
File &amp;quot;C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7
\nrf\nrfsdk\nordic\dfu\cli\genpkg.py&amp;quot;, line 96, in Run
package.generate_package(zipfile_path)
File &amp;quot;nordicsemi\dfu\package.pyc&amp;quot;, line 200, in generate_package
File &amp;quot;nordicsemi\dfu\package.pyc&amp;quot;, line 214, in create_zip_package
File &amp;quot;zipfile.pyc&amp;quot;, line 752, in &lt;strong&gt;init&lt;/strong&gt;
IOError: [Errno 13] Permission denied: &amp;#39;app.zip&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating an image file to DFU on SDK8.0</title><link>https://devzone.nordicsemi.com/thread/22006?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 10:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4a4905e-2c28-4a02-b811-7e92d68bfeca</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;How to create a zip-file that contains the bin-file and the init packet is described here: &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v8.x.x/doc/8.0.0/s110/html/a00092.html"&gt;developer.nordicsemi.com/.../a00092.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A typical command would look something like this: (for SD v8.0.0)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf.exe dfu genpkg app.zip --application nrf51822_xxac.bin --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0x0064
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you tried this, but failed, please include the commands you wrote and any error messages you got, in your question.&lt;/p&gt;
&lt;p&gt;The newest version of the MCP for Android is 2.1.1. You can also try to use the nRF Toolbox app for Android, it includes a separate DFU application.&lt;/p&gt;
&lt;p&gt;EDIT&lt;/p&gt;
&lt;p&gt;The error message you posted in the comment is the same as in this thread: &lt;a href="https://devzone.nordicsemi.com/question/33282/latest-dfu-example/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The issue is that you don&amp;#39;t have permission to access the .zip file, probably because you don&amp;#39;t have write permissions to the folder. Try opening the terminal as an administrator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>