<?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>RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53727/re-in-the-sdk-15-3-how-to-directly-execute-the-application-when-the-dfu-function-is-added-mcu-nrf52832</link><description>hi, 
 in the SDK15.3，I successfully ported the DFU demo to app_uart, but the 52830 will enter the upgrade state each time after downloading the program. I want to know how to solve this problem? I have tried adding bootloader setting, I am sorry that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Oct 2019 10:35:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53727/re-in-the-sdk-15-3-how-to-directly-execute-the-application-when-the-dfu-function-is-added-mcu-nrf52832" /><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217490?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 10:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ab6920f-a8c0-4687-9059-856dfb5a5dda</guid><dc:creator>Ming</dc:creator><description>&lt;p&gt;oh，UnbelievableI need to confirm. thank you so much&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;best wish.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217489?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 10:30:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bef6d66-8002-46b5-866d-339491161481</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It seems to work. I created the settings page and merged it with your hex files. You can see the debug log below.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1572431371470v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/bl_5F00_sd_5F00_app_5F00_settings.hex"&gt;devzone.nordicsemi.com/.../bl_5F00_sd_5F00_app_5F00_settings.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3513.settings.hex"&gt;devzone.nordicsemi.com/.../3513.settings.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you try the merged hex and see if you get the same result?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217453?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 08:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72694c52-591f-4155-9a5f-29891b937ebb</guid><dc:creator>Ming</dc:creator><description>&lt;p&gt;Of course, this is my pleasure.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8640.s132_5F00_nrf52_5F00_6.1.1_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../8640.s132_5F00_nrf52_5F00_6.1.1_5F00_softdevice.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5123.nrf52832_5F00_xxaa_5F00_s132.hex"&gt;devzone.nordicsemi.com/.../5123.nrf52832_5F00_xxaa_5F00_s132.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8750.nrf52832_5F00_xxaa.hex"&gt;devzone.nordicsemi.com/.../8750.nrf52832_5F00_xxaa.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217451?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 08:35:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dd8906b-0223-4d51-985e-3e43cd62f4f1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you upload the .hex files you use so I can try it here? I can make the ticket private if you want.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217445?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 07:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff11b919-88bb-417b-b30f-d16b6fa3c35a</guid><dc:creator>Ming</dc:creator><description>&lt;p&gt;Thank you,but&amp;nbsp;It doesn&amp;#39;t seem to change anything.&lt;pre class="ui-code" data-mode="text"&gt;PS E:\key&amp;gt; nrfutil settings generate --family NRF52 --application nrf52832_xxaa.hex --application-version 1 --bootloader-version 2 --bl-settings-version 1 bootloader_setting.hex                                                               
Generated Bootloader DFU settings .hex file and stored it in: bootloader_setting.hex

Bootloader DFU Settings:
* File:                 bootloader_setting.hex
* Family:               nRF52
* CRC:                  0x8ADC5471
* Settings Version:     0x00000001 (1)
* App Version:          0x00000001 (1)
* Bootloader Version:   0x00000002 (2)
* Bank Layout:          0x00000000
* Current Bank:         0x00000000
* Application Size:     0x00011814 (71700 bytes)
* Application CRC:      0xECCD8805
* Bank0 Bank Code:      0x00000001

