Hi,
I'm using S32K312 EVB in Debug mode and SW resets when I try to enable SWT0 by setting WEN bit.
In my code, I leave the default configuration 0xFF00010A of CR register and when I try to set register WEN = 1, SW resets.
I expect that with CR[FRZ]= 1, using debug with watchodg enabled is possible.
I checked the bits:
Can you hel me?
I attached my code and registers configuration.
Kind regards,
Solved! Go to Solution.
Hi@atranzillo93
According to the description in the data sheet, RIA is only used to respond to SWT's invalid access behavior.
I modified the RIA configuration in this example and it still works fine.
Hi@atranzillo93
can you test the demo we provided in S32 DS, it seems works fine on myside.
I found demo.
I try demo with my configuration and it doens't work if I set RIA = 1.
It works only with RIA = 0.
Why?
Thnks.
Hi@atranzillo93
According to the description in the data sheet, RIA is only used to respond to SWT's invalid access behavior.
I modified the RIA configuration in this example and it still works fine.
Now, it works.
Thank you.
Hi,
can tou give me the path where I can found the demo?
Thanks.