This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5524: Using watchdog timer within a while(1) loop

Part Number: MSP430F5524

I am having certain "defective" ICs with me which are unable to handle a clock speed of 16MHz. The code stops running after a while and I am unable to pause the program in the debugger giving me the error message

I thus want to reset the code when it stops running. Given that my code is already within a while(1), how do I use the watchdog timer to accomplish this? Is something on these lines possible - setting/resetting a variable/register as the first instruction in the while loop failing which the code should get reset? 

When the code stops running, the code seems to be still entering the ISR. So, if I can reset the code from within the ISR, it might well serve my cause.

Thanks and Regards



**Attention** This is a public forum