Hi,
I changed application main.c to enter in to DFU mode after 20 seconds. System is reset every 20 seconds and the boot messages are printed. The message "Booting (0x8200)" inside bl_boot() is also printed. The reset handler is called at the end of the function. However, it resets the device but bootloader main() is never called and the device never enters the DFU mode.
There are 3 main() functions are involved:
Application main() - setup to enter the DFU mode (I am using GPREGRET register and system reset)
nrf main() - Validate MCUboot and boot (No change by me)
mcuboot main() - Enter DFU mode (No change by me)
Really appreciate if someone could explain what is going on in this case and what is missing?
Thanks,
Ram
