<?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 Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28127/dfu-update-ota-of-an-application-with-ble-secure-bootloader-works-only-once</link><description>Hi,
I try to use the dfu update OTA with ble secure bootloader.
If the Flash is erased and only the SD v5.0.0 and the own Bootloader are programmed a update OTA is working fine (using nrf Connect).
After that, I tried to update the same APP.HEX file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Dec 2017 07:37:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28127/dfu-update-ota-of-an-application-with-ble-secure-bootloader-works-only-once" /><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111023?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 07:37:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0166fb37-883b-4a3e-b1be-8ccf76ca1129</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;For us it works fine with the modification for this time.
If I have the time, I try to debug the bootloader.
So, we can close this item.
Thank you for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111022?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 16:26:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaf6013e-82fc-466d-a936-5216725a42fe</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;This time the board doesn&amp;#39;t even advertise.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think we are going any where trying back and forth like this. Most of our customers having no problem compile and do DFU with the stock bootloader.&lt;/p&gt;
&lt;p&gt;Please try to debug the bootloader on your side. After you do a successful DFU, find why this check     &lt;code&gt;if(enter_bootloader_mode != 0 || !nrf_dfu_app_is_valid())&lt;/code&gt;  doesn&amp;#39;t return false (so that application will be enterred).&lt;/p&gt;
&lt;p&gt;We haven&amp;#39;t got report that NRF_FSTORAGE_DEF caused the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111021?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 14:10:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e85199b4-d6ee-4410-ae32-4d989826a100</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;Hi Hung,
here is a new compiled and merged file without the modification.
&lt;a href="https://devzone.nordicsemi.com/attachment/3e0e6b5e83e7ded93b6c351add87e078"&gt;s132_V5.0.0_dfu_boot.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111020?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 12:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1975cdc-9419-4570-a28c-52d81c3bd1fe</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Boisi,&lt;/p&gt;
&lt;p&gt;Could you clarify, the bootloader in the .zip file was with or without your modification ? It worked fine for me when testing here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111019?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2017 07:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d11a6d2-4b9d-4f5b-89cd-6a05fd9cbbd3</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;Hi Hung,
it should be the file without the patch ?!?!
For me it seems like that the values are not set after a restart. Can you show me the source where the values normal initialize ??
I think that would be at startup (startup.S file) ????
Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111018?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2017 07:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:300bf4fa-4b96-4f49-baec-3044c1d01b91</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi boisi,&lt;/p&gt;
&lt;p&gt;With the bootloader in the .zip file it worked fine for me here. I can upload the image several times without any problem. Is it with or without the patch you made ?&lt;/p&gt;
&lt;p&gt;Anyway, I don&amp;#39;t think it would be a big problem with the modification you made. In the DFU use case there is only one fstorage user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111017?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 10:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72cb5c84-42fb-4aa7-b884-805c4f078ce8</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1452.Nordic_5F00_zip.zip"&gt;Nordic_zip.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111016?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 10:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1f0a0a5-e267-43f6-814f-69af66e68bca</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;Hi,
here the zip with my files.
Now I have a solution. I init the m_fs values (evt_handler, start_addr and end_addr) in the nrf_dfu_init_user function.
Here the code in main.c :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/* @BS*/
#include &amp;quot;nrf_fstorage.h&amp;quot;
#include &amp;quot;nrf_dfu_types.h&amp;quot;
extern nrf_fstorage_t m_fs;
extern void dfu_fstorage_evt_handler(nrf_fstorage_evt_t * p_evt);

uint32_t nrf_dfu_init_user(void)/* call in bootloader.c */
{
    NRF_LOG_DEBUG(&amp;quot;nrf_dfu_init_user&amp;quot;);
    /* fs_data init */
    m_fs.evt_handler   = dfu_fstorage_evt_handler;
    m_fs.start_addr     = MBR_SIZE;
    m_fs.end_addr       = BOOTLOADER_SETTINGS_ADDRESS + CODE_PAGE_SIZE;

    return NRF_SUCCESS;
}

