I need to do core0 reset alone using SWT0 and core1 reset alone using SWT1?
I have written the driver codes for SWT0 which generates IRQ when the watchdog timer overflows and now how this can reset core0 alone. What else I need to do to reset the core0.
In the similar way I need to do SWT1 to reset core1 alone.
Please provide some sample code for reference.
Thanks and regards,
I am new to this controller, please can u explain more about this
"Just correctly configure INTC module to react on SWT_1 timeout with core1." and also mode change.
If possible share some sample code.
There is no sample code available for what you are requesting.
However the implementation is quite easy.
Just correctly configure INTC module to react on SWT_1 timeout with core1.
For resetting core1 alone you will need to do:
mode transition for this core with Reset on mode change enabled in interrupt from SWT1:
are you sure your SWT0 is not resetting whole micro? can you see in debugger that core1 is not reset in SWT0 and still executes code?