<?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>Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62388/implementing-buttonless_dfu-to-hrs_freertos</link><description>Hi, 
 I am developing the &amp;#39;buttonless dfu&amp;#39; to the &amp;#39;hrs freertos&amp;#39; using the SDK v15.3.0. 
 However, after I compiled the modified code and loaded to the target broad, I got the below error. 
 &amp;lt;info&amp;gt; app: nrf_sdh_ble_enable() err:0 ram_start:0x20002258</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jun 2020 06:19:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62388/implementing-buttonless_dfu-to-hrs_freertos" /><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/256086?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 06:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9c6542-3103-4417-a5e3-82f4c4faba88</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;It works now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255964?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 12:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92ba0ac5-7ab0-43ba-824d-94a2365fc832</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please execute the&amp;nbsp;251064.bat in the &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-738a8d4587384c4aa38b60e0224ee8b3/251064.zip"&gt;devzone.nordicsemi.com/.../251064.zip&lt;/a&gt;. Please let me know this can run the&amp;nbsp;ble_app_buttonless_dfu on your nRF52832DK or not. If so, you can take a look at the program flow in the 251064.bat.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255881?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 07:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:096b2627-0812-4b18-bf5c-cf1b4e193ee4</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Maybe my poor presentation.&lt;/p&gt;
&lt;p&gt;What I want to say is I have followed your instructions&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52 --application ble_app_buttonless_dfu_pca10040_s132.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloaderSettings.hex

mergehex -m ble_app_buttonless_dfu_pca10040_s132.hex bootloaderSettings.hex -o merged.hex

nrfjprog --program merged.hex --sectorerase

nrfjprog -r&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, the ev board cannot run. Seems it hangs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255875?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 06:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71d86163-7308-4b9d-91c9-11a0d3524476</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to&amp;nbsp;&lt;span&gt;program the&amp;nbsp;&lt;/span&gt;&lt;span&gt;ble_app_buttonless_dfu with&amp;nbsp;nrfjprog, you should use the image which merges bootloaderSettings and ble_app_buttonless_dfu instead as I mentioned in the previous reply instead of FW.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255860?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 01:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d47644e-4813-47bf-9ef8-e297598054ce</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I did exactly what you mentioned above.&lt;/p&gt;
&lt;p&gt;I could update the application FW through mobile APP and the FW could run on the ev board.&lt;/p&gt;
&lt;p&gt;However, the FW could not run on the ev board while I programmed apllication FW using &amp;#39;nfrjprog&amp;#39;.&lt;/p&gt;
&lt;p&gt;That is very frustrating!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255568?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 13:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce954430-6878-4003-b2f7-aa5c45895670</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&lt;/p&gt;
[quote user="terrychan"]Thus, I can program the application image through mobile APP.[/quote]
&lt;p&gt;If you upload the application, you should prepare the package as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfutil pkg generate --application ble_app_buttonless_dfu_pca10040_s132.hex --application-version 1 --application-version-string &amp;quot;1.0.0&amp;quot; --hw-version 52 --sd-req 0xB7 --key-file private.pem FW.zip&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If you program the&amp;nbsp;&lt;span&gt;ble_app_buttonless_dfu with&amp;nbsp;nrfjprog (with the programed bootloader + SD), you should prepare the application as:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;nrfutil settings generate --family NRF52 --application ble_app_buttonless_dfu_pca10040_s132.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloaderSettings.hex

mergehex -m ble_app_buttonless_dfu_pca10040_s132.hex bootloaderSettings.hex -o merged.hex

nrfjprog --program merged.hex --sectorerase

