Hi,
I'm looking at the watchdog behavior in mcuboot during DFU. Here are the watchdog-related configs I've set:
CONFIG_BOOT_WATCHDOG_FEED=y CONFIG_WATCHDOG=y
and here are a few things I've noticed:
- Even though the watchdog is fed by the macro `FEED_WDT_INST(id)` in mcuboot_config.h, the watchdog doesn't seem to be started in the first place. This can be checked by calling `nrf_wdt_started_check()` in `mcuboot/boot/zephyr/main.c`, which returns false. This means that the feeding of the watchdog doesn't really do anything.
- The reload value in the CRV registers appears to always be set to 0xFFFFFFFF when mcuboot runs and there doesn't seem to be any way to set it to another value.
Could you have a look at the mcuboot code and check if these are expected behaviors?
Thank you (: