Dear Everyone,
I'm working on the firmware over the air functionality on EVKB-1170 with imxrt1176. I use OTA basic example as a base. I enabled watchdog from main of mcuboot_opensource project. The watchdog is tested on this level, I use timer interrupt to feed the watchdog. The problem arises after bootloader jumps to firmware. Timeris still running but when I test condition where timer stops feeding watchdog the reset doesn't happen. It looks like the watchdog is disabled.
Is there anything other than WDOG_DISABLE flag in IMRT1176_cm7.h that I should check to ensure watchdog is running after jumping to new image?
Best Regards,
Jakub
Hi @jslota13245 ,
I'm glad to hear your good news.
Thank you for your reply and solution sharing.
If you meet any issue in the future, welcome to create the new question post.
Wish you a good day!
Best Regards
MayLiu
Dear MayLiu,
Thank you very much for your time. The issue was on my side. I must have forgotten to erase the flash before flashing the new firmware, which would explain why it didn't behave as you described after i changed DISABLE_WDOG to 0. I suspect some artifacts remained in the flash from which it booted.
Thank you again for help, I wish you a good day
Hi @jslota13245 ,
Thank you so much for your interest in our products and for using our community.
In your firmware project, what is the definition of "DISABLE_WDOG" in the "system_MIMXRT1176_cm7.h" file?
When bootloader jumps to firmware, then code execution begins within the ResetISR, which subsequently calls the SystemInit() function. As part of its default operation, SystemInit() disables the watchdog timer.
Wish it helps you.
If you still have question about it, please kindly let me know.
Best Regards
MayLiu