Hi!
I'm using SDK13 (Softdevice version 4.0.2) and I noticed that during an update via DFU bootloader the update of the Softdevice doesn't work.
After the transmission is successful the bootloader calls nrf_dfu_mbr_copy_sd(), but it returns 0x09 -> NRF_ERROR_INVALID_LENGTH.
I thought maybe it's because I want to update the Softdevice with the same version so I tried to update it with Softdevice version 5.0.0 which gives "Miss-match SD major version".
So my questions are:
- In which case does nrf_dfu_mbr_copy_sd() (or sd_mbr_command()) return NRF_ERROR_INVALID_LENGTH apart from that the length is not page aligned?
- How can I make the Softdevice update work?
- Why is a Softdevice update with a different major version not supported? How is it possible then to update the BLE stack during the product's life time?
I actually adapted the DFU bootloader to my needs and tried to implement the bootloader update and the Softdevice update myself. For the bootloader it worked immediately using nrf_dfu_mbr_copy_bl() but with the Softdevice I always get the same error as in the DFU.
Thanks!