<?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>To Detect whether the System Reset due to Hard fault</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118308/to-detect-whether-the-system-reset-due-to-hard-fault</link><description>Hi, I am currently using the nRF52832 MCU and have implemented hard fault handling as follows: I use the macro APP_ERROR_CHECK(err_code), which, in case of an error, calls the app_error_fault_handler(). Inside this handler, I invoke NVIC_SystemReset(</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jan 2025 16:07:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118308/to-detect-whether-the-system-reset-due-to-hard-fault" /><item><title>RE: To Detect whether the System Reset due to Hard fault</title><link>https://devzone.nordicsemi.com/thread/519841?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2025 16:07:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be1896be-e860-433a-9c3a-18975ecb013c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Meghana,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It should easier to store the fault information to RAM if that&amp;#39;s an option for you. See this post for an example:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30075/saving-the-location-of-watchdog-timeout"&gt;Saving the location of Watchdog timeout&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>