Well this is a relavant post isn't it?
I have tried the watch dog with the code following. It times out all
right and just seems to hang the processor!!
I don't wnat an interrupt- I just want to reset the processor.
Any suggestions?
int main(void) {
int i,j,k,p1,p2;
char s[100];
WDMOD=0; // clear WDRTOF flag
INIT_LED;
RedLedOn();
Delay (500000);
RedLedOff();
WDTC=3000000;
WDMOD=3;
WDFEED=0xAA;
WDFEED=0x55;
// __ARMLIB_enableIRQ();
// debug_printf("Start_");
for (i=0;;++i) {
// debug_printf("%d %d\n",i,WDTV);
GreenLedOn();
Delay (500000);
GreenLedOff();
Delay (500000);
}Message
Masking the internal watchdog work (at all!!)
2004-06-14 by Owen Mooney