This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Recover after Fatal error without enabling Watchdog

Hello,

 

I am using nRF52840, SDK_16.0.0, SoftDevice S140 V7.0.1 and Segger for flashing the image. I am using ‘ble_app_blinky’.

 

I want to recover after fatal error (Chip should reset). Most of the places where critical error occurs we are raising fatal error by calling APP_ERROR_CHECK(). Because of this I did not enable watchdog.

But I am not seeing any chip reset after fatal error.

 

For this, in app_error_fault_handler() do I need to comment NRF_BREAKPOINT_COND so that NVIC_SystemReset() will be called.

 

Thanks & Regards

Vishnu Beema

Related