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

Application crashes after some time

I started with the Nrf_tempelate project and used nrf_uart_app to add uart service in it.  The application works fine after reset and as long as it is connected to nrf connect app.

Once I disconnect, I can see the advertisement packets in nrf connect for few mins(2-10mins). And it crashes. 

I have attached the screenshot of call stack.  Can anyone help me to point our the issue ?

  • Hello,

    Can you please try to define DEBUG in your preprocessor define? (Let me know if you are not sure how to do this, but it is found in the project settings. Then check what the log says (if you have enabled logging). If not, set a breakpoint in the app_error_handler to see what the err_code, line_num and file_name is. It should point to an APP_ERROR_CHECK(err_code). So what is the value of err_code, and what function returned this value?

    BR,

    Edvin

Related