I am using secure dfu bootloader from the SDK 12.
I changed the start address of my application. In the bootloader, in uint32_t nrf_dfu_init() { }, calling function nrf_bootloader_app_start(MAIN_APPLICATION_START_ADDR) with the new start address.
After I flashed the application, the bootloader goes to hard fault after executing the sd_mbr_command in:
uint32_t nrf_dfu_mbr_init_sd(void)
{
uint32_t ret_val;
sd_mbr_command_t command =
{
.command = SD_MBR_COMMAND_INIT_SD
};
ret_val = sd_mbr_command(&command);
return ret_val;
}
This function was called by nrf_bootloader_app_start()
It seems that forwarding interrupts to SD fails for some reason, but I don't know why.
I would appreciate any sort of help to this problem. Thanks!