Skip to main content
Visitor II
April 28, 2004
Question

Watchdog Timer Failure

  • April 28, 2004
  • 6 replies
  • 906 views
Posted on April 28, 2004 at 10:45

Watchdog Timer Failure

    This topic has been closed for replies.

    6 replies

    jdanielAuthor
    Visitor II
    May 17, 2011
    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
    Visitor II
    May 17, 2011
    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.

    jdanielAuthor
    Visitor II
    May 17, 2011
    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?

    jdanielAuthor
    Visitor II
    May 17, 2011
    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
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 11:59

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

    jdanielAuthor
    Visitor II
    May 17, 2011
    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