<?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 - what is &amp;quot;Init packet file&amp;quot; (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10605/dfu---what-is-init-packet-file-dat-and-how-to-get-it</link><description>I now have my app.hex and bootloader is running at nRF51822 and yet, the nRF Toolbox finds &amp;quot;DfuTarg&amp;quot; as expected. However, after selecting my file the UI surprisingly starts to ask about &amp;quot;Init packet&amp;quot; and I just say &amp;quot;NO&amp;quot;, because I don&amp;#39;t have such a thing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 28 Aug 2016 07:21:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10605/dfu---what-is-init-packet-file-dat-and-how-to-get-it" /><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39519?ContentTypeID=1</link><pubDate>Sun, 28 Aug 2016 07:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebc745d1-90e4-4382-99d2-2c1d7c16cc9d</guid><dc:creator>vasanth</dc:creator><description>&lt;p&gt;i have done as said above (only application) but now i lost connectivity;  i am not able to  find &amp;quot;DfuTarg&amp;quot; as expected by nRF Toolbox. i just taken hex file of \examples\ble_peripheral\ble_app_beacon.. any advice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39518?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 07:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a151e24b-47d4-42d6-aacc-d7c3eab2092e</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;I was able to generate a working zip file with a command:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\nrf&amp;gt;nrfutil dfu genpkg --application myapp.hex --application-version 0xffffffff --dev-type 0xffff --dev-revision 0xffff --sd-req 0x64,0x45,0x5a myapp.zip

Zip created at myapp.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And the upload must be done by selecting &amp;quot;zip distribution packet&amp;quot; from nRFTools&amp;#39; DFU dialog box.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39517?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 07:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9454cf5-87ed-47de-8dd7-b38737bb72a7</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;I got it working by adding 0x64 code in the list of --sd-req in the nrfutil command line. That code is for the 8.0 S110 soft device, it was mentioned in another thread. But  there&amp;#39;s now another issue, my DFU enabled application doesn&amp;#39;t enter bootloader correctly. It might be similar thing you mentioned. I initiated a new discussion thread for that. Thanks for support this far!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39516?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 15:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bbcaa59-b884-4e1c-85a4-90907fd71fcf</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;MAster control panel (and android equivalents that are able to dfu ota) has been a bit retarded some time ago (i don&amp;#39;t know if this is fixed in new version). The problem was that when you tried to do DFU OTA from app, it just restarted (jumped to bootloader), you received link loss and app became stupid at that moment. You had to scan again, connect to DfuTarg (device advertised in bootloader mode then) and repeat selecting OTA file, and update went good then. This also may be your issue...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39515?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 15:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:beeeb10a-e45f-4276-83a8-18e1d1e9f828</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Yeah, thanks, that was a stupid mistake by me :) Tried again. Now I can start the upload, but it aborts saying &amp;quot;REMOTE DFU OPERATION FAILED&amp;quot;. Well... not very informative :P :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39513?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 14:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60879e69-b66c-48ba-8009-f3346961362b</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Try with selecting &amp;quot;zip distribution packet&amp;quot; (and choosing .zip generated by nrfutil), not the application itself in nrftool on smartphone. It will upload app and init packet at once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39512?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 14:53:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:910df930-07e3-4d34-8cd1-13d2ed66fde4</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Forgot to thank you, the link was very helpful :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39511?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 14:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9487f317-6e0f-465f-a795-e77a2929d805</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;I also tried to generate .dat file like that, and added all the parameters that the documentation lists, but with bad success. Now the nRFTool accepts the file after giving the hex first, but just jams at &amp;quot;Uploading...&amp;quot; and &amp;quot;Starting DFU...&amp;quot; when I pressed UPLOAD. So I would be happy if somebody can give a hint?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39514?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 14:37:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a72877d-1c71-4bf8-88d6-9e2363922b19</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Finally I was able to find nrfutil.exe and run it like:&lt;/p&gt;
&lt;p&gt;C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\nrf&amp;gt;nrfutil dfu genpkg --application aistin.hex aistin.zip&lt;/p&gt;
&lt;p&gt;Zip created at aistin.zip&lt;/p&gt;
&lt;p&gt;However, nRFTool says it is an Invalid file. Any ideas what is wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU - what is "Init packet file" (*.dat) and how to get it?</title><link>https://devzone.nordicsemi.com/thread/39510?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2015 13:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df35d247-5f8e-4d61-a5d3-9c7e5af8af2c</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;&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;&lt;/p&gt;
&lt;p&gt;Use method with nrfutility, as it is the most simple one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>