Hi Dear Colleagues,
In S32K3 RTD MCAL's Wdg example(SW32K3_RTD_4.4_R21-11_3.0.0_P01_HF02\eclipse\plugins\Wdg_TS_T40D34M30I0R0\examples\EBT\S32K3XX\Wdg_Example_S32K344), I add a while(1) here:
And I set a breakpoint here when debugging:
This callback can be entered successfully.
While if I do the same thing in S32K1 RTD MCAL's Wdg example(SW32K1_RTD_4.4_1.0.1_HF01\eclipse\plugins\Wdg_TS_T40D2M10I1R0\examples\EBT\Wdg_example_S32K118):
The breakpoint can't be triggered:
If there anything wrong in S32K1's RTD MCAL Wdg example? Thanks.
Hi WeoWang,
I just compare between 2 examples, for GPT ISR callback function, you should enable this checkbox i think.
Please help me to check this one.
Thank you,
Nam.
Hi Nam,
Thanks for your reply, I enabled this checkbox, regenerated, and compiled the code, it seemed that the callback function to feed that watchdog still couldn't be entered successfully.
I tried another example (SW32K1_RTD_4.4_1.0.1_HF01\eclipse\plugins\Wdg_TS_T40D2M10I1R0\examples\EBT\Wdg_example_S32K144), I found that the checkbox was not enabled either:
But in this example, the callback function to feed that watchdog could be entered successfully:
Best Regards
Weo
Hello Weo
By my email, I saw similar case with your case using RTD(non-MCAL) for S32K118 that was non occurring WDG ISR..
However WDG ISR is occurring, just T32 could not make break..
I have attached my example project....
After WDG reset, I can saw the WDG and RCM ISR count is increasing like below...One checking point, it should be not adding any break point into WDG/RCM ISR....
If I try to make the break into ISR loop, just Reset is showing.....
for your test, if you will jump to 65line(skip 64 line), MCU will make WDG action...
Thank you.