nrfjprog -r&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Or you can merge your mergedBootloadersettingsApplication.hex and&amp;nbsp;mergedBootloaderSoftdevice.hex to one hex (bootloader+softdevice+setting+app) to program and reset.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255524?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 12:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c7bd12-ace6-4d1c-b668-9f329c653990</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62388/implementing-buttonless_dfu-to-hrs_freertos/255504"]I think this version is too old to support SDK 15.3 later.&amp;nbsp;[/quote]
&lt;p&gt;As replied before, I have continued my testing on another PC and the version of the tool is 6.1.0.&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62388/implementing-buttonless_dfu-to-hrs_freertos/255504"]After you program&amp;nbsp;&lt;span&gt;the bootloader + SD, you should see the device advertises with the name as &amp;quot;DfuTarg&amp;quot;.&lt;/span&gt;[/quote]
&lt;p&gt;Yes, I can see that. Thus, I can program the application image through mobile APP.&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/62388/implementing-buttonless_dfu-to-hrs_freertos/255504"]What is the application you used? Is it your application or example application?[/quote]
&lt;p&gt;The application is the example &amp;quot;ble_app_buttonless_dfu&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255504?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 11:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd5894e-44c4-4e2e-a7ad-eba8e494e1e1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&lt;/p&gt;
[quote user="terrychan"]The version of nrfutil is 3.3.2[/quote]
&lt;p&gt;I think this version is too old to support SDK 15.3 later.&amp;nbsp;&lt;/p&gt;
[quote user="terrychan"]Please note that I programmed the bootloader + SD with the below command[/quote]
&lt;p&gt;After you program&amp;nbsp;&lt;span&gt;the bootloader + SD, you should see the device advertises with the name as &amp;quot;DfuTarg&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="terrychan"]And then, I used the below command to program the application + bootloader setting[/quote]
&lt;p&gt;&amp;nbsp;What is the application you used? Is it your application or example application? If you use hrs_application_s132&amp;nbsp; +&amp;nbsp;&lt;span&gt;bootloader setting, you should see the device&amp;nbsp;advertises with the name as &amp;quot;Nordic_HRM&amp;quot; after programing and reset. If you can work with the example application, you could see&amp;nbsp;&lt;/span&gt;&lt;span&gt;the&amp;nbsp;&lt;a href="https://github.com/gamnes/nRF52832-buttonless-dfu-development-tutorial#step-5--debugging-application-fw-with-bootloader-in-place"&gt;step-5--debugging-application-fw-with-bootloader-in-place&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/255120?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 03:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015dfbfb-acc4-443f-a49b-9159efdcca41</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;The version of nrfutil is 3.3.2&lt;/p&gt;
&lt;p&gt;I am developing on Ubuntu 16.04.&lt;/p&gt;
&lt;p&gt;The command I used is as below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52 --application application.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloaderSettings.hex&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I set the &amp;#39;--bl-settings-version&amp;#39; to &amp;#39;2&amp;#39;, I got the below error,&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/home/terrychan/.local/bin/nrfutil&amp;quot;, line 11, in &amp;lt;module&amp;gt;&lt;br /&gt; sys.exit(cli())&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/click/core.py&amp;quot;, line 722, in __call__&lt;br /&gt; return self.main(*args, **kwargs)&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/click/core.py&amp;quot;, line 697, in main&lt;br /&gt; rv = self.invoke(ctx)&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/click/core.py&amp;quot;, line 1066, in invoke&lt;br /&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/click/core.py&amp;quot;, line 1066, in invoke&lt;br /&gt; return _process_result(sub_ctx.command.invoke(sub_ctx))&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/click/core.py&amp;quot;, line 895, in invoke&lt;br /&gt; return ctx.invoke(self.callback, **ctx.params)&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/click/core.py&amp;quot;, line 535, in invoke&lt;br /&gt; return callback(*args, **kwargs)&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/nordicsemi/__main__.py&amp;quot;, line 239, in generate&lt;br /&gt; sett.generate(arch=family, app_file=application, app_ver=application_version_internal, bl_ver=bootloader_version, bl_sett_ver=bl_settings_version)&lt;br /&gt; File &amp;quot;/home/terrychan/.local/lib/python2.7/site-packages/nordicsemi/dfu/bl_dfu_sett.py&amp;quot;, line 125, in generate&lt;br /&gt; raise NordicSemiException(&amp;quot;Unknown bootloader settings version&amp;quot;)&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Unknown bootloader settings version&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I used another PC in which I install the nrfutil version 6.1.0.&lt;/p&gt;
&lt;p&gt;I used the below command to generate the bootloader setting&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --family NRF52 --application application.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 bootloaderSettings.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And then, I used the below command to program the application + bootloader setting&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;echo Merging: application.hex and bootloaderSettings.hex
mergehex -m ./application.hex ./bootloaderSettings.hex -o mergedBootloadersettingsApplication.hex

echo Flashing: mergedBootloadersettingsApplication.hex
nrfjprog -f nrf52 --program mergedBootloadersettingsApplication.hex --sectorerase

sleep 2

nrfjprog -f nrf52 --reset

rm -fv bootloaderSettings.hex
rm -fv mergedBootloadersettingsApplication.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, the EV board could not be booted up&lt;/p&gt;
&lt;p&gt;Please note that I programmed the bootloader + SD with the below command&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;echo Merging: bootloader.hex and s132_nrf52_6.1.1_softdevice.hex
mergehex -m ./bootloader.hex ./s132_nrf52_6.1.1_softdevice.hex -o mergedBootloaderSoftdevice.hex

