I've used the 'secure_bootloader' project, updated with the public key, to flash on the DK. The project 'ble_app_buttonless_dfu' built and packaged as zip can be DFU'd with nRF51 dongle and with iOS nRF Toolkit app, so in this perspective it works just fine. The issue is when I try to debug the 'ble_app_buttonless_dfu' project from SES, it would flash but would not start in main() or hit any breakpoint set, nor show any debug RTT logs. A non-dfu application, like 'ble_app_beacon' can be debugged without any issues. What am I missing?
Setup:
Hardware: nRF52 DK PCA10040
SDK: nRF5_SDK_15.0.0_a53641a
SD: s132_nrf52_6.0.0_softdevice.hex
SEGGER Embedded Studio 3.30
Thanks!
EDIT: I can 'Attach Debugger' to already DFU'd application 'ble_app_buttonless_dfu' and it works properly, breakpoints hit and logs available.