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?

  • Soft device s110_nrf51822_6.0.0 is used. It is hard to describe what I were doing. I implement a wearable device step counter. If iOS doesn't reconnect the device, reset seems not to appear again. Support of Nordic semiconductor gave me the code for reconnection: adding two app timers. I suspect there is something with ANCS. Other iOS devices, such as iPod, iPad, iPhone 5s and so on, connected to the same wearable device, then I have never seen this problem. If this information does helpless I'll add more.

Reply
  • Soft device s110_nrf51822_6.0.0 is used. It is hard to describe what I were doing. I implement a wearable device step counter. If iOS doesn't reconnect the device, reset seems not to appear again. Support of Nordic semiconductor gave me the code for reconnection: adding two app timers. I suspect there is something with ANCS. Other iOS devices, such as iPod, iPad, iPhone 5s and so on, connected to the same wearable device, then I have never seen this problem. If this information does helpless I'll add more.

Children
No Data
Related