Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:31 06 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM.Watchdog

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 982
Posted: 11:39am 29 Oct 2014
Copy link to clipboard 
Print this post

Under what circumstances does the MM.watchdog flag get cleared or reset to zero?
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 12:34pm 29 Oct 2014
Copy link to clipboard 
Print this post

On a restart (for whatever reason).
Geoff Graham - http://geoffg.net
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 982
Posted: 02:19pm 29 Oct 2014
Copy link to clipboard 
Print this post

Maybe a misunderstanding. I understand that MM.Watchdog is true on a restart due to the watchdog timer but on what conditions is the flag set back to zero?

GM
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 05:28pm 29 Oct 2014
Copy link to clipboard 
Print this post

It is set to zero when the uM starts with a normal power up and it is set to true if a watchdog timeout caused the restart. It is not changed until the next power up. Currently a reset (pulling MCLR low) does not change MM.Watchdog, it requires a power recycle (I plan to change this).

Are you seeing something different?

Geoff
Geoff Graham - http://geoffg.net
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 982
Posted: 11:32pm 29 Oct 2014
Copy link to clipboard 
Print this post

Thanks for the info Geoff all is as you have explained. I am accessing the micromite remotely (via the console port) and would like to reset the MM.watchdog flag but as you have explained I will need to power cycle the micromite.
GM
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025