<?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>zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16297/zip-combining-bl-sd-app-cannot-be-uploaded-in-dfu</link><description>Hello I tried to do a application update with my own key and it does work. 
 But then I tried to create zip with all 3 parts: APP+BL+SD (application+BootLoader+SoftDevice) and that did not work. It copied something but then it end up in DfuTarg. And</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Sep 2016 22:27:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16297/zip-combining-bl-sd-app-cannot-be-uploaded-in-dfu" /><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62302?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 22:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee5a9df0-a85b-41ba-9713-43ed6375d9b6</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Nice to hear that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62301?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 20:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6453fd4e-9f6f-4209-b6aa-e468b21664b8</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;So I manage to upload SD+BL+APP in one zip file using nRF connect 4.4.4. SD was same so it is hard to say if it was success but BL and APP were different so I can confirm it is updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62300?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 19:51:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea60b888-2187-49b4-9550-89ab5e7dff01</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;Sorry I&amp;#39;m stupid somehow in my bootloader target configuration got definition of NRF_DFU_DEBUG_VERSION so it was using debug nordic key and not mine key... Now I can upload application with nRF connect 4.4.4&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62299?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 19:47:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11841d45-73a0-43e8-ba57-107c8d04bf69</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;Hm so I found a phone with 4.4.3 and it also does not work... so I will try some more play with it...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62298?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 19:40:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98756dc3-d382-4217-bf82-b2a9be30a2be</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;I tried to compile bootloader again and compile zip again and it still tells invalid crc. Is there way to get older nRF connect 4.4.3?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62297?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 18:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:775f524f-6487-4350-a08b-004ec625995f</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;This means that your keys don&amp;#39;t match. Generate the bootloader again and sign the firmware with correct private key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62296?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 18:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0f9092c-9d39-49ce-a2b2-f3c69c3cde1d</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;So I did update new version but it works worse than version before - now I&amp;#39;m not able to update even only application. The error is follwing: E 19:47:07.041 [DFU] Remote DFU error: REMOTE DFU INVALID OBJECT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62295?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 15:44:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6be776c-7aca-49d7-9607-4617e21fc616</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;It usually takes about 30 min to be published.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62294?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 15:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0c18e85-8095-4d6c-b309-5819aaba8dd5</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;on google play I see only nRF connect version 4.4.3... I will try wait a bit. I do not know how to force google play to refresh...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62293?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 15:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:314fe9e2-7039-4dac-b0d4-70abf7971205</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;I&amp;#39;ve just released DFU Lib 1.0.4 on GitHub.
Also released nRF Toolbox 1.18.4 and nRF Connect 4.4.4 with those fixes. Could you try one of them and confirm the bug is now fixed? They should be available in couple of minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62292?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 13:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f061e846-e6be-4187-8f42-7d3edf6be71e</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Ok, I found the problem. It is the bug I gave the link to above. In Secure DFU the DFU Library 1.03 (and before) fails to get the ZIP content type: &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library/blob/release/dfu/src/main/java/no/nordicsemi/android/dfu/internal/ArchiveInputStream.java#L390"&gt;github.com/.../ArchiveInputStream.java&lt;/a&gt; The softDeviceSize and bootloaderSize are both 0, as there is no such information in the manifest file (there was in legacy DFU). But applicationSize is &amp;gt;0. So the type returned is APPLICATION, instead of SD+BL+APP.
Then, the app sends app.dat, instead of sd_bl.dat as an init packet. But then, when reading the actual content, it reads the sd_bl.bin (which is bigger than the size specified in app.dat). Therefore, after sending 8 parts it fails, it simple does not expect more data.
I&amp;#39;ll publish the DFU library 1.0.4 soon and all the apps using it soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62291?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 13:06:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25de432a-0656-49ad-8c3e-9e37ab79d26f</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;Hello the log is a bit longer. I put it &lt;a href="https://justpaste.it/yq41"&gt;here&lt;/a&gt;. The error is: E 14:58:28.847 [DFU] Invalid response received (response: 0x600108, expected: 0x6001..)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62290?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 12:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c38ad40-bfdd-4ffb-a921-4532deeb2dcc</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Could you place here the log from the nRF Connect? (from the app, not LogCat)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62289?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 12:31:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8adc95d5-1ea7-4b8a-b9f3-ff17f96f5f16</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;I think it just ended very soon and I saw that DfuTarg is again broadcasting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62288?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 12:25:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48195c86-05f5-42ed-92bb-33519b98fbde</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Btw, what error do you get? Was it INVALID OBJECT? Despite that is was trying to send the App, instead of SD+BL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62287?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 12:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3e0cb3b-bc62-4934-ae30-ef392127ac58</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m doing my best to release it today with DFU Library 1.0.4. I need to test a lot before it goes public.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62286?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 11:47:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5adce929-3c99-42e8-bf40-8232630ccd91</guid><dc:creator>vit bernatik</dc:creator><description>&lt;p&gt;Do you estimate date when fix is planned to be released?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62285?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 09:56:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc0bf0af-9f1f-4871-a014-494149b13799</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;So, first related bug is this: &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library/issues/23"&gt;github.com/.../23&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62284?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2016 09:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b91ada7e-e211-421d-b6ed-6fd414ceae4d</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m on it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zip combining BL+SD+APP cannot be uploaded in DFU</title><link>https://devzone.nordicsemi.com/thread/62283?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 14:08:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:687408ce-5f62-45c4-8032-550082354a51</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I am able to reproduce the issue with nRF Connect v4.4.12, i.e. the update stops at around 20% and the phone disconnects from the DFU target.&lt;/p&gt;
&lt;p&gt;I am not seeing any issue when I am using nrfutil v1.5.3 to perform the DFU from my PC with a nRF51 Dongle and the connectivity firmware. This indicates that its not a problem with the bootloader, but the nRF Connect app for Android. I will notify our Android Developer and update my answer when I hear back from him.&lt;/p&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>