2004-04-28 01:45 AM
2011-05-17 02:59 AM
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? -pHaze4262011-05-17 02:59 AM
Check your Startu32.a51 file to make sure it is not disabled there. Some people have missed this one.
2011-05-17 02:59 AM
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?
2011-05-17 02:59 AM
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. -pHaze4262011-05-17 02:59 AM
We haven't heard of this issue before but will investigate and reply.
2011-05-17 02:59 AM
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