/**@brief Function for application main entry. */
int main(void)
{
   :
   :
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With this init it works fine. But I don&amp;#39;t understand if it&amp;#39;s only a workaround or a necessary init ???
Where are the 3 values init after a new start of the eval board. After the programing the values are set. but after a restart they are not set.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111015?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 01:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5376040b-812b-4b3d-b9c2-05f7583ec224</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;In my case it just rejects the DFU image, I can&amp;#39;t even update once.
Please try to zip all the file in one zip file and upload. You can create a new private (and public) key for testing if you don&amp;#39;t want to expose your private key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111014?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 07:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ffbeeb-11d2-4ff7-abae-88c0eadca825</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/template_5F00_CortexM_5F00_flash.ld"&gt;template_CortexM_flash.ld&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;...sorry, but I can&amp;#39;t upload the private.key file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111013?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 07:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa25b6a-776e-480e-b37d-ea886d651b4d</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;Hi Hung,
I don&amp;#39;t think that the private key is wrong. The first dfu is ok (with the image zip).
I think in the ld script is the problem.
here my key file and the ld script of the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111011?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 23:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e44693a-4f99-40c1-96b9-9f39fea369c6</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Boisi,&lt;/p&gt;
&lt;p&gt;The s132_V5.0.0_dfu_boot.hex runs on PCA10040 DK but the image zip file is not accepted. Suspect that it was wrong private key. Could you also provide the private key file ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111010?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 14:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9047173-940d-4bc7-91f6-27bb04a68869</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s132_5F00_V5.0.0_5F00_dfu_5F00_boot.hex"&gt;s132_V5.0.0_dfu_boot.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is the SD_V5.0.0 and the bootloader.hex files merged together.
I only include my own key.
I use Atollic True Studio to generate my files else I don&amp;#39;t touch the example code.
I program the hex file with:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;nrfjprog -e&lt;/li&gt;
&lt;li&gt;nrfjprog -r -f NRF52 --program s132_V5.0.0_dfu_boot.hex&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After the first dfu I hold the button and start the Evalboard to enter the dfu mode again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111004?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 13:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c692343-3e3c-41b3-b7c4-dbbf8f8a1ddc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I tried to flash your bootloader on a NRF52DK and it doesn&amp;#39;t run. LED3 is lid but no advertising. What was your modification ?
Is there any dependency that your bootloader only runs on the BMD300 ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111006?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 12:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6bb9b71-a692-48a0-b608-54333f9ea6a1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi boisi,&lt;/p&gt;
&lt;p&gt;This is pretty strange, and NRF_FSTORAGE_DEF() should not be removed as it define the boundary for the fstorage.&lt;/p&gt;
&lt;p&gt;I tried here with \examples\dfu\bootloader_secure_ble\pca10040\armgcc\ and the ble_app_blinky in SDK v14.1 exactly as you described but I can do re-dfu update with no problem.
How did you enter the DFU mode after you do the first DFU ?&lt;/p&gt;
&lt;p&gt;Can you upload your bootloader.hex, your application.zip dfu file so that I can test here ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111005?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 12:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a48f3985-fad4-476e-bb3d-94470abedd74</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;Here my workaround:
In file nrf_dfu_flash.c&lt;/p&gt;
&lt;p&gt;// original code
//NRF_FSTORAGE_DEF(nrf_fstorage_t m_fs) = ......&lt;/p&gt;
&lt;p&gt;// original code (decoded)&lt;br /&gt;
//nrf_fstorage_t m_fs &lt;strong&gt;attribute&lt;/strong&gt; ((section( &amp;quot;.&amp;quot; &amp;quot;fs_data&amp;quot;))) &lt;strong&gt;attribute&lt;/strong&gt;((used)) = .....&lt;/p&gt;
&lt;p&gt;// workaround code&lt;br /&gt;
nrf_fstorage_t m_fs =&lt;br /&gt;
{&lt;br /&gt;
.evt_handler    = dfu_fstorage_evt_handler,&lt;br /&gt;
.start_addr     = MBR_SIZE,&lt;br /&gt;
.end_addr       = BOOTLOADER_SETTINGS_ADDRESS + CODE_PAGE_SIZE&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why, but it works with this workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111008?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 09:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15a944d6-9485-4281-9484-ac55240a884b</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;Here the update log file from my Phone (App nRF Connect)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111007?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 09:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fe8f55a-58be-43d2-97ee-50c993180dd0</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BMD300_5F00_DFU_5F00_BOOTLOADER.hex"&gt;BMD300_Blinky-e.zip&lt;/a&gt;(/attachment/496c739eb238e719b34e1fce556dc6ec)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5756.BMD300_5F00_DFU_5F00_BOOTLOADER.hex"&gt;BMD300_DFU_BOOTLOADER.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/Update_5F00_Log_5F00_Fail.txt"&gt;Update_Log_Fail.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111009?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2017 07:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54ac01ff-3714-4f02-b777-9965a20a6a56</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;I have found the reason of the error.
The .evt_andler, .start_addr and .end_addr are not initialized (in file nrf_dfu_flash.c) at the second try.
NRF_FSTORAGE_DEF(nrf_fstorage_t m_fs) =
{
.evt_handler    = dfu_fstorage_evt_handler,
.start_addr     = MBR_SIZE,
.end_addr       = BOOTLOADER_SETTINGS_ADDRESS + CODE_PAGE_SIZE
};&lt;/p&gt;
&lt;p&gt;If I delete NRF_FSTORAGE_DEF it work fine (nrf_fstorage_t m_fs = .....).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111012?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 16:44:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1695e735-9193-4c0a-b104-db90cda081e4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I would suggest you to test with other example to know how the log system works. Maybe with ble_app_hrs.&lt;/p&gt;
&lt;p&gt;Please post the full log on the phone.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111003?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 13:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14b2577a-f963-4f80-9419-910283adc607</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;I included the files and paths. Now I can compile but where can I see the debug info&amp;#39;s ?
Must I include the uart files ?&lt;/p&gt;
&lt;p&gt;I think the error occurs in the fuction nrf_fstorage_erase at the aligned and boundary check.
But I don&amp;#39;t know why. At the first time I can debug and all is fine. At the secound time I can&amp;#39;t debug it but I see the return values (send it to Smartphone App ;) ).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111002?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2017 13:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a718c183-889d-4cbe-80e5-30c7f8186df9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;When you turn on logging you needs logging files. Make sure nrf_log_frontend.c is included and components\libraries\experimental_log\src\ include path is included.&lt;/p&gt;
&lt;p&gt;Bootloader setting is a normal flash page and can be erased.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111026?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 12:51:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9a6d3ce-bc7d-4930-89b0-7c50440bd567</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;If I turn on the NRF_LOG_ENABLE following errors occurs [undefined reference to `nrf_log_frontend_std_0'....]&lt;/p&gt;
&lt;p&gt;I think the problem is that the bootsetting page can not be erased ?!?!?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111025?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 12:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1061dcf0-35be-46be-9f6c-81507cf5fa93</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@boisi: have you tried to change the application version when you create the zip file ? try to increase application version by one. There is a chance the the bootloader reject uploading because the application version is the same.&lt;/p&gt;
&lt;p&gt;Also please follow shibshab suggestion, you can turn on LOGGING on the bootloader and see what cause the problem (turn the log level to DEBUG mode)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Update OTA of an application with ble secure bootloader works only once</title><link>https://devzone.nordicsemi.com/thread/111024?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 07:41:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a2e9ee7-c95a-4d9f-9643-e3a39d6b1ece</guid><dc:creator>boisi73</dc:creator><description>&lt;p&gt;In the DFU zip there is only the application (ble_app_blinky) included.
I&amp;#39;ve debugged the code and the error is probably when deleting the flash area.
Maybe there is a problem with the alignment ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>