<?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 dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7508/dfu-dfu-genpkg-issue</link><description>Hello, 
 I am trying to use the DFU genpkg tool provided by noric for a full application deployment (bootloader, SD, and application). When try tying to do the application alone the tool is succesful 
 Input: 
 nrf.exe dfu genpkg j1.zip --application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jun 2015 17:03:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7508/dfu-dfu-genpkg-issue" /><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26710?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 17:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86caefd5-7591-43a3-a299-01aaab6b075f</guid><dc:creator>Lucas</dc:creator><description>&lt;p&gt;All good when working with the hex files rather then binary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26709?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2015 07:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97e9825e-9294-4ebe-b368-d40aaa86b8aa</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Essentially, yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26708?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 19:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:160d117f-b6b8-41a0-92fa-cf8f434b17d3</guid><dc:creator>Lucas</dc:creator><description>&lt;p&gt;Will the nrftool now do the hex-&amp;gt;binary conversion for us removing the MBR from SD and unneeded lines in the bootloader? I am confused.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26707?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 17:50:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d47c2f6-7cf9-4e3b-a97e-c3a05f17b94f</guid><dc:creator>Lucas</dc:creator><description>&lt;p&gt;Ok so the issue appears to be a size thing. My hex file for the bootloader is the proper size and works with a program it using the J-link. However, when I convert the bootloader file from hex to binary it increases in size. I&amp;#39;m using hex2bin to do the conversion. The document you posted appears to have a solution. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26705?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 17:49:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7c4a12-7d5a-493d-a0dd-b106f8bcc02f</guid><dc:creator>Lucas</dc:creator><description>&lt;p&gt;I didn&amp;#39;t realize the script could work with hex files I thought it only supported .bin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26706?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 07:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecfef7c2-3507-4f94-9dd8-017d63e86e48</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi Lucas,&lt;/p&gt;
&lt;p&gt;In the provided screenshot you have forgotten to add the application version and the bootloader part(or maybe the screenshot has been cropped somehow, if so please provide a new screenshot).&lt;/p&gt;
&lt;p&gt;The zip can contain multiple files, but there are some limitiations. One of them is size constraint, see the calculations in &lt;a href="https://devzone.nordicsemi.com/question/30622/what-is-role-of-bootloader/?answer=30678#post-id-30678"&gt;this&lt;/a&gt; post to get a better idea on the order of magnitudes. nrf.exe lets you create files that are too large to perform DFU, this is not related to your current problem, but it&amp;#39;s nice to have in mind.&lt;/p&gt;
&lt;p&gt;Finally there is also a git repository with a thorough guide on &lt;a href="https://github.com/NordicSemiconductor/nRF-Master-Control-Panel/blob/master/init%20packet%20handling/How%20to%20generate%20the%20INIT%20file%20for%20DFU.pdf"&gt;How to generate the INIT file for DFU&lt;/a&gt;. Here you can see that nrf.exe also supports .hex files as testy said.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU dfu genpkg Issue</title><link>https://devzone.nordicsemi.com/thread/26704?ContentTypeID=1</link><pubDate>Tue, 09 Jun 2015 05:20:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba1a1261-f59c-4d8d-8b53-ef4e65923ebc</guid><dc:creator>testy</dc:creator><description>&lt;p&gt;Try to use &lt;strong&gt;Intelhex&lt;/strong&gt; input files application_nrf51822_xxac.&lt;strong&gt;hex&lt;/strong&gt;, bootloader_nrf51822_xxac.&lt;strong&gt;hex&lt;/strong&gt; instead of binaries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>