This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem with System_reset and watchdog

Hi,

i have some trouble with my watchdog in application. If i does a System_reset (no SD Method because i disabled it before) it sometimes top at this point and does nonsense. What reason could it have that this method hangs the application? And i have enabled the watchdog and did a pin reset so it is running, why does the watchdog not kill the running application when its hanging?

Best regards Nils Minor

Parents
  • I have read other watchdog issues on the forum, and I wrote some very simple "blinky" code just to test the watchdog out. Sometime it works and sometime it doesn't.

    When it works, it works as expected: when it goes into dead loop, after 1 second, it blinks the LED. When it doesn't work, it hangs.

    More strangely, somehow I bricked one of my board. I can still program the board, but won't run even with WDT disabled. I didn't get a chance to debug it.

    Did I miss any simple bits here, or there is something about the chip? :)

Reply
  • I have read other watchdog issues on the forum, and I wrote some very simple "blinky" code just to test the watchdog out. Sometime it works and sometime it doesn't.

    When it works, it works as expected: when it goes into dead loop, after 1 second, it blinks the LED. When it doesn't work, it hangs.

    More strangely, somehow I bricked one of my board. I can still program the board, but won't run even with WDT disabled. I didn't get a chance to debug it.

    Did I miss any simple bits here, or there is something about the chip? :)

Children
Related