我的研華會員註冊

「我的研華」為研華客戶專屬服務平台。成為研華會員,您將收到最新產品資訊、研討會邀請和線上商店特殊優惠。

立即註冊,啟用您的會員服務!

What is WatchDog Timer? How to test it?

2007-10-22 Installation Document No.1-0000293

Solution:

  • What is WatchDog Timer?


    The watchdog timer (WDT) will reset CPU or generates an interrupt if watchdog resident processing comes to a standstill for any reason. This feature helps to ensure system reliability in industrial standalone or unmanned environments. The reset or interrupt service can wake the application up if it goes into endless loops without response.

    Normally there are 2 inputs and 1 output in WDT:
    I1: Time interval setting (or boundled with Activate/Enable switch)
    I2: Clear counting
    O1: Trigger for "system reset" or "interrupt"

    Customers have to write the WDT program as resident service "inside" the industrial application program, or another individual program resident with OS at background. After enabling the WDT service, the resident program needs to "frequently clear" the WDT chip's timer counting so WDT chip won't send trigger out. When the software is alive, WDT is always cleared to start from the beginning (e.g. 63sec) then counts down again.

    If CPU hangs up to make it unable to execute the resident program well, WDT chip can't get clear signal so it continues to count down to "0". That's the time to send trigger signal to reset the whole system, or send an IRQ. Hope to use this feature to wake up the computer system, then execute dedicated application programs introduced in batch file or startup script.

    The possible reasons to cause CPU not being able to respond are as follows:
    1. Hardware malfunctions!
    2. CPU is jamed for unknown software issue (e.g. virus atttack, response time-out in application program to jam CPU processing...).

    For example, there are 2 different WDT designs in Advantech full-size CPU board designs:
    I. Additional chipset which uses I/O ports 0x443h & 0x43h as inputs! (Used on PCA-6168, PCA-6178, PCA-6179)
    II. Built-in WDT function in Super I/O chip! (Winbond 83627 series, used on PCA-6180, PCA-6184, PCA-6186...etc)

The content is too difficult to understand The content does not match the title The information is out of date It is not the information I'm looking for The content is empty Download file missing Invalid download link Download speed is slow Others

This field of information is requried

Yes No

This field of information is invalid

This field of information is requried

This field of information is requried

必填欄位

당사는 회원 기반 서비스 제공을 위해 다음과 같이 개인정보를 수집하여 이용, 제공, 파기 합니다.

구분 수집항목 이용 목적 이용∙보유기간
1:1 문의 필수 이름, 이메일, 전화번호, 회사명, 국가, 상담내용 고객의 문의 대응 및 분쟁해결 등을 위함 소비자의 불만 또는 분쟁처리에 관한 기록: 3년
선택 제품, 시리얼넘버 효율적인 상담 대응
선택 뉴스레터 수신 동의 여부 신규 서비스/상품, 할인 이벤트 안내 법정 의무 보유 기간
您是否願意訂閱研華的行銷資訊,包括電子報、活動邀請和產品更新?您可隨時取消訂閱。*
您是否願意訂閱研華的行銷資訊,包括電子報、活動邀請和產品更新?您可隨時取消訂閱。 為必填*

注意: 如果您已訂閱,選擇 「不需要」 將會取消您現有的訂閱。

您是否同意依據研華的 隱私權政策 處理您的個人資料?*
您是否同意依據研華的 隱私權政策 處理您的個人資料? 為必填*
必填欄位
必填欄位