This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

dfu\bootloader_secure problem error at sd_mbr_command(&command); (nrf_dfu_mbr_init_sd())

Hi

Im using the DFU secure example (examples\dfu\bootloader_secure\pca10028)

Im working on a NRF51822-QFAA ,S130 SDK12.3 , Im not sure about my IROM/IRAM definitions, my settings below

I have an error at (nrf_dfu_mbr_init_sd()) sd_mbr_command(&command); 

err_code = nrf_dfu_mbr_init_sd(); (see print screen below)

Any help will be appreciated 

Thanks !

Memory definitions as follows :

error here :

Im not sure if it's relevant but UICR Register seems fine

Parents Reply
  • Yes, it's for the bootloader. 

    The application need to modified to match the smaller size (16kB) as well. Basically the IRAM1 Start + IRAM1 Size =  0x4000. THe IRAM1 Start address is varied, depends on the configuration of your application. You will have the suggested RAM requirement when you enable the softdevice, please check the log. 

    The bond information I mentioned was about sharing the bonding key between application and bootloader, if you don't need that (it's not implemented in SDK v12) you can ignore it. 

Children
No Data
Related