BasicMicro - Forums

www.basicmicro.com
It is currently Sun May 20, 2012 11:52 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: WATCHDOG TIMER
PostPosted: Fri Aug 03, 2007 10:00 pm 
the watch dog timer is always enable?

can I change the configuration word of the atom?

default value of configuration word is?

I really need to know that please...


Top
  
 
 Post subject: Re: WATCHDOG TIMER
PostPosted: Thu Aug 21, 2008 9:05 pm 
can you please explain me what is the watchdog timer and if you can show me hte code


Top
  
 
 Post subject: Re: WATCHDOG TIMER
PostPosted: Sat Aug 23, 2008 12:11 am 
Offline
Master

Joined: Sun Aug 17, 2008 5:26 pm
Posts: 798
Location: CA bay Area
Sure. The watchdog timer is a feature built into the processor that is the heart of the Atom (Pro). If the watchdog is enabled in the configuration by the programmer then the watchdog expects the software to keep it reset every so often within a small specific time. Failing this, it does a main reset of the processor, thus forcing it to start all over from scratch. The idea is that as long the software is running properly it will always keep the watchdog happy with its small reset. If something goes wrong with the program then the watchdog will force the processor back into reset and the program recovers.

The Atom (Pro) BASIC is designed to start the watchdog and keep it timed out and happy. Failing that the processor, and thus the BASIC program, gets restarted. There was a command created to actually allow the watchdog to time out and restart the processor. This was done at the request of a user who wanted to see how long it took for the processor to get reset after the command was invoked so he could study the effect the power supply Voltage, processor clock and temperature had on this feature. It's in the Atom (Pro) manual somewhere, feel free to read up on it.

Later!
kenjj


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

phpBB SEO