This is for the SDK nRF5_SDK_15.2.0_9412b96 and custom hardware.
I have a bootloader based off the example secure_bootloader_usb_mbr_pca10056 project. I want the application to reset and stay in bootloader mode, from a user command.
From another post, I tried this sequence:
#define BOOTLOADER_DFU_START 0xB1
NRF_POWER->GPREGRET = BOOTLOADER_DFU_START;
NVIC_SystemReset();
It resets into the application, not the bootloader.