I have an Zephyr application on the nRF5340 that I've been working on. I can debug fine in SES without a boot loader. However, when I add MCUBoot into the mix then everything loads and starts from SES, but if I break then the addresses, registers, etc, all look incorrect and show "deadbeef". If I set a breakpoint on a line in my application it is never hit. Is there some trick to setting up SES properly so I can debug in the presence of MCUBoot?
This is what I have in my prj.conf with this issue occurs:
CONFIG_SECURE_BOOT=y
CONFIG_BOOTLOADER_MCUBOOT=y