<?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>Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13561/bootloader-hangs-after-sending-filesize</link><description>I have a problem with the new SDK11 Bootloader. With SDK 0.9.2. everything worked fine, but with SDK11 not. The strangest thing is that if i use the precompiled hex file in /dfu/bootloader/hex it works. Compiling the program without any change it did</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2016 11:21:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13561/bootloader-hangs-after-sending-filesize" /><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51742?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 11:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a41fbfdd-9439-49be-93c7-9ee5a134b655</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Great! Just update this question once you&amp;#39;ve had time to test it and let us know if the fix in nrfutil was the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51740?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 09:41:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8e1567a-7b1a-4815-8693-d6898651179c</guid><dc:creator>Gotta</dc:creator><description>&lt;p&gt;I am on some priority work now, but I will try and let you know! By the way there was another issue with nrfutils version Vs SDK version which I reported and corrected by Nordic. May be a reason if we create a .zip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51739?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 09:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37c9427d-f770-4941-a6c3-8f9583fb8110</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@ggotta : Could you try again and see if the issue has been resolved by our app developers?
@KingKarl237 : So you&amp;#39;re able to use the Android MCP app to perform a DFU without any problems?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51738?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 14:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad59323-e813-4fa2-8d58-24755ba80986</guid><dc:creator>KingKarl237</dc:creator><description>&lt;p&gt;After A few weeks i have retried it and it worked...
I&amp;#39;m not sure what it was, but it was very strange that the precompiled Hexfile worked and the compiled without changes does not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51737?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 14:01:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51add966-cc63-4613-9c1d-b86ad25587f5</guid><dc:creator>Gotta</dc:creator><description>&lt;p&gt;This not working with Android Application, but it working with windows based MCP. Not sure what was wrong with Android app, have not tried after due to some other priority stuff.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51741?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 10:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8d66d6-133a-4a46-a559-ccce951d9af6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@KingKarl237 or @ggotta : Have you been able to find the cause of the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51736?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2016 17:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe66fbef-409f-4382-8971-af868dbb72da</guid><dc:creator>Gotta</dc:creator><description>&lt;p&gt;I am facing the same issue, may I ask Nordic to list all possible check points. I am using a custom board with NRF51822-QFAC-R7 and Master Control panel on Android. The DFU is working with test images.
I build an application image with noridc_sdk_11/examples/ble_peripheral/ble_app_hrs/pca10028/s130_with_dfu/armgcc with _MINOR ver as  0x05 and flashed SD, BL and App. It worked and have seen the advertisement.
Then I re-build my app with _MINOR as 0x06 and created .zip file with below options:
$ sudo nrfutil  dfu genpkg --application _build/nrf51422_xxac_s130.bin --application-version 0xFFFFFFFF nrf51422_xxac_s130_hrs_ver6.zip
It didn&amp;#39;t worked!
Few logs copied here:
D	23:23:58.986	[DFU] wait(1000)
V	23:23:59.839	[DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123
D	23:23:59.899	[DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123)
I	23:23:59.932	[DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 01-04
A	23:23:59.964	[DFU] DFU Start sent (Op Code = 1, Upload Mode = 4)
V	23:24:00.041	[DFU] Writing to characteristic 00001532-1212-efde-1523-785feabcd123
D	23:24:00.076	[DFU] gatt.writeCharacteristic(00001532-1212-efde-1523-785feabcd123)
I	23:24:00.106	[DFU] Data written to 00001532-1212-efde-1523-785feabcd123, value (0x): 00-00-00-00-00-00-00-00-E8-80-00-00
A	23:24:00.171	[DFU] Firmware image size sent (0b, 0b, 33000b)
E	23:24:00.249	[DFU] Error (0x13): GATT CONN TERMINATE PEER USER
D	23:24:00.362	[DFU] gatt.refresh() (hidden)
D	23:24:00.396	[DFU] gatt.close()&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51735?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 11:52:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b1bd42e-9c96-4794-b47a-640316406e0d</guid><dc:creator>KingKarl237</dc:creator><description>&lt;p&gt;@Bjørn: Yes, and the precompiled Bootloader worked on my custom board too.
But i have no time at the moment to find out the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51734?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 08:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a847a8c-1b2e-4f5a-ae03-cef605e1824e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;So DFU with the Bootloader from SDK v11.0.0 worked properly on your nRF52 DK, but not on your custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51733?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 14:39:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66d2e5a6-6bc8-4beb-aaef-75080902fefc</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;@KingKarl237 Please let us know what the problem was if you solve this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51732?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 14:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b3c07f5-0bc1-4a7e-a781-3ba2df3ea0b1</guid><dc:creator>KingKarl237</dc:creator><description>&lt;p&gt;I have noticed now, that it worked on the Development-Kit. So there is a problem with my board ( which didn&amp;#39;t happened with SDK0.9.2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51731?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 14:08:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27feed5c-22d4-4a9b-8849-2cb1edfb1fc1</guid><dc:creator>KingKarl237</dc:creator><description>&lt;p&gt;I have build a own program for initiating DFU and it worked good with SDK0.9.2 . But with the new Bootloader i have also tried it with the Master Control Panel App for Android. Same behaviour here.
I haven&amp;#39;t done something at the debugging options. I will take a look at this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader hangs after sending filesize</title><link>https://devzone.nordicsemi.com/thread/51743?ContentTypeID=1</link><pubDate>Mon, 02 May 2016 13:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a7b414f-af56-4231-a945-a3bda5413942</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I am assuming that you&amp;#39;re not using our apps, but initiating DFU manually by writting to the DFU characteristics. Are you debugging the bootloader with optimatization level 0, as described in &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/"&gt;this&lt;/a&gt; post?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>