<?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>How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36024/how-to-upload-ota-again-after-successful-first-buttonless-ota-upload</link><description>Hi, Everyone 
 My development environment is PCA10028, SoftDevice 130, SDK12.3.0 
 I downloaded the application using nRF5_SDK_12.3.0_d7731ad \ examples \ dfu \ bootloader_secure 
 A downloaded program works fine 
 I tried &amp;quot;Experimental: Buttonless DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Aug 2018 08:29:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36024/how-to-upload-ota-again-after-successful-first-buttonless-ota-upload" /><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/145245?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 08:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99d522dc-844b-484c-a5e4-dd5dd496c87c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Sorry for the delayed response. Have you tried changing the application version to 1 instead of 0? If you already have the application installed on your device, the bootloader most likely has stored the application version as 0. The application version should be greater than the previously stored value, as can be read in &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Hung Bui&amp;#39;s blog post here&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;strong&gt;--application-version&lt;/strong&gt;: By default the start number for application version is 0. To be able to update new application, the application version should equal or greater than the one the bootloader stored. This case I use&amp;nbsp;&lt;code&gt;1&lt;/code&gt;.&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/ble_sdk_app_dfu_bootloader.html?cp=4_0_2_4_2_1_3_1#lib_bootloader_dfu_init_validation_acceptance_rules"&gt;Read more about version rule&lt;/a&gt;.&amp;quot;&lt;/p&gt;
