Issue regarding app timer

I am using nrfsdk17.1.0 I had used 3 timers in my application. one timer starts in main function, second timer starts in the timer handler of first timer. My second timer is not started it is giving an error as soon as program reach there fatal error and system reset gets printed on com port I can't be able to figure out the problem please help me

Thanks in advance

Parents
  • Hello,

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:

    This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.
    Do this, and check the error code against the API reference of the function that returned the error code to see why the error code was returned, and what you may do to resolve the issue.

    Best regards,
    Karl

Reply
  • Hello,

    Please make sure to have DEBUG defined in your preprocessor defines, like shown in the included image:

    This will make your logger output a detailed error message whenever a non-NRF_SUCCESS error code is passed to an APP_ERROR_CHECK.
    Do this, and check the error code against the API reference of the function that returned the error code to see why the error code was returned, and what you may do to resolve the issue.

    Best regards,
    Karl

Children
Related