This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

NRF_ERROR_SVC_HANDLER_MISSING when debugging

Hi!

I have adapted the heart rate example to have just one service and one characteristic. Initializing works fine and I can read the initial value of 0x00 using my cell and the nordic debugger app. Unfortunately the value does not get updated in a timer routine. So I hit up the debugger and stepped through the app. Unfortunately after some breakpoints I get to app_error_save_and_stop() with an id of 1 == NRF_ERROR_SVC_HANDLER_MISSING.

So do I need to know something about the debugger or sth. similar? Because to me it feels as if I get that error only when debugging ...

Thanks in advance & best wishes Yatekii

Parents
  • You can't debug with the softdevice running. It has strict timing requirements and as soon as you stop it and restart it or single step it, it errors and goes to an error handler.

    You'll have to debug using RTT or similar (or see the blog post from last year on Monitor Mode debugging).

Reply
  • You can't debug with the softdevice running. It has strict timing requirements and as soon as you stop it and restart it or single step it, it errors and goes to an error handler.

    You'll have to debug using RTT or similar (or see the blog post from last year on Monitor Mode debugging).

Children
Related