<?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>[NRF5 SDK] Reboot board if assert</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77952/nrf5-sdk-reboot-board-if-assert</link><description>Hi, 
 I want to know if its possible to implement a mechanism that reboot a device when an assertion occurred. 
 I have try to add a WatchDog but its only reboot the board if a process take a to long time and not work if the device crashed. Or an assertion</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Jul 2021 13:02:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77952/nrf5-sdk-reboot-board-if-assert" /><item><title>RE: [NRF5 SDK] Reboot board if assert</title><link>https://devzone.nordicsemi.com/thread/322243?ContentTypeID=1</link><pubDate>Wed, 28 Jul 2021 13:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b8441c0-2155-43b2-a1f4-b60217e90522</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The default behavior when an assert happens is to reset the device. In nrf_assert.c, you can see that&amp;nbsp;app_error_fault_handler() is called.&amp;nbsp;If DEBUG symbol is not defined, this function will call&amp;nbsp;NVIC_SystemReset().&lt;/p&gt;
&lt;p&gt;Note that&amp;nbsp;DEBUG_NRF symbol myst be defined for asserts to be enabled in the application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>