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

SDK 15.3 Secure BLE DFU example

We were running BLE DFU bootloader for nrf52832 based on sdk 14.2; this worked fine.

We have now moved to sdk15.3 and nrf52840 as we needed USB.Our applicaton is up and running BLE, USB and all; now we are upgrading bootloader for SDK and HW changes.

So using the dfu example from the sdk and Segger Embedded Studio my HW is failing to bootrom is failing to reach the stage of advertising over ble.
Exception is occuring just off nrf_dfu_flash_init(); where nrf_fstorage_nvmc is being referenced.

This structure contains 0xff's in memory; but in the hex download it is fine. 

If I use segger jflash to merge the bootloader and softdevice hex files and burn this; it verifies correctly; then I start the bootloader; get the xception again.
Looking to that memory area it has been erased. (0xfe00; mbr params page).).

I suspect linker placement errors as the map file seems to indicate library code being located in area reserved for mbr_params_page.

Is a sdk patch available that fixes this issue?

Related