Hi,
We are using the API from dfu_target_mcuboot.c to perform DFU on NRF52840.
We set the following flags in prj.conf.
CONFIG_STREAM_FLASH=y CONFIG_STREAM_FLASH_ERASE=y CONFIG_DFU_TARGET=y CONFIG_DFU_TARGET_MCUBOOT=y CONFIG_DFU_MULTI_IMAGE=y CONFIG_BOOTLOADER_MCUBOOT=y
After finishing the call of "dfu_target_mcuboot_set_buf" and "dfu_target_init", we call "dfu_target_mcuboot_write" to write the image data to mcuboot_secondary partition.
But there is a "flash_sync_mpsl: timeout" error when "dfu_target_stream" flush the buffer to flash.

Do we miss some initialization steps?
How can we fix the bug?
Regards.