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

Are there any cases soft device resets system?

I encountered a strange problem system reset. My application runs on iOS or android. My device was connected by iPhone 6 plus(128G) with iOS 8.1.2. ANCS was turned on. I have never seen the same problem by using iPod and iPad or phones and pads with android. Hard fault and assert are excluded. Watch dog is turned off. NVIC_SystemReset() and sd_nvic_SystemReset() aren't called at another place. So could you tell me whether soft device resets system in some cases?

Parents
  • To my knowledge: No, the SoftDevice will not reset the system unless SystemReset() is explicitly called. It can assert if the SoftDevice discovers a logical bug in itself, and the system can HardFault if you divide by zero or give the wrong lengths when passing data to the stack, but it should not reset.

    Some of the previous SDK examples used to call reset in the application error handler. Could that be the cause?

  • Thanks, this is a stack assert, meaning the SoftDevice went into some undefined state and stopped everything. It will trigger a HardFault once the assert routine is finished. Could you please tell me which version of the SoftDevice you are using, and roughly what you were doing? I will see if there are any workarounds available. If not, Support would be more than happy to help you with this.

Reply Children
No Data
Related