This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"watchdog timer reset occured" with double precision floatingpoint, in simulator

controller: C164CI
µVision 3.50b

Hi, everytime when i enable the compileroption "double precision floatingpoint", and startrun in the debugger, comes the message "watchdog timer reset occured" . with single precision floatingpoint the program runs fine.
What can i do to solve this problem. I don't know why this error is occured, becaus watchdog is disabled in the start167.a66.

thnx

Parents Reply Children
  • I think now it is an compilerproblem. Now it works without the WD-reset. In an other Forum one told me, with the same combination cpu/compiler he has similar effects too.
    The errormessage was coming at first,before the singlestep was startet.
    Now it works (somoetimes not :() mostly.

    thnx

  • I think now it is an compilerproblem.

    And I think you haven't shown anywhere near enough evidence to support such a claim.

    Now it works without the WD-reset

    Don't let us die in ignorance: what was the difference between then and now?

    For all we know, this could still be the very simple problem of failing to inform the startup code about the watchdog.

  • from the startupcode
    ; WATCHDOG: Disable Hardware Watchdog
    ; --- Set WATCHDOG = 1 to enable the Hardware watchdog
    $SET (WATCHDOG = 0)

    The WD is disabled.
    After some time with testing, the WD doesn't come anymore.
    In the debugmode, the WD (under menu "peripheral") was disabled by single precisionfloat, and enabled (automaticly) in doubleprecisionfloat. After setting WDTCON (in this checkbox) to 0x0000 and recompiling (the complete project),no change. After some further tests i have no problem with the WD anymore.
    I have not too much experience with Keil, it is my first project, the help of the µv3 was not helpfull.

    sorry for my (wrong)writing, but my english isn't very well