I had a simple blinky application. With this application running I was able to flash a new version in the nRF52480 SDK board at address 0x0086000 with JFLASH.
Pressing button 1 forced a boot_request_upgrade(BOOT_UPGRADE_TEST); With button 2 I forced a reboot. The images are swapped and with button 3, I confirmed the new image. Working like expected.
Migrating to the real application with new target hardware this seems to fail.
As soon as I call boot_request_upgrade(BOOT_UPGRADE_TEST); I see:
00> [00:00:46.870,697] <dbg> mcuboot_util: boot_write_magic: writing magic; fa_id=5 off=0x78ff0 (0xfdff0)
00> [00:00:46.986,938] <err> flash_sync_mpsl: timeout
00> [00:00:47.051,544] <dbg> mcuboot_util: boot_write_swap_info: writing swap_info; fa_id=5 off=0x78fd8 (0xfdfd8), swap_type=0x2 image_num=0x0
00> [00:00:47.206,726] <err> flash_sync_mpsl: mpsl_timeslot_session_open failed: -12
00> [00:00:47.303,741] <err> dfu_handling: boot_request_upgrade failed with code -14

Any clue what is going wrong here?