<?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>NRF91 - reset device when exception occurs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51925/nrf91---reset-device-when-exception-occurs</link><description>Hi, 
 I&amp;#39;m using NRF91. 
 when an exception occur, the device gets stuck. 
 in production I would like to reset that device, if it occurs. 
 i.e.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Sep 2019 15:49:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51925/nrf91---reset-device-when-exception-occurs" /><item><title>RE: NRF91 - reset device when exception occurs</title><link>https://devzone.nordicsemi.com/thread/209480?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 15:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03227f11-ee3f-4af3-ad0c-d7f71782ba87</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;You can overwrite&amp;nbsp;&lt;span style="background-color:initial;"&gt;k_sys_fatal_error_handler. This is done in applications/asset_tracker.&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;
&lt;div style="font-family:&amp;#39;Segoe UI&amp;#39;, &amp;#39;Helvetica Neue&amp;#39;, &amp;#39;Apple Color Emoji&amp;#39;, &amp;#39;Segoe UI Emoji&amp;#39;, Helvetica, Arial, sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/applications/asset_tracker/src/main.c#L206"&gt;github.com/.../main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF91 - reset device when exception occurs</title><link>https://devzone.nordicsemi.com/thread/208745?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2019 15:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f6fff83-574c-4a86-a802-e65e6f6a1530</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Firstly I would stress that you never let your production devices ever get firmware that will hit a hard fault.&lt;/p&gt;
&lt;p&gt;Secondly, have you looked at the Watch Dog Timer (WDT). This is designed to handle faults with a reset and from my development testing, I remember it triggering during a Hard Fault when the timer counter expired. Note that this will just reset the device and won&amp;#39;t stop the hard fault from occuring again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>