<?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>Device not starting after power off reset, but suddenly starts if i start debug session</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52462/device-not-starting-after-power-off-reset-but-suddenly-starts-if-i-start-debug-session</link><description>In our setup several devices are suddenly not working anymore, power off and power on is not working. However, if I connect the debugger it suddenly starts working. 
 So the flash image is not damaged, but some kind of state is destroyed, which seems</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Sep 2019 16:24:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52462/device-not-starting-after-power-off-reset-but-suddenly-starts-if-i-start-debug-session" /><item><title>RE: Device not starting after power off reset, but suddenly starts if i start debug session</title><link>https://devzone.nordicsemi.com/thread/211362?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 16:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ecd2439-8313-4b9f-a138-b5fa31c2f09a</guid><dc:creator>jessevdam</dc:creator><description>&lt;p&gt;I am not using the UART, i am using the RTT debugger for the console logging. But the problem was that a hard reset(power off on) was not working, Only if I connected the debugger and started a debug session it suddenly started working again, as if a hidden bit inside the cpu somehow got in a illegal state, which somehow got restored after it was connected to the debugger. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Device not starting after power off reset, but suddenly starts if i start debug session</title><link>https://devzone.nordicsemi.com/thread/211143?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 08:33:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46b7aece-b985-4691-84e5-850d816b5bfe</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you use UART or UART logging in your application? I suspect that you receive an event:&amp;nbsp;APP_UART_COMMUNICATION_ERROR.&lt;/p&gt;
&lt;p&gt;Search for this in your project, and locate and comment out the line:&lt;/p&gt;
&lt;p&gt;APP_ERROR_HANDLER(p_event-&amp;gt;data.error_communication);&lt;/p&gt;
&lt;p&gt;inside this event. Does that change the behavior of your device when you don&amp;#39;t have the debugger attached?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>