Other Parts Discussed in Thread: CONTROLSUITE,
Hello,
After issuing a forced "software reset" (through watchdog as I have seen discussed in other questions) my application stops executing but never starts again and I haven't modified any vector interrupt.
Code for reset:
volatile Uint16 temp; EALLOW; temp = WdRegs.WDCR.all & 0x0000; WdRegs.WDCR.all = temp | 0x28; // write bit 6 as 0, 5:3 as 0x5, enabling watchdog WdRegs.WDCR.all = temp | 0x20; // write bit 6 as 0, 5:3 as 0x4, enabling watchdog and forcing reset EDIS;
Anyone knows why this could happen? I need my application to start executing again right after software reset.
Best regards,
Adria