I am working on nrf52840, try to create a service,so i follow the tutorial, but i got a problem. The DK doesn't advertise, when I debug it, then it will jump into this place,as shown in picture.
Does anybody know what to do with this? Thanks in advance.
Environment: MDK5, win10
Big_John said:when I debug it, then it will jump into this place,as shown in picture.
When, exactly, does that "jump" happen?
As cyril said, that is the error handler - so, if your last step included something like an APP_ERROR_CHECK() which failed, then you would expect to end up in the Error Handler.
Another possibility is that you are crashing the SoftDevice by halting the processor. This is because the SD has time-critical events; if it can't keep up with them - eg, because the CPU is halted by the debugger - then it will crash.
To get over this, you can use Monitor Mode Debugging:
Sorry, the forum seems to have tagged the wrong Cyril
Thank you for your help. I found out the problem. For what you said, though I don't understand according to my knowledge now, I will try. Thank you.