<?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 application doesn&amp;#39;t seems to be updated</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19576/dfu-application-doesn-t-seems-to-be-updated</link><description>Hi, 
 I am currently trying to perform DFU update over BLE, I am working on SDK v11.0, and Softdevice S130 v2.0.0. My traget is an nRF51822-QFACA1. 
 When I enter in bootloader mode, everything works fine until I am trying to upload trhough BLE an Init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jul 2017 21:53:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19576/dfu-application-doesn-t-seems-to-be-updated" /><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76157?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 21:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bf38749-c78a-45d8-9139-72acfe0255e2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@saiteja: The size of .zip file or .hex file is not the size of the image on flash. You need to check the size when you compile the firmware, or you need to convert to .bin file to see the actual size&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76155?ContentTypeID=1</link><pubDate>Tue, 04 Jul 2017 11:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32ce12f2-4a81-4c53-a6da-4e972c8c69ff</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;hi i am also facing same issue. when i create zip file it is giving 130kb around. how to reduce size of zip file using nrfutil i am using fallowing command to generate zip (SDK11 S132V2.0.0) ***&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;nrfutil.exe dfu genpkg --application
app.hex --application-version 0xFF
--dev-revision 0xFF --dev-type 0xFFFF --sd-req 0x81 dfu_app.zip&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;hr /&gt;
&lt;p&gt;please help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76159?ContentTypeID=1</link><pubDate>Fri, 05 May 2017 16:10:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ba4e6d-e693-4156-aa0b-8e025aa559f5</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;I restarted the bootloader code from scratch and uploaded a smaller application and now it works.
Thanks a lot !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76158?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 12:51:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290c13bb-73ac-455d-b631-0000e56ef519</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Guillaume,&lt;/p&gt;
&lt;p&gt;You can find the max size for dual bank by looking at DFU_IMAGE_MAX_SIZE_BANKED inside dfu_types.h. It&amp;#39;s varied depends on your chip&amp;#39;s flash size and the number of data page you reserved.&lt;/p&gt;
&lt;p&gt;Please have a look &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_memory.html?cp=4_0_3_4_3_1_3_0#bledfu_memory_default"&gt;here&lt;/a&gt;. If you take Application code, free/swap, and application data and divide by 2 you have the rough number of the max size you can have.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76156?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2017 13:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1737ee62-7ac4-4cd1-859f-d074ba797fcb</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll check that, do you know what is the maximum size of application for the dual bank DFU ? Just to be sure, the app size of 75kB is the .bin file size, isn&amp;#39;t it ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76154?ContentTypeID=1</link><pubDate>Wed, 26 Apr 2017 08:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60a3d224-02bd-4708-a826-a3e535bc35bd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Guillaume,&lt;/p&gt;
&lt;p&gt;From the log I can see that you are updating a pretty big application with the size of 75kB (in hexa: 0x0125c8). The DFU bootloader responded with 0x100104 telling that the size exceed the maximum size (packet 5264). You may need to consider using single bank DFU update instead of dual bank update. See the memory layout &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_memory_banks.html?cp=4_0_3_4_3_1_3_2"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Simply replace dfu_dual_bank.c with dfu_single_bank.c and recompile the bootloader to make it work as single bank DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76153?ContentTypeID=1</link><pubDate>Tue, 25 Apr 2017 16:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac4169a3-4035-4115-a6ba-8369a8d334e1</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Hi,
Sorry for the delay. Here is the wireshark recording of a sniffer trace : &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bootloader_5F00_issue.pcapng"&gt;WireShark file&lt;/a&gt;
Could you please have a look ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76152?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 15:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76aed1cd-65ca-49fe-b46a-c4022c8f8099</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Guillaume,&lt;/p&gt;
&lt;p&gt;Please try to test with unmodified DFU bootloader.
Please try to capture a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace&lt;/a&gt; when you do DFU update. And try to use nRF Master Control panel to do DFU instead of nRFToolbox app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76149?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 13:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34bf8116-7935-4d7b-b1a8-cbef96a130bc</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Finally I have downloaded Master Control Panel v 3.10.0.14 which contains nrfutil 0.3.0. I used the command line that you mentioned and downloaded the zip file with nRFToolbox on a target containing only the softdevice and the bootloader, but it still doesn&amp;#39;t work, and I have &lt;code&gt;(*((uint32_t *)app_addr) == EMPTY_FLASH_MASK)&lt;/code&gt; again.
I also tried sending dfu_test_app_hrm_s130.zip, which is already in the SDK, but the same thing happens...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76151?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 10:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e28aca3-4ef5-4392-af1d-7272f26d51e6</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Hi,
I have Master Control Panel v.3.6.0.8331, and unfortunately I don&amp;#39;t have any nrf folder in it.
Do you know where can I get the good version of nrfutil ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76150?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2017 08:34:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ade2cc-4ee9-4022-8e3c-23809f86a6c3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Seems that you are using the create image command for the DFU bootloader in SDK v12 and later. For SDK v11, you should follow &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_example_image.html"&gt;this instruction&lt;/a&gt;.
You should use the nrfutil.exe located at  C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel&amp;lt;version&amp;gt;\nrf\&lt;/p&gt;
&lt;p&gt;The command should look like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil.exe dfu genpkg app.zip --application yourapplication.hex --application-version 0xffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You can try to test using our provided .zip sample file in \examples\dfu\ble_dfu_send_hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76148?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 16:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54cd8163-6591-4c70-b793-2b0e78b29f98</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Hi,
I am sorry if I didn&amp;#39;t clarify enough, if I don&amp;#39;t have any app flashed, I can&amp;#39;t do a DFU update. It just restart in DFU mode without loading any app, and advertise as DFUTarg.
I will look into the debug of the bootloader and maybe try an unmodified example.
About the init packet, I am using nrfutil with the following command line :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfutil pkg generate --application app_helio_v2-00.bin --hw-version 2 --application-version 0x00000002 --sd-req 0x80 --key-file key.pem pckg_app_v2-00.zip
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU application doesn't seems to be updated</title><link>https://devzone.nordicsemi.com/thread/76147?ContentTypeID=1</link><pubDate>Thu, 09 Feb 2017 11:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b7f2e7e-9077-452e-a882-d38e618c0b22</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Guillaume,&lt;/p&gt;
&lt;p&gt;Could you clarify, if you don&amp;#39;t have any app flashed, can you do a DFU update ? Or the device simply restart and you can&amp;#39;t do any update ? Could you describe clearly what happens, would the device advertise as DFUTarg ?&lt;/p&gt;
&lt;p&gt;Note that you can uncheck the optimization level and debug the bootloader to figure out why it restart/crash. You may need to follow &lt;a href="https://devzone.nordicsemi.com/question/18039/bootloader-debugging/?answer=18051#post-id-18051"&gt;this instruction&lt;/a&gt; on how to debug.&lt;/p&gt;
&lt;p&gt;My suggestion is to try to test with the default, unmodified example.
Also please describe how you generate the .zip file for DFU ? Have you tried to use a default .zip provided with the nRFToolbox ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>