
Forums Search for: Watchdog
Testing watchdog
inI usually enable watchdog during boot init code. I usually use the internal watchdog that is available in the MCU I'm using. I know an...
I usually enable watchdog during boot init code. I usually use the internal watchdog that is available in the MCU I'm using. I know an external watchdog can be more secure, but internal watchdog is usually better than nothing. Some MCUs can be programmed to enable watchdog immediately after reset and stays enabled forever. Other times I enable watchdog timer immediately after some ini...
Watchdog that should be taken out and shot
inI've been trying to implement the watchdog timer on my Sharp79524 and it appears that the mutt is sleeping on the job! I believe I have it...
I've been trying to implement the watchdog timer on my Sharp79524 and it appears that the mutt is sleeping on the job! I believe I have it set up to trigger after about 3s of inactivity but it doesn't seem to reset the system at all. My setup method is as follows: 1) Write 0x00000090 to the watchdog CTL to set up for 2^25 counts of HCLK as the timeout period. This also stops an interr...
DOS watchdog utility for Advantech?
inHi, I would like a DOS TSR utility that works with the watchdog on my PCM-5820. Has anyone written such a program? I know Advantech has...
Hi, I would like a DOS TSR utility that works with the watchdog on my PCM-5820. Has anyone written such a program? I know Advantech has watchdog drivers for Win2K & XP, but I didn't see anything for DOS or Win9x. thanks, Jonathan
Watchdog timer
inHello, I am a newbie to Embedded systems. We are using Linux. watchdog timer implementation as follows: In the software setting the...
Hello, I am a newbie to Embedded systems. We are using Linux. watchdog timer implementation as follows: In the software setting the watchdog timer and on timeout it clears the hardware register which is used by the hardware to check if the system needs to be reset or not. But we are facing some problem in the hardware ( for example video is freezing and the system hangs). In this...
AT91SAM7X256 watchdog interrupt
inHi, i'm trying to use watchdog in order to generate an interrupt instead of a reset, setting: AT91C_BASE_WDTC-> WDTC_WDMR = WDTC_COUNT |...
Hi, i'm trying to use watchdog in order to generate an interrupt instead of a reset, setting: AT91C_BASE_WDTC-> WDTC_WDMR = WDTC_COUNT | (WDTC_COUNT < < 16) | AT91C_WDTC_WDFIEN; but in my device header file i cannot find an ID macro that refer to watchdog, in order to set the correct handle for the interrupt. this is what i do for PIT timer: AT91C_BASE_AIC-> AIC_SMR[AT91C_ID_SYS] = AT91C_AI
Watchdog timer promblem in ATmega32
inI am trying to change the watchdog prescalar in an ATmega32 application. The data sheet implies that the watchdog timer registers can be written...
I am trying to change the watchdog prescalar in an ATmega32 application. The data sheet implies that the watchdog timer registers can be written at time with no special requirements. Is this the case? I am finding that the following code works in AVR Studio but not in the hardware. void WatchdogInit(void) { WDR(); WDTCSR = 8; // Set prescalar to ~1/4 second timeout. } Compiler i...
Kicking the dog -- how do you use watchdog timers?
inRandy Yates recently started a thread on programming flash that had an interesting tangent into watchdog timers. I thought it was interesting...
Randy Yates recently started a thread on programming flash that had an interesting tangent into watchdog timers. I thought it was interesting enough that I'm starting a thread here. I had stated in Randy's thread that I avoid watchdogs, because they mostly seem to be a source of erroneous behavior to me. However, on reflection I realized that I lied: I _do_ use watchdog timers, but ...
Watchdog Timer
inIm trying to use Watchdog Timer interrupt in R8C/tiny(RENESAS) micro controller. I have done all the settings whatever is there in manual. But I...
Im trying to use Watchdog Timer interrupt in R8C/tiny(RENESAS) micro controller. I have done all the settings whatever is there in manual. But I couldn't get it. Im getting the watchdog timer reset function and Iam trying to reset it only once, even that i didn't get. I made all settings. I don't know that interrupt function is not all working. Can I get any solution ....
AT91 watchdog behavior
inHi, i'm working on a AT91SAM7X-EK development board, and i'm trying to figure out if the normal at91 watchdog behavior can be changed...
Hi, i'm working on a AT91SAM7X-EK development board, and i'm trying to figure out if the normal at91 watchdog behavior can be changed or workarounded because: "The Watchdog Mode Register (WDT_MR) can be written only once. Only a processor reset resets it. Writing the WDT_MR register reloads the timer with the newly programmed mode parameters." due to this feature, if i disable watchdo...
Is Watchdog Driver execution are ROM or RAM ?
inHello, Our target board is wired with Renesas RH850D1x Microcontroller. I'm using Renesas Watchdog Drivers. Is watchdog driver execution...
Hello, Our target board is wired with Renesas RH850D1x Microcontroller. I'm using Renesas Watchdog Drivers. Is watchdog driver execution area from ROM(flash) or RAM for this microcontroller ? --------------------------------------- Posted through http://www.EmbeddedRelated.com
Any idea, how to eanble Watchdog timer for 2.4 Linux Kernel
inI am using Linux Kernel 2.4 version, I need to enable Watchdog timer, any idea where can I find some useful about how to implement...
I am using Linux Kernel 2.4 version, I need to enable Watchdog timer, any idea where can I find some useful about how to implement watchdog timer. Thanks in advance.
PC pointing to SFR after Watchdog
inHi All, I am working on a Renesas M16C Micro and I am having problems debugging my code.... I get a watchdog at a certain point in my code....
Hi All, I am working on a Renesas M16C Micro and I am having problems debugging my code.... I get a watchdog at a certain point in my code. I am unable to figure out where the watchdog occurs because the program counter points to special function register 0x000343. Is it possible that the program counter can ever point to a special function register? I thought it should always point t...
Watchdog msp430
inHi, I have an MSP430 and set the watchdog timer, however, when I cut power off and return power, sometimes it'll reset, and sometimes it...
Hi, I have an MSP430 and set the watchdog timer, however, when I cut power off and return power, sometimes it'll reset, and sometimes it won't. If I check with my debugger where it's getting stuck, it's just between two lines that say something like e30 BITB.B #4, 0X0028 e34 jnz 0Xe30 and it will loop forever there, however this will only happen part of the time, other times it'll work...
Unable to "Disable Watchdog" for F2812 target
inHi, I am trying to develop an application to perform Flash operations for F2812 target with Parallel Port using Commandline mode. When i use...
Hi, I am trying to develop an application to perform Flash operations for F2812 target with Parallel Port using Commandline mode. When i use the SDFlash Utilty (SDFlash.exe) directly, there were no issues in performing Flash operations for F2812 target using Parallel Port. But my application is unable to Disable the Watchdog, and i get the Error : "Failed to Disable the Watchdog". I gues...
Resetting FPGA without Watchdog timer.
inHi all , I am devoloping software fro microblaze using XPS and I dont have enough resources for a watchdog timer. I want to reset the FPGA...
Hi all , I am devoloping software fro microblaze using XPS and I dont have enough resources for a watchdog timer. I want to reset the FPGA after n number of error conditions have occured in software. Whats the most reliable way to reboot the Xilinx Spartan 3 FPGA? Any help will e much appreciated. BR Rate
watchdog interrupt
inHi, Im doing watchdog timer interrupt in R8c/tiny (Renesas) controller. I made all the settings like WDTR, WDTS, pm12. But Im not getting...
Hi, Im doing watchdog timer interrupt in R8c/tiny (Renesas) controller. I made all the settings like WDTR, WDTS, pm12. But Im not getting it. Even I made settings in sect30 file. I had two fixed vector interrupt sections. Im not getting it. I did for each table & in both table settings... Can I get any sample program or solution ..
ImageCraft ICCAVR - Startup ?
inThe environment is an ATmega64 with a 32 KHz watch crystal running a real time clock on AVR timer0. The problem is with an occasional...
The environment is an ATmega64 with a 32 KHz watch crystal running a real time clock on AVR timer0. The problem is with an occasional watch dog reset that happens every few days or longer is resetting the AVR processor and wiping out the current real time clock values. The long term fix it to find what is causing the watchdog resets, but saving the real time clock through a watchdog re...
Watchdog for an embedded Linux-based system
inI have a Linux-based SOM that intregrates complexity (CPU, memories, Ethernet PHY and so on) and I'm going to design a carrier board for...
I have a Linux-based SOM that intregrates complexity (CPU, memories, Ethernet PHY and so on) and I'm going to design a carrier board for it. I'd like to add an external watchdog on the carrier board for two purposes: - automatically rerun the system when the applications running on Linux crash for some reasons (mainly bugs) - automatically rerun the system when the system is not able to...
How to zoom on waveform on oscilloscope ?
inI'm using Yokogawa DL1540L Scope to measure watchdog timeout. CH2 = 5V/div, CH4 = 5V/div, 50ms/div Single shot, rising edge trigger set on...
I'm using Yokogawa DL1540L Scope to measure watchdog timeout. CH2 = 5V/div, CH4 = 5V/div, 50ms/div Single shot, rising edge trigger set on CH2. CH2 is gpio port. In software I set this port to logic low right before I service the watchdog. In scope I see a positive spike, which is actually logic high and then after some short time, logic low. I want clear display that zooms this spike ...
How to choose a firmware partner
inHow to choose a firmware partner: Ask if it's policy to enable the watchdog timer. The correct answer is "no". If they say "yes" then you...
How to choose a firmware partner: Ask if it's policy to enable the watchdog timer. The correct answer is "no". If they say "yes" then you know that their code is dodgy, and/or their hardware is vulnerable and if the WDT is not going off occassionally, it probably will after the next modification. Cheers Robin
