<?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>What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25488/what-can-i-do-if-i-want-to-dfu-bootloader-and-application</link><description>my company already have firmware with nRF51 and SDK11 
 recently, we made new Firmware 
 
 
 watchdog timer feature 
 so we modified application and bootloader 
 
 now, we want to make zip file for DFU. so end user can upgrade their firmware of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Oct 2017 00:06:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25488/what-can-i-do-if-i-want-to-dfu-bootloader-and-application" /><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100441?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2017 00:06:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4a03b7a-01a5-42dd-8ff6-929e5cf55343</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;It is great help to me.
Thank you Hung Bui.
My company&amp;#39;s app engineer is trying to make DFU BL first then APP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100440?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 10:43:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e458dd1-eaa7-4d8b-b1bf-ea29f884e6dd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeong,&lt;/p&gt;
&lt;p&gt;I afraid BL+APP may not fully supported, my suggestion is to try BL update first and then do APP update separately. It may take some more time but it&amp;#39;s the safest way of doing that.&lt;/p&gt;
&lt;p&gt;To read out flash, you can use nrfjprog in command line simply write &lt;code&gt;nrfjprog.exe --readcode filename.hex&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100439?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 10:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aab46396-909d-480e-b865-ce38cbaeab1a</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;ol&gt;
&lt;li&gt;using J-Link, BL programing and Application is okey. no problem&lt;/li&gt;
&lt;li&gt;Problem is wireless DFU to my customer&amp;#39;s device, which is already around the world.&lt;/li&gt;
&lt;li&gt;not tried to read hex out and compare. - could you let me know how to do it?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100438?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 12:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc09870e-44e9-4903-aecb-fe9a399591a0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you followed my suggestion to do BL and Application update separately first ? Update BL and then Application ?&lt;/p&gt;
&lt;p&gt;Have you tried to flash your new application + new bootloader using the cable (not DFU) and verify that it&amp;#39;s working ?&lt;/p&gt;
&lt;p&gt;You mentioned device not working meaning DFU process worked ? Have you tried to read the hex out and compare to if you flash it using the cable ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100437?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 01:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e35781f4-536b-4a8a-8264-e04b8cdefd5a</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;Hung Bui.&lt;/p&gt;
&lt;p&gt;After long holiday in Korea, I tried and failed.&lt;/p&gt;
&lt;p&gt;Let me clear my situation.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;My device has firmware with BL+APP+SD+ (SD130 v2.0.0, SDK11)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I make firmware with app_valid_setting_apply.hex which make Application running (not Bootloader)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I want to upgrage Bootloader and Application (watchdog timer added version) via DFU OTA (using nRF connect app of Android)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;so, I make BL+APP zip file with nrfutil.exe&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;nrfutil.exe dfu genpkg --bootloader hex\inoon_wdt_dfu_dual_bank_ble_s130_pca10028.hex --application hex\nrf51822_xxac_s130_v3.1.8.hex hex\gper2_bl_app_v3.1.8.zip&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start="5"&gt;
&lt;li&gt;did DFU, but device is not working&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100434?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 14:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a50e767-41d1-4155-870c-6acd8302bddc</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;I tried BL+APP+SD zip file with nrfutil and DFU OTA&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;but it didnot work well. I think when it boots, Bootloader is working, instead of Application&lt;/li&gt;
&lt;li&gt;that&amp;#39;s why I thought app_valid_settings_apply.hex might needed&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Anyway I will try just you told me to do.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make BL+APP zip file and DFU OTA.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I will try and comment the result.&lt;/p&gt;
&lt;p&gt;thanks for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100431?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 13:35:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17dffc61-586f-45aa-99f4-57857fd537a6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Then I don&amp;#39;t see why app_valid_setting_apply.hex has anything to do here. Again, don&amp;#39;t mergehex if you are doing APP+ BL update. To verify please try testing updating the BL, and the Application separately first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100433?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 10:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:732dff56-8983-4396-9af8-3d5102886748</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;OTA DFU
Sorry for confusion&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100436?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2017 08:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1688a51-68b5-463e-a2e0-163dd622417e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Please be more specific, you want to do OTA DFU to update app+BL or you want to flash app+BL using nrfjprog/JLink ?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100432?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 13:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06f60442-5cc9-4f83-ab23-46b2c91a416e</guid><dc:creator>Jeong Hyun Seok</dc:creator><description>&lt;p&gt;thank you for the comment.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;without app_valid_setting_apply.hex - when reboot, It starts Bootloader.&lt;/li&gt;
&lt;li&gt;app_valid_settings_apply.hex is from Nordic&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What can I do if I want to dfu Bootloader and Application</title><link>https://devzone.nordicsemi.com/thread/100435?ContentTypeID=1</link><pubDate>Wed, 27 Sep 2017 12:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7247433-2f00-4008-b5a1-6e27bb32c67d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I believe BL+APP is supported. The DFU master will do 2 phases DFU, replace the Bootloader first and then update the application.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Why do you have to do app_valid_setting_apply.hex. Don&amp;#39;t do that, just simply generate your application + bootloader .zip file using nrfutil. Don&amp;#39;t do mergehex.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>