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

Watch dog does not reset when reaching ' NRF_BREAKPOINT_COND; ' while in debug mode

hello Nordic

i added a watch dog to my code

i try to create an error by putting a breakpoint in the code (though i actually didn't start the ble scan which usually caused the fault, i guess now it is the watchdog itself that is causing it) 

anyway, i was expecting to restart after reaching the NRF_BREAKPOINT_COND (= welcome to hell line) but i just get stuck there

my question is : is that just a condition of the debugging mode ? or can this happen in normal run as well and then the watchdog does not prevent system stuck ?

one more thing, i read somewhere that the softdevice has a watchdog of its own (part of what causing the fault in the ble scan start condition, if i understood right) so if there is a built in watchdog, do i really have to write my own code of watchdog ???

best regards

Ziv

Parents Reply Children
No Data
Related