PS E:\key&amp;gt; mergehex --merge nrf52832_xxaa_s132.hex bootloader_setting.hex --output output.hex
Parsing input hex files.
Merging files.
Storing merged file.
PS E:\key&amp;gt;                                                                                                                                                                                                                                                                   &lt;/pre&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1572421845365v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217437?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 07:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f0bd72b-c085-4cb4-84f4-555cc500689d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp;I see you&amp;#39;ve set the &amp;quot;&lt;span&gt;--bootloader-settins-version&amp;quot; &amp;#39;1&amp;#39;.&amp;nbsp;It&lt;/span&gt;&amp;nbsp;should be &amp;#39;2&amp;#39; since you use SDK 15.3.0. Can you try&amp;nbsp;to change it and see if it helps?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1572419745727v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217430?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 05:43:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972bed6c-055e-4995-b455-27637e56b607</guid><dc:creator>Ming</dc:creator><description>&lt;p&gt;of course,I learned from this blog，and I am doing this too.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;When I downloaded all the hex (soft device, bootloader, application.hex) files, the device started broadcasting &amp;quot;DFUTarg&amp;quot;.And I tried to update through DFU, it succeeded.&lt;/p&gt;
&lt;p&gt;Then,&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52 --application myapp.hex --application-version 0 --bootloader-version 0 --bl-settings-version 1 bootloader_setting.hex&lt;/pre&gt;After generating boot seting, I use nrf connect to download both softdevcie, boot, boot setting and app.When I found that there was no change, I combined the bootloader and setting into a file.But the result is the same after downloading.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;These are the logs that the NRF connect prints when programming&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;2019-10-30T05:39:44.987Z INFO Parsing HEX file:  E:\key\s132_nrf52_6.1.1_softdevice.hex
2019-10-30T05:39:44.987Z INFO File was last modified at  2018/11/2 下午2:39:16
2019-10-30T05:39:45.066Z INFO Data block: 0x00000000-0x00000B00 (0x00000B00  bytes long)
2019-10-30T05:39:45.067Z INFO Data block: 0x00001000-0x00025150 (0x00024150  bytes long)
2019-10-30T05:39:45.068Z INFO SoftDevice detected, id 0xB7 (S132 v6.1.1)
2019-10-30T05:39:45.089Z INFO Parsing HEX file:  E:\key\output.hex
2019-10-30T05:39:45.089Z INFO File was last modified at  2019/10/30 下午1:37:15
2019-10-30T05:39:45.102Z INFO Data block: 0x00000FF8-0x00001000 (0x00000008  bytes long)
2019-10-30T05:39:45.102Z INFO Data block: 0x00078000-0x0007DD0C (0x00005D0C  bytes long)
2019-10-30T05:39:45.102Z INFO Data block: 0x0007F000-0x0007F05C (0x0000005C  bytes long)
2019-10-30T05:39:45.104Z INFO SoftDevice detected, id 0xB7 (S132 v6.1.1)
2019-10-30T05:39:45.116Z INFO Parsing HEX file:  E:\key\nrf52832_xxaa.hex
2019-10-30T05:39:45.116Z INFO File was last modified at  2019/10/30 下午1:26:36
2019-10-30T05:39:45.147Z INFO Data block: 0x00026000-0x00037814 (0x00011814  bytes long)
2019-10-30T05:39:45.148Z INFO SoftDevice detected, id 0xB7 (S132 v6.1.1)
2019-10-30T05:39:56.760Z INFO Recovery procedure finished
2019-10-30T05:39:56.764Z INFO Using nrfjprog to communicate with target
2019-10-30T05:39:58.057Z INFO Using J-Link Software version 6.50
2019-10-30T05:40:00.749Z INFO Segger serial:  682973788
2019-10-30T05:40:00.749Z INFO Segger speed:  2000  kHz
2019-10-30T05:40:00.749Z INFO Segger version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15
2019-10-30T05:40:00.770Z INFO Probed: 682973788.
2019-10-30T05:40:00.771Z INFO Model: NRF52832_xxAA_REV2.
2019-10-30T05:40:00.771Z INFO RAM: 64KiB.
2019-10-30T05:40:00.771Z INFO Flash: 512KiB in pages of 4KiB.
2019-10-30T05:40:03.089Z INFO Reading device non-volatile memory. This may take a few seconds.
2019-10-30T05:40:03.330Z INFO SoftDevice detected, id 0xB7 (S132 v6.1.1)
2019-10-30T05:40:03.334Z INFO Writing procedure starts
2019-10-30T05:40:16.211Z INFO Write procedure finished
2019-10-30T05:40:16.212Z INFO Using nrfjprog to communicate with target
2019-10-30T05:40:17.373Z INFO Using J-Link Software version 6.50
2019-10-30T05:40:18.426Z INFO Segger serial:  682973788
2019-10-30T05:40:18.426Z INFO Segger speed:  2000  kHz
2019-10-30T05:40:18.426Z INFO Segger version:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan  7 2019 14:07:15
2019-10-30T05:40:18.447Z INFO Probed: 682973788.
2019-10-30T05:40:18.448Z INFO Model: NRF52832_xxAA_REV2.
2019-10-30T05:40:18.448Z INFO RAM: 64KiB.
2019-10-30T05:40:18.448Z INFO Flash: 512KiB in pages of 4KiB.
2019-10-30T05:40:19.648Z INFO Reading device non-volatile memory. This may take a few seconds.
2019-10-30T05:40:19.827Z INFO SoftDevice detected, id 0xB7 (S132 v6.1.1)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;PS E:\key&amp;gt; nrfutil settings generate --family NRF52 --application nrf52832_xxaa.hex --application-version 0 --bootloader-version 0 --bl-settings-version 1 bootloader_setting.hex

Generated Bootloader DFU settings .hex file and stored it in: bootloader_setting.hex

Bootloader DFU Settings:
* File:                 bootloader_setting.hex
* Family:               nRF52
* CRC:                  0xE890C494
* Settings Version:     0x00000001 (1)
* App Version:          0x00000000 (0)
* Bootloader Version:   0x00000000 (0)
* Bank Layout:          0x00000000
* Current Bank:         0x00000000
* Application Size:     0x00011814 (71700 bytes)
* Application CRC:      0xECCD8805
* Bank0 Bank Code:      0x00000001

PS E:\key&amp;gt; mergehex --merge nrf52832_xxaa_s132.hex bootloader_setting.hex --output output.hex
Parsing input hex files.
Merging files.
Storing merged file.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217246?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 08:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f3fcb6d-c73e-4709-9d77-af1bff1b7f81</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Can you show how you&amp;#39;re generating and programming the settings page?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217224?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 01:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34f18d94-50ac-4283-93fd-bd587cd69d2d</guid><dc:creator>Ming</dc:creator><description>&lt;p&gt;Yes, I set it up according to this blog step, use nRF connect to load SD+APP+BL and then enter Dfutarg. Add bootloader setting is still like this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RE:  in the SDK 15.3,How to directly execute the application  when the DFU function is added。MCU：nrF52832</title><link>https://devzone.nordicsemi.com/thread/217101?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 13:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bf972ca-b4a1-4db5-9062-b1a1213c579f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Assume you&amp;#39;re loading the app FW with the Debugger and not through DFU? In that case, have you tried to follow the steps outlined in appendix 1 of this blog post here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>