MyAdvantech Registration

MyAdvantech is a personalized portal for Advantech customers. By becoming an Advantech member, you can receive latest product news, webinar invitations and special eStore offers.

Sign up today to get 24/7 quick access to your account information.

How to Programming the Watchdog Timer

2550-08-06 Programming Document No.1-0002971

Related Product:

Solution:

  • How to Programming the Watchdog Timer

    Programming the Watchdog Timer
    To program the watchdog timer, you must write a program which writes I/O port address 443 (hex). The output data is a time interval value. The value range is from 01 (hex) to 3F (hex), and the related time interval is 1 sec. to 63 sec.

    Data Time Interval
    01 1 sec.
    02 2 sec.
    03 3 sec.
    04 4 sec.
    .
    .
    .
    3F 63 sec.

    After data entry, your program must refresh the watchdog timer by rewriting I/O port 443 (hex) while simultaneously setting it. When you want to disable the watchdog timer, your program should read I/O port 443 (hex).
    The following example shows how you might program the watchdog timer in BASIC:

    10 REM Watchdog timer example program
    20 OUT &H443, data REM Start and restart the watchdog
    30 GOSUB 1000 REM Your application task #1,
    40 OUT &H443, data REM Reset the timer
    50 GOSUB 2000 REM Your application task #2,
    60 OUT &H443, data REM Reset the timer
    70 X=INP (&H443) REM Disable the watchdog timer
    80 END
    1000 REM Subroutine #1, your application task
    .
    .
    .
    1070 RETURN
    2000 REM Subroutine #2, your application task
    .
    .
    .
    2090 RETURN

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

Required field

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

구분 수집항목 이용 목적 이용∙보유기간
1:1 문의 필수 이름, 이메일, 전화번호, 회사명, 국가, 상담내용 고객의 문의 대응 및 분쟁해결 등을 위함 소비자의 불만 또는 분쟁처리에 관한 기록: 3년
선택 제품, 시리얼넘버 효율적인 상담 대응
선택 뉴스레터 수신 동의 여부 신규 서비스/상품, 할인 이벤트 안내 법정 의무 보유 기간
Would you like to subscribe to Advantech marketing communications, including eDM, event invites, and product updates? Unsubscribe at any time.*
Would you like to subscribe to Advantech marketing communications, including eDM, event invites, and product updates? Unsubscribe at any time. is required*

Note: If you are already subscribed, selecting "No thanks" will cancel your existing subscription.

Do you agree to the processing of your personal data in accordance with Advantech Privacy Policy?*
Do you agree to the processing of your personal data in accordance with Advantech Privacy Policy? is required*
Required field
Required field