<?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>DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50413/doubt-in-ota--dfu-with-button-and-buttonless</link><description>HI 
 
 We are developing a 2d-3d mouse . 
 We are trying to implement OTA-DFU into our custom board . 
 We first tried it on development kit and its working fine too . I can able to update the &amp;quot;ble_app_hids_mouse&amp;quot; into our DK using nRF Toolbox mobile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Aug 2019 06:21:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50413/doubt-in-ota--dfu-with-button-and-buttonless" /><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202510?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2019 06:21:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad302da-4bff-4cf7-98da-2893cb13551a</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Amanda thanks a lot .&lt;/p&gt;
&lt;p&gt;when i increased the RAM size its getting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202459?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 13:54:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c7b28bd-b9e6-47ee-8ec2-cdc2a47d4e9c</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Amanda i did all the thing you recommended except that increases in RAM allocated for softdevice .&lt;/p&gt;
&lt;p&gt;There is no error in the code when i build it.&lt;/p&gt;
&lt;p&gt;so i did the following things .&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I&amp;nbsp; flashed the softdevice first to DK.&lt;/li&gt;
&lt;li&gt;Then i flashed the bootloader to DK.&lt;/li&gt;
&lt;li&gt;Then using nRFtoolbox&amp;nbsp; mobile app i uploaded the application zip file having the&amp;nbsp; buttonless dfu feature and it uploaded sucessfully to DK. But the issues is application (&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;)is not advertising and working . i don&amp;#39;t known why .&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;please reply as soon as possible .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202406?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 11:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ff19368-bc68-4702-86ee-8a4fe420d17e</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Amanda i included the folder and file in the same way but its still showing the same error.&lt;/p&gt;
&lt;p&gt;But when i included the path of this folder like in below screen shot then the&amp;nbsp; error was gone&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_08_2D00_05-17.09.48.png" /&gt;&lt;/p&gt;
&lt;p&gt;IS THIS A RIGHT WAY TO SOLVE THIS ISSUE?&lt;/p&gt;
&lt;p&gt;please answer to my question&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202397?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 11:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90e920d4-2676-42f8-819d-5d890b8208c2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You can right-click on the project to create a new folder and add the&amp;nbsp;&lt;span&gt;nrf_dfu_svci.c into the libraries.&amp;nbsp;&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/support-attachments/beef5d1b77644c448dabff31668f3a47-a73035569e5e44e89028cd1fddf790ec/233511_5F00_01.png" /&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; &amp;nbsp;&amp;nbsp;&lt;img alt=" " height="211" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a73035569e5e44e89028cd1fddf790ec/233511_5F00_02.png" width="179" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202361?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 09:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f459e61-eeee-480a-ae5f-51cd1a6ddaa1</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;THANKS&lt;/p&gt;
&lt;p&gt;Amanda ,when i looked the&amp;nbsp;&lt;span&gt;ble_app_buttonless_dfu&amp;nbsp; code i&amp;nbsp; saw&amp;nbsp; another folder &amp;quot;nRF_SVC&amp;quot; includeing &amp;quot;nrf_dfu_svci.c&amp;quot; file . is i want to include this to&amp;nbsp;ble_app_hids_mouse.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;look below screen short.&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-2019_2D00_08_2D00_05-14.53.53.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Amanda i included the folder and c file to the code(ble_app_hids_mouse.) but now also the same issue is&amp;nbsp;&lt;/span&gt;showing.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202355?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 09:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9a4f1e9-818f-45ea-ae74-3091c45b5066</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;That is stated in the&amp;nbsp;p_app_ram_start variable, or more correctly in the variable that&amp;nbsp;p_app_ram_start points to, i.e. *p_app_ram_start . If you add p_app_ram_start to watch and then set a breakpoint after&amp;nbsp;sd_ble_enable() you should be able to see which value&amp;nbsp;points top_app_ram_start.&lt;/p&gt;
&lt;p&gt;Take a look at&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.youtube.com/watch?v=o_H1USWAM18&amp;amp;t=256s"&gt;this&amp;nbsp;video&lt;/a&gt;, it explains how to modify the build settings, including the memory settings.&lt;/p&gt;
&lt;p&gt;Also, see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34964/buttonless-dfu-integration-in-ble-app-uart-example-compiling-problem/134386#134386"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202352?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 09:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cd4ef44-951c-4ce0-a7e8-d01c8dc9f5d7</guid><dc:creator>NANDHU</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/50413/doubt-in-ota--dfu-with-button-and-buttonless/202346"] as well as increase the RAM allocated to the SoftDevice.&amp;nbsp;[/quote]
&lt;p&gt;How can i increase the RAM allocated to the SoftDevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202347?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 08:49:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b64d0e8-62bd-4703-9ee7-9a16bff85b1f</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Thanks a lot . If there is any issue ,i will text you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202346?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 08:48:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae64973-8ef7-454a-9504-4f273db9d69e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi NANDHU,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Add #include &amp;quot;nrf_pwr_mgmt.h&amp;quot;&amp;nbsp; at the top of main.c&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(Updated)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To initial services, you can start by copying the code from services_init() in the ble_app_buttonless_dfu to the services_init() function in ble_app_hids_mouse. Make sure you add the files in the nRF_DFU folder, i.e. ble_dfu.c, ble_dfu_bonded.c and ble_dfu_unbonded.c to the ble_app_hids_mouse example. Make sure that you change&amp;nbsp;NRF_SDH_BLE_VS_UUID_COUNT to 2 in sdk_config.h as well as increase the RAM allocated to the SoftDevice.&amp;nbsp;&lt;/span&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202317?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 07:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44660697-b693-4b33-9b2b-0938c8e42cda</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Amanda ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I downloaded a new SDK and trying to implement buttonless dfu service to the &amp;quot;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&amp;quot;&amp;nbsp; .&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The hardware we are using for test is only the development kit.(not our custom board).&lt;/li&gt;
&lt;li&gt;we decided implement&amp;nbsp; the buttonless dfu service first on DK.&lt;/li&gt;
&lt;li&gt;ble example using&amp;nbsp; to add buttonless secure dfu service is&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&lt;span&gt;&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;(C:\nordic_semi\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_hids_mouse\pca10040\s132\ses).&lt;/p&gt;
&lt;p&gt;PROBLEMS&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First i tryed to implement the power management module and i included to but its showing some warning .I will give its screen short below . please help me to overcome that warning.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_08_2D00_05-12.50.50.png" /&gt;&lt;/p&gt;
&lt;p&gt;changes i made in code screen short are below&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_08_2D00_05-12.52.57.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2019_2D00_08_2D00_05-12.53.05.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I following the step by step procedures in the document given by you .if there is any error or warning getting during procedures i will inform you like these .Is it fine for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202313?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 07:06:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36f1de06-71e3-4b45-a6b8-66ba5b6120a9</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Actually there is no error is showing&amp;nbsp; .I just flashed the modified &amp;quot;&lt;span&gt;ble_app_hids_mouse&amp;quot; which support buttonless dfu to the our board but its not advertising . so i debugged it using JLink then i noticed that when code execution is entering to &amp;quot;&amp;nbsp;&amp;quot;nrf_dfu_set_adv_name_init();&amp;quot; but its not leaving&amp;nbsp;from these function .&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i don&amp;#39;t known why .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;note:- i didn&amp;#39;t flashed the bootloader hex to our board.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202312?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2019 06:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ddc895-22e6-4afb-8abd-1c738af7292f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="NANDHU NAKULAN"]But my code was execution was breaking ,when entering to the below function in services_init()[/quote]
&lt;p&gt;What error message does&amp;nbsp;&lt;span&gt;nrf_dfu_set_adv_name_init() returen?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30279/integrating-buttonless-dfu-running-nrf_dfu_set_adv_name_init-returns-nrf_error_svc_handler_missing/162752#162752"&gt;post&lt;/a&gt; and this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25569/nrf_dfu_set_adv_name_init-returns-1"&gt;post&lt;/a&gt; might help you.&amp;nbsp;&lt;/p&gt;
[quote user="NANDHU NAKULAN"]what is these &amp;quot;nrf_dfu_set_adv_name_init();&amp;quot; function doing[/quote]
&lt;p&gt;&amp;nbsp;It is answered in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/27578/where-is-nrf_dfu_set_adv_name_init-defined"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202247?ContentTypeID=1</link><pubDate>Sat, 03 Aug 2019 14:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eb4ece2-2d2f-412b-afb7-b05b5b14dd76</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I added all requested changes to add the buttonless dfu service to &amp;quot;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&lt;span&gt;&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But my code was execution was breaking ,when entering to the below function in services_init()&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;nrf_dfu_set_adv_name_init();&amp;nbsp; inside&amp;nbsp;ble_dfu_buttonless_async_svci_init(void).&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;please help me to solve these issue,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Actually what is these &amp;quot;nrf_dfu_set_adv_name_init();&amp;quot; function doing&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-2019_2D00_08_2D00_03-20.04.51.png" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202110?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 11:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc228757-1b27-4f9e-a26c-aa1271bd4d6b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, you are right.&amp;nbsp;Please let me correct that:&lt;/p&gt;
&lt;p&gt;According to the sdk_config.h of &lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;, the POWER_ENABLED is 0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To use&amp;nbsp;nrf_pwr_mgmt_init() in the&amp;nbsp;power_management_init, you have to enable the module as&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
//==========================================================
#ifndef NRF_PWR_MGMT_ENABLED
#define NRF_PWR_MGMT_ENABLED 1
#endif&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You also need to check&amp;nbsp;nrf_pwr_mgmt.c is in the Libaries.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;nRF5_SDK_14.2.0&amp;gt;\components\libraries\pwr_mgmt\nrf_pwr_mgmt.c&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202072?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 09:26:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f040f10-244e-4dc5-a95c-5caa6a98e72c</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Amanda ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; In &amp;quot;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&amp;quot;&amp;nbsp; i didn&amp;#39;t find the functions calling for&amp;nbsp;&lt;span&gt;configure to use the power management module&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;&amp;quot;power_management_init()&amp;quot; is not used&amp;nbsp; in &amp;quot;ble_app_hids_mouse&amp;quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;And also not used&amp;nbsp; this&amp;quot;nrf_pwr_mgmt_run();&amp;quot; in&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;ble_app_hids_mouse&amp;quot;.Then how you conform that all the power management module is configured in &amp;quot;ble_app_hids_mouse&amp;quot;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202056?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 08:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51b250f0-6708-4d82-8683-0980a7bf3a1a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="NANDHU NAKULAN"]Is the &amp;quot;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&amp;quot; application contains all those things ?[/quote]
&lt;p&gt;Yes, you can compare the sdk_config.h.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="NANDHU NAKULAN"]Is there any thing wanted to add by us?[/quote]
&lt;p&gt;Please refer to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/ble_sdk_app_buttonless_dfu.html"&gt;Buttonless DFU Template Application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/202036?ContentTypeID=1</link><pubDate>Fri, 02 Aug 2019 07:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fce404a-895a-4057-ad73-d63125edc963</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Please reply as soon as you can possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201927?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 14:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bd66cc1-7659-4f71-9503-17015b979ec1</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Amanda ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I verified the my doubt about bootloader.&lt;/p&gt;
&lt;p&gt;MY NEXT DOUBT.&lt;/p&gt;
&lt;p&gt;When i looked the documentation provided by you&amp;nbsp; i noticed that for adding buttonless secure DFU service to a BLE application the application must uses &amp;quot;Peer Manager&amp;quot; and application must be configured to use the power management and also the application is responsible for initializing the BLE stack.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Is the &amp;quot;&lt;span&gt;ble_app_hids_mouse&lt;/span&gt;&amp;quot; application contains all those things ?&lt;/li&gt;
&lt;li&gt;Is there any thing wanted to add by us?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;please answer to my first and second question as soon as you can possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201887?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 12:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b44a13da-8024-4770-9c28-46255ffcba1d</guid><dc:creator>NANDHU</dc:creator><description>[quote userid="77782" url="~/f/nordic-q-a/50413/doubt-in-ota--dfu-with-button-and-buttonless/201876"]nRF5_SDK_14.2.0&amp;gt;\examples\dfu\bootloader_secure_ble\pca10040[/quote]
&lt;p&gt;One important doubt ,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;Is the bootloader code using for both OTA-DFU with button and buttonless are same?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I think both needed separate bootloader code .because both bootloader advertising with separate names .&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201876?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 12:26:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b9778d-5454-456b-bdef-70953f1e1530</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="NANDHU NAKULAN"]Where is the buttonless bootloader code in&amp;nbsp; sdk. ( ie these &amp;quot;&lt;span&gt;bootloader_secure_ble_debug_without_bonds_s132.hex &amp;quot;file code ).&lt;/span&gt;[/quote]
&lt;p&gt;&lt;span&gt;&amp;lt;nRF5_SDK_14.2.0&amp;gt;\examples\dfu\bootloader_secure_ble\pca10040&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[quote user="NANDHU NAKULAN"][/quote]&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I want to change our application code to buttonless DFU-OTA supporting application how can i did these .&lt;/li&gt;
&lt;li&gt;If you find difficult with our application please just tell me how to change the &amp;quot;ble_app_hids_mouse&amp;quot; application to a buttonless DFU -OTA&amp;nbsp; supporting&amp;nbsp; application.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I recommend you refer to the&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/ble_sdk_app_buttonless_dfu.html"&gt;Buttonless DFU Template Application&lt;/a&gt;&lt;span&gt;&amp;nbsp;for a working code example. You can also find relevant documentation in the&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/service_dfu.html"&gt;Buttonless Secure DFU Service documentation&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201809?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 10:44:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:136a3000-c38f-45d9-b424-c8ac58d4930c</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;SORRY ONE CORRECTION I UPLOADED THE ZIP FILE OF APPLICATION USING nRF Connect NOT&amp;nbsp; hex FILE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201734?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2019 06:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34fe637f-5028-4866-bf41-acbfe8ee9263</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I think when we turn OFF the device and turn ON&amp;nbsp; first the execution goes through the bootloader part and then goes through the application part.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I done the OTA-DFU update successfully using the bootloder with button&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(ieC:\nordic_semi\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\dfu\bootloader_secure_ble\pca10040_debug\ses).&lt;/li&gt;
&lt;li&gt;And also done the OTA -DFU on our custom board (ie our mouse) with the above bootloader code .But i changed the LED PINS and BOOTLODER BUTTON which is feasible to our custom board.The OTA-DFU done successfully using nRF Toolbox mobile app and with our custom board.If we hold the bootloader button while turning ON our custom board its going to the DFU mode too.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;NOW I WANT TO DO THE&amp;nbsp; BUTTONLESS OTA -DFU&amp;nbsp; AND IMPLEMENT IT INTO OUR CUSTOM BOARD.&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I gone through your documentation about&amp;nbsp;&lt;span&gt;Buttonless&amp;nbsp; DFU&amp;nbsp; Template Application and i done the buttonless OTA-DFU successfully&amp;nbsp;on development kit .&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;I WILL EXPLAIN THE PROCEDURES I DID FOR BUTTONLESS OTA -DFU.&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;First i flashed the softdevice hex to the nRF52832 soc in the DK (....\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\dfu\secure_dfu_test_images\ble\nrf52832\softdevice_s132.hex).&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Then i flashed the bootloader hex to the DK.(&lt;span&gt;....&lt;/span&gt;&lt;span&gt;\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\dfu\secure_dfu_test_images\ble\nrf52832\&lt;/span&gt;bootloader_secure_ble_debug_without_bonds_s132.hex).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;NOW THE DEVICE (DK) WILL ADVERTISE AS &amp;quot;DfuTest&amp;quot;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then using nRFConnect desktop app i connected to &amp;quot;DfuTest&amp;quot; and update the ble_app_buttonless_dfu application hex over the air sucessfully. (&lt;span&gt;....&lt;/span&gt;&lt;span&gt;\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\dfu\secure_dfu_test_images\ble\nrf52832\ble_app_buttonless_dfu_with_bonds_s132_with_setting_page&lt;/span&gt;&lt;span&gt;.hex&lt;/span&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;NOW IT WILL ADVERTISE AS &amp;quot;&lt;span&gt;Nordic_Buttonless&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Then using nRFConnect desktop app i connected to &amp;quot;&lt;span&gt;Nordic_Buttonless&lt;/span&gt;&amp;quot; and update the&amp;nbsp; same application hex again and its also done sucessfully.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;MY DOUBTS&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Where is the buttonless bootloader code in&amp;nbsp; sdk. ( ie these &amp;quot;&lt;span&gt;bootloader_secure_ble_debug_without_bonds_s132.hex &amp;quot;file code ).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;I want to change our application code to buttonless DFU-OTA supporting application how can i did these .&lt;/li&gt;
&lt;li&gt;If you find difficult with our application please just tell me how to change the &amp;quot;ble_app_hids_mouse&amp;quot; application to a buttonless DFU -OTA&amp;nbsp; supporting&amp;nbsp; application.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;please answer to my doubts 1 2 and 3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201597?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8d8dda1-e0f8-45d0-b648-dd7af22f072f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi NANDHU,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/mbr_bootloader/mbr_bootloader.html"&gt;Master boot record and bootloader&lt;/a&gt;&amp;nbsp;section elaborated more detail.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The SoftDevice supports the use of a bootloader. A bootloader may be used to update the firmware on the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="A microchip that integrates all the necessary electronic circuits and components of a computer or other electronic systems on a single integrated circuit." href="https://infocenter.nordicsemi.com/topic/sds_s132/dita_common/glossary/glossary.html#soc"&gt;&lt;dfn&gt;SoC&lt;/dfn&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&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: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201580?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 12:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a7ff0e4-a48e-4530-aef0-eedef7851c7a</guid><dc:creator>NANDHU</dc:creator><description>&lt;p&gt;Hi Amanda ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;NEXT DOUBT&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;After OTA-DFU there is bootloader hex application hex&amp;nbsp; and softdevice hex in our nRF52832 soc.If we turn OFF the DK and turn ON what will the order of execution of&amp;nbsp; those hex file&lt;/li&gt;
&lt;li&gt;i.e which hex file will execute first which one second .&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DOUBT IN OTA -DFU WITH BUTTON AND BUTTONLESS</title><link>https://devzone.nordicsemi.com/thread/201577?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 12:33:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1389168-b49c-4136-9196-a840f6fe02ea</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please take a look at &amp;lt;nRF5_SDK_14.2.0_17b948a&amp;gt;\components\libraries\bootloader\ble_dfu\nrf_ble_dfu.c:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define ADVERTISING_LED_PIN_NO              BSP_LED_0                                               /**&amp;lt; Is on when device is advertising. */
#define CONNECTED_LED_PIN_NO                BSP_LED_1                                               /**&amp;lt; Is on when device has connected. */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and trace&amp;nbsp;&lt;em&gt;ADVERTISING_LED_PIN_NO&lt;/em&gt;&lt;span&gt; and&amp;nbsp;&lt;em&gt;CONNECTED_LED_PIN_NO&lt;/em&gt; variables.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>