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

Break point

Sangram singh

I wants to use break point in project but when i set break point then 4 or 5 times working after that goes to NRF_BREAKPOINT_COND, I am using nRF52832. so guide me where is the problem.


NRF_BREAKPOINT_COND;
// On assert, the system can only recover with a reset.

#ifndef DEBUG
NRF_LOG_WARNING("System reset");
NVIC_SystemReset();
#else
app_error_save_and_stop(id, pc, info);
#endif // DEBUG
}

Parents
  • Hello,

    after that goes to NRF_BREAKPOINT_COND, I am using nRF52832. so guide me where is the problem.

    I suspect that you are hitting an APP_ERROR_CHECK with a non-NRF_SUCCESS error code.
    Could you make sure that you have defined DEBUG in your preprocessor defines, like shown in the included image?



    Please try this, and let me know if this results in an error message being output to your logger.

    Best regards,
    Karl

Reply
  • Hello,

    after that goes to NRF_BREAKPOINT_COND, I am using nRF52832. so guide me where is the problem.

    I suspect that you are hitting an APP_ERROR_CHECK with a non-NRF_SUCCESS error code.
    Could you make sure that you have defined DEBUG in your preprocessor defines, like shown in the included image?



    Please try this, and let me know if this results in an error message being output to your logger.

    Best regards,
    Karl

Children
No Data
Related