I am using SDK 17 currently and nrf52840. I have read through the Q&As in the Dev zone and have not found the exact answer. So it might be a good idea to ask here
I understand that in rare cases when the soft device asserts, one should call system reset function to recover.
My question is: If I use the following code, will the function sd_nvic_SystemReset() ever be executed?
void assert_nrf_callback(uint16_t line_num, const uint8_t * p_file_name) { app_error_handler(DEAD_BEEF, line_num, p_file_name); sd_nvic_SystemReset(); }
Will the system stuck inside the app_error_handler() function, instead of doing the reset? Thanks for your help.