In some case sd_nvic_SystemReset() can not reset? nrf51822 S110.
for example: void main(void) { sd_nvic_SystemReset(); do something; } It can do somthing!! So sd_nvic_SystemReset() must after doing something?
In some case sd_nvic_SystemReset() can not reset? nrf51822 S110.
for example: void main(void) { sd_nvic_SystemReset(); do something; } It can do somthing!! So sd_nvic_SystemReset() must after doing something?
To use sd_ functions, SoftDevice must be enabled before (sd_ble_enable).
As Wojtek is pointing out, you have to enable the SoftDevice before calling sd_nvic_SystemReset()
.Are you doing this?
No,i haven't. And i don't know whitch function can enable the SD.
If you are not using a SoftDevice you can use NVIC_SystemReset()
instead.