![]() |
watchdog - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 16-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=6) +--- Thread: watchdog (/showthread.php?tid=618) |
watchdog - ggcode - 2013-06-24 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 RE: watchdog - Mikael Gustavsson - 2013-06-24 Hi, Please post the entire MPLAB IDE project (zipped). Thanks RE: watchdog - ggcode - 2013-06-24 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 RE: watchdog - Mikael Gustavsson - 2013-06-24 Which device are you using? RE: watchdog - ggcode - 2013-06-24 Hi, i using PIC24FJ64GA006 RE: watchdog - Mikael Gustavsson - 2013-06-24 Thanks, I cannot why your solutions works. Can you? I remember having a similar problem with the watchdog on a PIC24FJ device. RE: watchdog - ggcode - 2013-06-24 Hi, I just experimented with the config bits. And now, it seems to be running. But I don't know exactly why. |