MCUBOOT Update Network Core nrf5340

Hi,

I have MCUboot enabled on my application and would like to enable updating the network core as well as the app core through BLE. The network core is just used for BLE support, there is no custom code. The app core is where the main program runs. I have the SMP enabled and it is working, I can download the generated dfu_application.zip to the processor. I am however unsure if this is updating the network core as well as the application core by default. My current config file just includes the following for OTA updates:

CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
CONFIG_BOOTLOADER_MCUBOOT=y

I am following the Simultaneous multi-image DFU documentation and it seems to be a bit out of date (some of the config options do not exist anymore). Can you confirm:

  1. Is the network core updated by default when MCUboot is enabled?
  2. What configuration do I need to change to get the Network core to be able to update?
  3. Do you have a sample project or example where the network core and app core are updated via BLE?
Parents Reply
  • Hi    , sorry if I interfer in the discussion. With  we are experiencing the same issue described in this ticket, but we are working with a custom board (with nRF5340) with the structure described here.

    We receive correctly both images in the application core, then application core is updated but network core update is never executed, at all. We don't have any error logs in any core, and even increasing verbosity in application core firmware and mcuboot child image, we see that there is no attempt at all to update network core

    We reviewed all the configs in this example, and despite the fact that we work with a custom network core image, we can't find any missing config - also the issue seems to come from application core, probably mcuboot.

    Is there any specific config required in application core / mcuboot to ensure network core is updated, that might be included from the samples projesct without being aware of that? 

    Thanks

Children
Related