&lt;p&gt;Unfortunately, I do not have a 51 dev kit with me at the moment, but I will test your code tomorrow.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/144323?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 12:21:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e253d79-226d-454d-8287-3ff526a4787d</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Hi, Bjorn&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was late to develop a product based on multilink for a month &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I changed the address according to your advice and the device search is done. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, device names and services appear as unknown. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have attached the file. The used program used a previously uploaded zip file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrfutil pkg generate --hw-version 51 --sd-req 0x87 --application-version 0 --application app.hex --key-file private.key app_dfu_package.zip&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the DfuTarg state, the program is normally downloaded&amp;nbsp;dfu_package.zip.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I do not know what&amp;#39;s wrong. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m more confused in my head&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Alex&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20180815_2D00_211419.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20180815_2D00_211222.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/142797?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 11:42:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e51e3b00-396c-4bf4-a519-e0b75b851dab</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Sorry for the delayed response. I ran your example &amp;amp; started a uart log, where I saw this message at the top:&lt;/p&gt;
&lt;p&gt;SDH:DEBUG:sd_ble_enable: RAM start at 0x20001ff8&lt;br /&gt;SDH:WARNING:sd_ble_enable: RAM start should be adjusted to 0x20001fe8&lt;br /&gt;SDH:WARNING:RAM size should be adjusted to 0x6018&lt;/p&gt;
&lt;p&gt;As soon as I changed the IRAM1 Start &amp;amp; Size, the device advertised like it should:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-cb120444ea8b445393a9bbc4102c2e40/pastedimage1533296357038v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;This custom service tutorial&lt;/a&gt; summarizes why the RAM needs to be increased: &amp;quot;Now, adding a vendor-specific UUID to the BLE stack results in the RAM requirement of the SoftDevice increasing, which we need to take into account.&amp;quot;&lt;/p&gt;
&lt;p&gt;Hope that helps! Have a nice day!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/141906?ContentTypeID=1</link><pubDate>Mon, 30 Jul 2018 12:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd7a47ac-6940-48a0-bb40-e8d4266ad00d</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Hi, Bjorn&lt;/p&gt;
&lt;pre class="tw-data-text tw-ta tw-text-medium" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;Sorry for the late reply.&lt;br /&gt;&lt;/span&gt;I use a keil IDE.&lt;br /&gt;I attached zip file.&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;&lt;br /&gt;Alex&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uart_5F00_buttonless_5F00_dfu.zip"&gt;devzone.nordicsemi.com/.../uart_5F00_buttonless_5F00_dfu.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/141527?ContentTypeID=1</link><pubDate>Thu, 26 Jul 2018 12:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db5e320-adad-4a83-8b4d-ade941cf6403</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Would you mind zipping up your whole project so I can test it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/140921?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 07:40:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65d46f4b-1433-4c08-a8b6-ab619a4a788b</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Thank you for your kind advice.&lt;br /&gt;But I have not yet solved the buttonless dfu.&lt;br /&gt;According to your advice I merged the ble_app_nus with the buttonless_dfu application&lt;br /&gt;In the DfuTarg state, the program is normally downloaded.&lt;br /&gt;If I set #define TEST 0 in main.c, &amp;#39;Buttonless dfu&amp;#39; appears in scan using nRFConnect.&lt;br /&gt;However, if I set #define TEST 1 in main.c and scan using nRFConnect, nothing is scanned.&lt;/p&gt;
&lt;p&gt;Other modifications can be found in softdevice_handler.c:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; p_ble_enable_params-&amp;gt; common_enable_params.vs_uuid_count = 2;&amp;nbsp; &amp;nbsp; &amp;nbsp;//orig 1&lt;/p&gt;
&lt;p&gt;I attach main.c and nrfLog.&lt;br /&gt;regards,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Log-2018_2D00_07_2D00_23-160816.txt"&gt;devzone.nordicsemi.com/.../Log-2018_2D00_07_2D00_23-160816.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/70678.main.c"&gt;devzone.nordicsemi.com/.../70678.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/139598?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 14:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56ac4aa1-64d0-408e-ab3f-435a226533df</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19768/the-hex-files-cannot-be-merged-since-there-are-conflicts"&gt;this devzone case&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/139251?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 12:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:946638e5-a791-4dad-a633-a5d0b8c915a6</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;This is because the modified program (ble_app_hrs) does not include the DFU service. What you can do is merge the ble_app_hrs with the buttonless_dfu application (e.g. using the buttonless dfu example as the base example). That way, you should get the functionality of the hrs example (or whatever other app you want to use), while still being able to write to the bootloader settings page (see Section &amp;quot;Buttonless DFU&amp;quot; &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;in link&lt;/a&gt; for more info). These links should also be helpful: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17580/implementing-buttonless-dfu-w-sdk12"&gt;link 1&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/24093/adding-dfu-in-custom-application"&gt;link 2&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/139061?ContentTypeID=1</link><pubDate>Thu, 05 Jul 2018 07:44:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbf39bdb-50e5-4b42-accb-6b253bf7c20b</guid><dc:creator>alex kim</dc:creator><description>&lt;p&gt;Did you first do a regular DFU&lt;/p&gt;
&lt;p&gt;&amp;nbsp;=&amp;gt;&amp;nbsp;yes, build bootloader_secure&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run nrfutil settings&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mregehex bootloader_secure, settings file&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; download pca10028&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;the buttonless application did not advertise as Nordic_Buttonless, right?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;=&amp;gt; no, advertise as Nordic_Buttonless&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; download my application program via nRF toolbox in smartphone&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;now you want to do a new DFU via the smartphone?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;= &amp;gt; no, i want to do a modified application program via smartphone&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span id="result_box" lang="en"&gt;&lt;span&gt;How do I re-download a modified program via smartphone using buttonless&amp;nbsp;while the application(ex: ble_app_hrs)&amp;nbsp;is running?&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span lang="en"&gt;&lt;span&gt;&lt;span id="result_box" lang="en"&gt;If I run scan from dfu in nRFTool Box, Nordic Buttonless will not appear&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to upload OTA again after successful first Buttonless OTA upload?</title><link>https://devzone.nordicsemi.com/thread/138997?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 13:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfcecad8-7db1-4a92-ad3d-36e7602a7b31</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;I am slightly confused. Did you follow &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/ble_sdk_app_buttonless_dfu.html?cp=4_0_6_4_3_2"&gt;the testing procedure provided here&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you first do a regular DFU where you updated the application to Nordic buttonless &amp;amp; now you want to do a new DFU via the smartphone? Once you finished the first DFU, the buttonless application did not advertise as Nordic_Buttonless, right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>