Hello,
I am trying to use MCAL from files and configure my WDT but it seems like its not triggering.
I have configured the WDG in MCAL and added the cfg files to my project. I am using IAR compiler.
Please help me determining why is watchdog is not working.
I am able to config the WDG and Initialize it.
But the WDG is resetting within 1sec. I have configured the timeout as 10s in Autosar Cfg file.
also im not able to kick the timer.
attaching picture of my WDG Init and Kick. Please let me know if i am missing anything.
I think you're missing to configure Gpt module.
Wdg module is using timer from Gpt, so you should config and call Gpt_Init() before using Wdg