<?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>How to identify reset reason</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16230/how-to-identify-reset-reason</link><description>hello, 
 I&amp;#39;m using S132/nRF52/SDK11. 
 I start a firmware development based on Nordic UART example, I kept the BLE NUS part (I loop back the data received over BLE) and removed the usage of the UART peripheral. I observe a strange behaviour. 
 I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Sep 2016 07:36:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16230/how-to-identify-reset-reason" /><item><title>RE: How to identify reset reason</title><link>https://devzone.nordicsemi.com/thread/61994?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 07:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12790d0d-69f2-4842-86c7-a5c25b6a7ec3</guid><dc:creator>bloobird0</dc:creator><description>&lt;p&gt;Thanks a lot for your support and time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to identify reset reason</title><link>https://devzone.nordicsemi.com/thread/61993?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 07:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63cf12f7-f4d0-4cde-8ca5-5f50d7d84131</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Softdevice asserts are normal when you use breakpoints. You usually can step through the code until you have a call to the softdevice, then the softdevice will assert. You also can not step into softdevice code. So the way to debug with softdevice is to set a breakpoint and step to the next softdevice call. If you want to debug beond the next softdevice call, then set a breakpoint after the softdevice call and restart program execution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to identify reset reason</title><link>https://devzone.nordicsemi.com/thread/61992?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2016 16:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8275945-81ac-4bef-8498-42481a0cdfff</guid><dc:creator>bloobird0</dc:creator><description>&lt;p&gt;Excellent, thanks a lot!&lt;/p&gt;
&lt;p&gt;It looks like that the reset is caused by a Softdevice assertion (softdevice_fault_handler is called with id=0x01 and then lead in a NVIC_SystemReset() ).&lt;/p&gt;
&lt;p&gt;The Softdevice assertion only happens when using breakpoints. I have read &lt;a href="https://devzone.nordicsemi.com/question/46893/softdevice-assert/"&gt;this&lt;/a&gt; that tells me that the breakpoints are a potential source.&lt;/p&gt;
&lt;p&gt;Does it mean that the usage or breakpoints is useless as soon as the BLE is started (e.g.: only advertising)?&lt;/p&gt;
&lt;p&gt;It there a way to look at the reason for a Softdevice assertion?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to identify reset reason</title><link>https://devzone.nordicsemi.com/thread/61991?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2016 15:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fa287ae-3d0a-486e-aa73-cdc1d6ab496e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Maybe &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/"&gt;this&lt;/a&gt; is helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>