<?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>An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55021/an-application-with-buttonless_dfu-service-and-customize-service-could-not-working-and-cannot-enter-bootloader-either</link><description>As the subject description. 
 I have already test the official sample buttonless_dfu_app and the secure bootloader already. It could work for OTA fucntion. 
 And my application could run successfully before add DFU. 
 Thus, I would like to add the DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Dec 2019 02:06:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55021/an-application-with-buttonless_dfu-service-and-customize-service-could-not-working-and-cannot-enter-bootloader-either" /><item><title>RE: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/224292?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 02:06:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c7a4d65-a83a-44b6-a422-9bf2250d560d</guid><dc:creator>CY</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Should I modified the config.h in bootloader?&lt;/p&gt;
&lt;p&gt;Since my application has 2 UUID, should I also change the setting in bootloader?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/223732?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 01:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9287d9ed-fa8c-4c27-9e3b-2a5a0d188735</guid><dc:creator>CY</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;No, there is no error codes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/223656?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 14:50:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e4be989-6ae9-49a1-bcf9-665079e64f70</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Do you get any errors printed with nrf_log (with either UART or Segger RTT backend) ?&lt;/p&gt;
&lt;p&gt;Did ble_dfu_buttonless_init() return any error codes?&lt;/p&gt;
&lt;p&gt;Did&amp;nbsp;ble_dfu_buttonless_async_svci_init() return any error codes?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/223391?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 15:15:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8aafe20-60c5-4252-bd2d-ad120345ff2e</guid><dc:creator>CY</dc:creator><description>&lt;p&gt;I did flash the boot loader, that is why I could show the Address in UICR. ( I have post it in the beginning)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/223305?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 12:03:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:675aac39-30bd-4b43-885f-8ecfc9f403f6</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You can get that issue if the bootloader is not flashed to the chip. Make sure that the bootloader is flashed to the chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/222923?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 01:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:103f6917-baf1-42b2-b62b-2ee9cac8ca49</guid><dc:creator>CY</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Yes, the SDK is 16.0 with the soft device&amp;nbsp;&lt;span&gt;s112_nrf52_7.0.1_softdevice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Actually, my setting is set like you mentioned.&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/2553.9.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And I also took the below website as nRF52810 &amp;#39;s reference&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader.html&amp;amp;cp=6_1_3_5_0_6&amp;amp;anchor=lib_bootloader_programming" rel="noopener noreferrer" target="_blank"&gt;Bootloader&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1575248330411v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thus, I am still not sure whether I has missed anything.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Moreover, if I block the following program by setting OTA_FUNCTION 0, my application could start advertising.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void standard_services_init(void)
{
    ret_code_t         err_code;
	nrf_ble_qwr_init_t qwr_init  = {0};
		
	// Initialize Queued Write Module.
    qwr_init.error_handler = nrf_qwr_error_handler;

    err_code = nrf_ble_qwr_init(&amp;amp;m_qwr, &amp;amp;qwr_init);
    APP_ERROR_CHECK(err_code);

		
	#if OTA_FUNCTION==1
	ble_dfu_buttonless_init_t dfus_init={0};
	dfus_init.evt_handler = ble_dfu_evt_handler;

    err_code = ble_dfu_buttonless_init(&amp;amp;dfus_init);
    APP_ERROR_CHECK(err_code);
	#endif
}
		
int main(void)
{
    bool erase_bonds;
		
	//1120 add for DFU
	#if OTA_FUNCTION==1
	ret_code_t err_code;
	err_code = ble_dfu_buttonless_async_svci_init();
    APP_ERROR_CHECK(err_code);
	#endif
	
    // Initialize.
    log_init();
    timers_init();
    buttons_leds_init(&amp;amp;erase_bonds);
	leds_init();
	
    power_management_init();
    ble_stack_init();
    gap_params_init();
    gatt_init();
	advertising_init();
	standard_services_init();

    conn_params_init();
    peer_manager_init();


    application_timers_start();

    advertising_start(erase_bonds);

    // Enter main loop.
    for (;;)
    {
        idle_state_handle();
    }
}&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thus, I am not sure what happened in the part of DUF.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&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: An application with buttonless_dfu service and customize service could not working and cannot enter bootloader either.</title><link>https://devzone.nordicsemi.com/thread/222823?ContentTypeID=1</link><pubDate>Fri, 29 Nov 2019 13:10:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c7494bc-099d-4efd-a6b1-48e9d3d8a200</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]IROM1 Size changed &amp;nbsp;0x17000 -&amp;gt; 0xF000[/quote]
&lt;p&gt;This is SDK 16.0 with&amp;nbsp;s112_nrf52_7.0.1_softdevice.hex ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;For &lt;span&gt;s112_nrf52_7.0.1_softdevice.hex, t&lt;/span&gt;he correct IROM1 start value is 0x19000 , and IROM1 Size is&amp;nbsp;0xF000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>