Hi,
I work on a project that uses the dfu target library for firmware updates. This has been working flawless until I added task watchdogs.
The problem that I see is that after a task wdt has been added, the dfu_target_mcuboot_write causes the zephyr system to reboot. Through debugging I see that it happens when the first page in flash is erased. If i disable the task wdt add function, I see no problems.
More information:
- I have tried to use a long timeout and regularly feed the watchdog to ensure that it is not the reason why the reboot occur.
- I have tried to call the task wdt delete function before the dfu_target_mcuboot_write function but this still reboots the system.
- SDK 1.8.0