<?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>Soft Reset sources in the nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65763/soft-reset-sources-in-the-nrf52840</link><description>Hello, 
 Can you point me to the documentation that details what the sources of a soft reset are ? 
 Thx, 
 Aidan</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Sep 2020 10:32:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65763/soft-reset-sources-in-the-nrf52840" /><item><title>RE: Soft Reset sources in the nRF52840</title><link>https://devzone.nordicsemi.com/thread/268921?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 10:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc076267-a6e5-466b-b44f-682442eae70e</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Errata 136?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, some of the default fault/error handlers in the SDK contain a call to NVIC_SystemReset().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset sources in the nRF52840</title><link>https://devzone.nordicsemi.com/thread/268887?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 08:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02bff0b3-5a1b-4947-94f9-4c0b39d51d2b</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;As &lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt; said, the SREQ bit is set after reset triggered by the application calling&amp;nbsp;&lt;span&gt;NVIC_SystemReset() function. This typically happens in the error handler, triggered by an error code passed to APP_ERROR_CHECK, an assert, or a hardfault.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you define the DEBUG flag in your preprocessor symbols, the error handler will print the cause of the error on the log, before entering an endless loop instead of triggering a soft reset. You can get similar output from the&amp;nbsp;&lt;a title="HardFault handling library" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/lib_hardfault.html?cp=7_1_3_22"&gt;HardFault handling library&lt;/a&gt;&amp;nbsp;if you include this in your project.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset sources in the nRF52840</title><link>https://devzone.nordicsemi.com/thread/268824?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 20:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87d2bca8-663b-42e9-91a3-990dd6b64c72</guid><dc:creator>Aidan B</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am looking for a hardware description as to the possible sources of a SREQ bit being set in the RESETREAS register.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are seeing random resets in our application, and the SREQ bit is set when the reset vector is jumped to. Is it set when a null pointer is taken for example.&lt;/p&gt;
&lt;p&gt;Thx,&lt;/p&gt;
&lt;p&gt;Aidan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Soft Reset sources in the nRF52840</title><link>https://devzone.nordicsemi.com/thread/268822?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 20:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69af25a9-635c-41e1-adda-b8437588e2d8</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You may want to elaborate a bit on &amp;quot;soft reset&amp;quot;.&lt;/p&gt;
&lt;p&gt;Otherwise: NVIC_SystemReset() function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>