Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
watchdog
#1
Hello,
i have tried to switch on the watchdog (FWDTEN_ON)
In settings.inc i uncoment KICK_WD but with this settings the bootloader want work anymore.
He works only with watchdog off (FWDTEN_OFF).

Knows anybody what happend?

best regards ggcode
Reply
#2
Hi,
Please post the entire MPLAB IDE project (zipped).

Thanks
Reply
#3
Hi,
i have found the problem.
this config does not run:
Code:
FWDTEN_ON/*watchdog timer*/ & WINDIS_OFF/*windowed wdt*/ & FWPSA_PR32/*watchdog prescalar*/ & WDTPS_PS256/*watchdog postscalar*/

and this config runs well:
Code:
FWDTEN_ON/*watchdog timer*/ & WINDIS_ON/*windowed wdt*/ & FWPSA_PR32/*watchdog prescalar*/ & WDTPS_PS256/*watchdog postscalar*/

Thanks for this nice bootloader
Reply
#4
Which device are you using?
Reply
#5
Hi,
i using PIC24FJ64GA006
Reply
#6
Thanks, I cannot why your solutions works. Can you?
I remember having a similar problem with the watchdog on a PIC24FJ device.
Reply
#7
Hi,
I just experimented with the config bits. And now, it seems to be running.
But I don't know exactly why.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)