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,
已解决! 转到解答。
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
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.