<?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>System auto reset when using DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10545/system-auto-reset-when-using-dfu</link><description>Hi everybody. 
 I am making an application which combine ANCS and UART on PC100028 (nrf51 SDK 9.0.0). This program worked properly. However when I add DFU service (dfu_dual_bank) follow as this instruction the program automatically reset when I try to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Nov 2015 10:54:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10545/system-auto-reset-when-using-dfu" /><item><title>RE: System auto reset when using DFU</title><link>https://devzone.nordicsemi.com/thread/39226?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2015 10:54:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba7ce62c-eb66-4a75-b32f-f92c11bc68bb</guid><dc:creator>Minh</dc:creator><description>&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System auto reset when using DFU</title><link>https://devzone.nordicsemi.com/thread/39225?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2015 10:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d54b2db-ab4d-4774-bdad-a0c595d12e3b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please make sure that you&amp;#39;ve allocated space for the application context in the device managers config file which used to set the service changed flag (device_manager_cnfg.h-&amp;gt; DEVICE_MANAGER_APP_CONTEXT_SIZE). If it&amp;#39;s set to zero you will get an assert that causes a system reset as the application can&amp;#39;t set the service changed flag.&lt;/p&gt;
&lt;p&gt;If you&amp;#39;ve already set the DEVICE_MANAGER_APP_CONTEXT_SIZE to more than 4 bytes the reset is caused by something else. Then I&amp;#39;d suggest to attach a debugger and see if app_error.c -&amp;gt; app_error_handler() is reached during program execution, and if it is, read the input arguments  to determine the location and cause of the assert.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>