cancel
Showing results for 
Search instead for 
Did you mean: 

Watchdog Timer Failure

jdaniel
Associate II
Posted on April 28, 2004 at 10:45

Watchdog Timer Failure

6 REPLIES 6
jdaniel
Associate II
Posted on May 17, 2011 at 11:59

I've been having difficulty with the watchdog timer on the uPSD3254A in my project. Namely, I find that it somehow becomes disabled without my having written 0x55 to the WDKEY register. If I put simply a while (1) statement somewhere in my code, the watchdog does not reset the processor. If I use:

WDRST = 0xFF;

while (1);

however, the processor DOES reset. Further, if I modify the above statement to write 0x00 to the WDRST register, again the processor doesn't reset. Am I doing something wrong?

-pHaze426
joseph2399
Associate II
Posted on May 17, 2011 at 11:59

Check your Startu32.a51 file to make sure it is not disabled there. Some people have missed this one.

jdaniel
Associate II
Posted on May 17, 2011 at 11:59

I took a look at the startup code, and there's no write to it or it's memory address. Any other possibilities spring to mind?

jdaniel
Associate II
Posted on May 17, 2011 at 11:59

HansDK,

At this point, I've done enough playing around that I'm willing to say ''yes'' this is a special case, whether ST intended it or not. I really hope I'm missing something and that they'll get back to me with a way to correct the problem.

-pHaze426
joseph2399
Associate II
Posted on May 17, 2011 at 11:59

We haven't heard of this issue before but will investigate and reply.

jdaniel
Associate II
Posted on May 17, 2011 at 11:59

uPSD,

Thanks for looking into this. Also, you might want to reference this post from September of last year which seems to be talking about the exact same behavior:

http://www.stmcu.com/forums-cat-802-11.html

-pHaze426