beautypg.com

2 watchdog timer trigger – Acrosser AR-B1551 User Manual

Page 27

background image

AR-B1551 User’s Guide

26


Users could test watchdog function under ‘Debug’ program as follow:

C:>debug
!

O 214 C8H
Generally, watchdog function would
reset system after 8 seconds

!

O 214 0H

Disable watchdog function

C:>debug
!

O 214 88H
Generally, watchdog function would
generate IRQ 9 after 8 seconds

!

O 214 0H

Disable watchdog function

3.3.2 Watchdog Timer Trigger

After you enable the watchdog timer, your program must write the same factor as enabling to the watchdog register

at least once every time-out period to its previous setting. You can change the time-out period by writing another
timer factor to the watchdog register at any time, and you must trigger the watchdog before the new time-out period
in next trigger.