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
  • 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

Reply
  • 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

Children
No data