echo Flashing: mergedBootloaderSoftdevice.hex
nrfjprog -f nrf52 --program mergedBootloaderSoftdevice.hex --chiperase

sleep 2

nrfjprog -f nrf52 --reset

rm -fv mergedBootloaderSoftdevice.hex
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254913?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 08:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac2dc726-f72c-4905-86b3-17808a614b4a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&lt;/p&gt;
[quote user="terrychan"]I also found that according to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_settings_generate_display.html" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;. The &amp;#39;&lt;span&gt;--bl-settings-version&amp;#39; for&amp;nbsp;&lt;/span&gt;SDK 15.3.0 was required to be set to &amp;#39;2&amp;#39;. However, I only could set it to be &amp;#39;1&amp;#39; otherwise, I got error.[/quote]
&lt;p&gt;Please provide the complete command you used and the error message.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the&amp;nbsp;nrfutil version?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;C:\WINDOWS\system32&amp;gt;nrfutil version
nrfutil version 5.2.0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254620?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 08:21:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84d8b557-99bc-43a8-b845-b75662689d20</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I also found that according to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_settings_generate_display.html" rel="noopener noreferrer" target="_blank"&gt;this&lt;/a&gt;. The &amp;#39;&lt;span&gt;--bl-settings-version&amp;#39; for&amp;nbsp;&lt;/span&gt;SDK 15.3.0 was required to be set to &amp;#39;2&amp;#39;. However, I only could set it to be &amp;#39;1&amp;#39; otherwise, I got error.&lt;/p&gt;
&lt;p&gt;Is it ok for me to set the&amp;nbsp;&lt;span&gt;&amp;#39;&lt;/span&gt;&lt;span&gt;--bl-settings-version&amp;#39; to &amp;#39;1&amp;#39;?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254612?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 07:33:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8acf6fa2-1ab6-4e66-9de0-5a82cfd39f03</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thank you for your information. They are very helpful.&lt;/p&gt;
&lt;p&gt;Now, I can flash the application image to the DK using mobile APP.&lt;/p&gt;
&lt;p&gt;However, I still have a problem on flashing the application image using SES. I followed the&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34212/howto-flash-bootloader-settings-for-dfu-using-ses-at-debug-time" rel="noopener noreferrer" target="_blank"&gt;tutorial&lt;/a&gt;&amp;nbsp;to setup the SES.&lt;/p&gt;
&lt;p&gt;After I ran the application image, I got the below error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;error&amp;gt; app: No bootloader was found&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;error&amp;gt; app: ERROR 4 [NRF_ERROR_NO_MEM] at&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /home/15v3_0/sdk/examples/ble_peripheral/ble_app_buttonless_dfu_evboard/main.c:854&lt;br /&gt;PC at: 0x0002FAD1&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;error&amp;gt; app: End of error report&lt;/p&gt;
&lt;p&gt;But I INSTALLED the bootloader image and the SoftDevice image before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254507?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 13:17:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4148a94-5d8c-4035-8ead-5383bc9cda23</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
[quote user="terrychan"]I tried just building the examples of &amp;#39;sdk/examples/dfu/secure_bootloader&amp;#39; and &amp;#39;sdk/examples/ble_peripheral/ble_app_buttonless_dfu&amp;#39;.[/quote]
&lt;p&gt;Did you mean testing with the unmodified &lt;span&gt;secure_bootloader and&amp;nbsp;ble_app_buttonless_dfu&amp;nbsp;&lt;/span&gt;examples here?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To perform the&amp;nbsp;&lt;a title="Buttonless DFU Template Application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_buttonless_dfu.html?cp=7_1_4_2_2_6"&gt;Buttonless DFU Template Application&lt;/a&gt;, you have to prepare the image which combines&amp;nbsp;&lt;span&gt;sd + bootloader + buttonless + setting page&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In the&amp;nbsp;&lt;a title="BLE Secure DFU Bootloader" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_dfu_bootloader.html?cp=7_1_4_4_0"&gt;BLE Secure DFU Bootloader&lt;/a&gt;/&lt;a title="Testing" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_dfu_bootloader.html?cp=7_1_4_4_0_2#ble_sdk_app_dfu_bootloader_test"&gt;Testing&lt;/a&gt;, it indicates&amp;nbsp;how to get the&amp;nbsp;&lt;span&gt;bootloader HEX file with the bootloader settings.&amp;nbsp;&lt;/span&gt;I would also suggest you take a look at the g&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;etting started with nordics secure dfu bootloader&lt;/a&gt;&amp;nbsp;to know how to prepare the uploaded image.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would you get still the error after you flash the application with the bootloader and the bootloader setting image?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you generate the bootloader setting page, could you post the script?&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254457?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 11:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fef39c40-873d-4f8b-996d-c2e3d799d41b</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I checked that&amp;nbsp;FDS_VIRTUAL_PAGES is 3 while&amp;nbsp;NRF_DFU_APP_DATA_AREA_SIZE is 12288.&lt;/p&gt;
&lt;p&gt;I tried just building the examples of &amp;#39;sdk/examples/dfu/secure_bootloader&amp;#39; and &amp;#39;sdk/examples/ble_peripheral/ble_app_buttonless_dfu&amp;#39;.&lt;/p&gt;
&lt;p&gt;After loaded the bootloader image through &amp;#39;SEGGER Embedded Studio -&amp;gt; Debug&amp;#39;, the bootloder could run.&lt;/p&gt;
&lt;p&gt;Then, I loader the application image through&amp;nbsp;&lt;span&gt;&amp;#39;SEGGER Embedded Studio -&amp;gt; Debug&amp;#39;,&amp;nbsp;the problem occurred.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That means I got the same problem even, I just built and loaded the example codes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you know what is the problem?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254398?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 08:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d039382-a53c-4593-98bb-9c0572a18999</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Terry, &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The error message seems that the flash area for flash storage has been erased. Please check&amp;nbsp;the number of FDS_VIRTUAL_PAGES (in your application) reserved for the FDS storage match with NRF_DFU_APP_DATA_AREA_SIZE inside the bootloader. By default, they are 3 pages. (12kB).&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254367?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 06:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3c99283-a9c3-4638-b291-50529c58cef5</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;I am using PCA10040.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254366?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 06:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bf5a82e-a0b0-4c7c-9b7b-e76c0b9ccb62</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;fds_init() return 0x0B meaning&amp;nbsp;FDS_ERR_NO_PAGES. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Which board are you using? Are you using pca10040e on nRF52832 DK?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254351?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 03:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e097fc8-2fe5-4817-8fd3-371275abe215</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Finally, I found out the solution by setting&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT to 1.&lt;/p&gt;
&lt;p&gt;However, after I built and programmed the &amp;#39;sdk/examples/dfu/secure_bootloader&amp;#39; to the development board, I got the below error returned by&amp;nbsp;fds_init() in the appliction FW.&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: nrf_sdh_ble_enable() err:0 ram_start:0x20002220&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_pds: Could not initialize flash storage. fds_init() returned 0xB.&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager: pm_init failed because pds_init() returned NRF_ERROR_STORAGE_FULL.&lt;br /&gt;&amp;lt;error&amp;gt; app: ERROR 3 [NRF_ERROR_INTERNAL] at /home/15v3_0/sdk/examples/ble_peripheral/ble_app_hrs_freertos_dfu/main.c:940&lt;br /&gt;PC at: 0x0002E1A3&lt;br /&gt;&amp;lt;error&amp;gt; app: End of error report&lt;/p&gt;
&lt;p&gt;Is it related to the project configuration file .emProject?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254350?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 02:13:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71e8a3a4-59fd-44ec-ae43-ac938cf588f7</guid><dc:creator>Terry</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Yes. I am using SEGGER Embedded Studio in my development.&lt;/p&gt;
&lt;p&gt;After enabled the DEBUG mode, I got more information about this issue as below.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;info&amp;gt; app: nrf_sdh_ble_enable() err:0 ram_start:0x20002210&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;error&amp;gt; app: ERROR 4 [NRF_ERROR_NO_MEM] at /home/15v3_0/sdk/examples/ble_peripheral/ble_app_hrs_freertos_dfu/main.c:648&lt;br /&gt;PC at: 0x0002DF83&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;error&amp;gt; app: End of error report&lt;/p&gt;
&lt;p&gt;And, the error was reported after calling&amp;nbsp;sd_ble_uuid_vs_add().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Implementing buttonless_dfu to hrs_freertos</title><link>https://devzone.nordicsemi.com/thread/254252?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 12:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64eace0d-3e94-453b-a996-72ac58259b03</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Terry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try to add &amp;quot;DEBUG&amp;quot; to your preprocessor definitions, and see what the log says then.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Let me know if you are not sure how to define DEBUG in your preprocessor definitions. If you use the segger, you can compile with Debug mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-738a8d4587384c4aa38b60e0224ee8b3/Segger_5F00_debug-mode.png" /&gt;&lt;/p&gt;
&lt;p&gt;2. The log will probably point to somewhere in your code where it says APP_ERROR_CHECK(err_code); What function call returned that err_code?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Your next mission is to find out why it returned that err_code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>