Hi,
I'm working on modifying the secure bootloader (SDK 17, nRF52840, s140) to store the old app before the new app is programmed into Bank 0 (see this other thread). Since I need to debug the bootloader, I need to use the debug bootloader (pca10056_s140_ble_debug) instead of the one I normally use (pca10056_s140_ble). The weird part is that when I program the "normal" bootloader + SoftDevice + Application, the app boots up fine after programming. However, when I program the debug bootloader + SoftDevice + Application, the bootloader does not recognize the app as valid and stays in DFU mode.
What could be the reason for this? I get no warnings or errors at compile time so I would say that the public key in the bootloader that is being used is the correct one as there is no other one.
Thanks in advance.