Hi,
I'm porting our project from sdk10 to sdk12 with SD S132 V3.0.0. I cannot find a way to reset the device in app and boot in bootloader in order to do a OTA update.
In sdk10 was as easy as to set the GPREGRET register and then perform the reset:
err_code = sd_power_gpregret_set(0xB1); //#define BOOTLOADER_DFU_START 0xB1
APP_ERROR_CHECK(err_code); //GPREGRET register is responsible for DFU checking condition
NVIC_SystemReset(); //this line perform restart
I tried searching in the experimental example dfu_buttonless but I couldn't find the proper way to do it.
Any help is welcome, thanks.