<?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 BLE .zip Packet Generation Issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32993/dfu-ble-zip-packet-generation-issues</link><description>Hi, 
 I&amp;#39;m planning to implement DFU for a project with buttonless BLE and I&amp;#39;ve been running into a few roadblocks along the way. My nrfutil.exe installation was missing a few commands online resources said to use and upon checking I saw it was version</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Apr 2018 20:35:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32993/dfu-ble-zip-packet-generation-issues" /><item><title>RE: DFU BLE .zip Packet Generation Issues</title><link>https://devzone.nordicsemi.com/thread/128540?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 20:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5e7165c-fdac-48a9-bc65-12c419be2990</guid><dc:creator>Andy Cruz</dc:creator><description>&lt;p&gt;Hey, sorry for responding so late, a lot of deadlines were just around the corner when I originally asked these questions and now I have more time to go back and respond in detail. With help from my supervisor we were able to get the buttonless BLE OTA DFU working to upload programs to our NRF52 development kit. In response to your reply:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/support-private/support/204595/There%20is%20only%20some%20data%20at%20nominal%20temperatures%20of%2025%20degrees%20Celsius.%20This%20devzone%20case%20might%20be%20helpful%20too.%20Here%20is%20the%20data%20I%20was%20referring%20to%20at%20nominal%20temperature.%20What%20kind%20of%20temperature%20range%20are%20you%20interested%20in"&gt;That blog post&lt;/a&gt;&amp;nbsp;unfortunately takes me to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/utility/error-notfound.aspx"&gt;this error page&lt;/a&gt;&amp;nbsp;so I can&amp;#39;t say if the intended page would have been helpful or not. My supervisor and I did however go over the Nordic Info Center page for Buttonless DFU ver. 14.2.0 again more in depth and at the end managed to get it functioning correctly.&lt;/p&gt;
&lt;p&gt;2. The .zip file was definitely far too big and we found the main reason being the target files I was zipping were not the correct files to use. I was trying to essentially recreate the exact same example .zip files in the folder &amp;quot;C:\nRF5_SDK_14.2.0_17b948a\examples\dfu\secure_dfu_test_images\ble\nrf52832&amp;quot; by using nrfutil to package the .hex files in there. The fix for this was we created our own DFU buttonless App files following the guidelines on the InfoCenter for 14.2.0 Buttonless DFU App for creating our own application. We used Segger Embedded Studio to edit the given example found in &amp;quot;C:\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_buttonless_dfu\pca10040\s132\ses&amp;quot; (after making a copy in case we broke something) to compile the code and create .hex files of our own that are significantly smaller sizes than the example images. The resulting .zip files from our experimenting included .bin files closer to 70KB rather than the previous 300+KB from zipping the example image apps, which are much more in line with the file sizes of about 40KB found in the DFU test image .zip files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3 &amp;amp; 4. Neither am I, the computer I use runs many programs slowly and did since the day I arrived so all I know is this issue is not a problem with anything related to nrfutil. It runs much more quickly on other computers, completing tasks in&amp;nbsp;a short time always.&lt;/p&gt;
&lt;p&gt;Thank you very much for your reply, following the corresponding InfoCenter pages more closely helped us since it was the skipping ahead and trying to zip up the DFU test images to test nrfutil packaging that was the error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE .zip Packet Generation Issues</title><link>https://devzone.nordicsemi.com/thread/126687?ContentTypeID=1</link><pubDate>Tue, 03 Apr 2018 16:11:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b31c953-7060-45d0-96ca-4f3ad2f917db</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;1) &lt;a href="https://devzone.nordicsemi.com/support-private/support/204595/There%20is%20only%20some%20data%20at%20nominal%20temperatures%20of%2025%20degrees%20Celsius.%20This%20devzone%20case%20might%20be%20helpful%20too.%20Here%20is%20the%20data%20I%20was%20referring%20to%20at%20nominal%20temperature.%20What%20kind%20of%20temperature%20range%20are%20you%20interested%20in" target="_blank" rel="noopener noreferrer"&gt;This blog post&lt;/a&gt; should also be helpful. The Nordic Infocenter is also very helpful, especially the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/ble_sdk_app_buttonless_dfu.html?cp=4_0_0_4_1_2_6" target="_blank" rel="noopener noreferrer"&gt;info on buttonless dfu&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;2) The zip file seems way too big. What exact command are you using to generate this zip file? In general, after --application-version, you want to just try 0 first if this is the first DFU you are doing with that application (i.e. --application-version 0). Have you tried following the blog post I mention in answer 1? What is the zip size if you follow that guide?&lt;/p&gt;
&lt;p&gt;3) Not sure why this is the case.&lt;/p&gt;
&lt;p&gt;4) My nrfutil commands do not take that long to complete. Are you running nrfutil on Windows? Do all the nrfutil commands take that long to run? I ran nrfutil --help &amp;amp; that finished in about one second. I am running version 3.4.0 on windows 10.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>