<?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>buttonless dfu in sdk 14</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25422/buttonless-dfu-in-sdk-14</link><description>After migrating from sdk 13 with buttonless dfu based app I meet follow error:
my app get FATAL error after exactly 3min. I guess it something related with power down mode or like that but can&amp;#39;t find where is issue. After start app with DEBUG I got these</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Sep 2017 13:48:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25422/buttonless-dfu-in-sdk-14" /><item><title>RE: buttonless dfu in sdk 14</title><link>https://devzone.nordicsemi.com/thread/100198?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 13:48:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fafda77d-20ba-49fb-9a18-cf43da6d4c3e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I don&amp;#39;t see that in the code. But if you simply try to call  sd_power_system_off(); directly , do you see the chip enter sleep mode ? Or it will return ?&lt;/p&gt;
&lt;p&gt;How did you debug ? At which point did you see what you captured in the screenshot ? Please use break point and and don&amp;#39;t step through the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless dfu in sdk 14</title><link>https://devzone.nordicsemi.com/thread/100197?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 11:03:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0933cb-b65e-42ca-ba0a-1fdb8b7a4461</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Could you explain how I disabled the softdevice. Which command can do it?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;int main(void)
{
    bool erase_bonds;
		ble_stack_init();	
		uint32_t err_code;
    // Initialize.
    log_init();
		SEGGER_RTT_printf(0, &amp;quot;start app\n\r&amp;quot;);
		nrf_gpiote();

		pwm_init_corr();
		pwm_init_rgb();
		HX711_init();
		m_clock_timer_init();
		//timers_init();
    //power_management_init();
    //buttons_leds_init(&amp;amp;erase_bonds);
    peer_manager_init();
    gap_params_init();
    gatt_init();
    advertising_init();
    services_init();
    conn_params_init();
    // Start execution.
   // application_timers_start();
    advertising_start(erase_bonds);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless dfu in sdk 14</title><link>https://devzone.nordicsemi.com/thread/100196?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2017 10:57:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:701b7000-e5a5-46f5-9f7b-d6a18729c096</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Error code 8198 = 0x2006 = NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN.
I suspect that you already disabled the softdevice before you call sd_power_system_off(). That API call should not return.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttonless dfu in sdk 14</title><link>https://devzone.nordicsemi.com/thread/100195?ContentTypeID=1</link><pubDate>Sun, 24 Sep 2017 06:01:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69e47ec7-d5d2-476b-8600-95e1daed82a6</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Fatal error was returned by sd_power_system_off() (in sleep_mode_enter function).
I just commented and all is work&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;//    err_code = sd_power_system_off();
//    APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>