Description
Asem S.p.A.
9
Watch-dog
The watch-dog allows system restart after a crash caused by
hardware or software.
It is based on a timer with a period that can be programmed from
among four pre-defined values. The application software must
constantly refresh the watch-dog with a period that is less than that
of the timer, so as to keep the watch-dog from intervening.
If this refresh does not occur, at the end of the pre-established time:
•
the watch-dog LED on the CPU 1021/A will come on
•
bit 0 of the port I/O 568h will be set to logic state
1.
The
application software will subsequently be able to read it.
•
There will then be generated a
Reset
, based on the settings
made by the user.
Selection of generated signal (JP15)
JP15
Signal generated
Not inserted Watch-dog disabled (default)
inserted
Generation of Reset (restart system)
After intervention of the watch-dog, the LED and the bit 0 of the port
568h can be returned to the initial conditions through a command of
the application software or by pressing the key
Reset watch-dog
.
States of watch-dog
The watch-dog has four operating states:
1.
Idle
(initial inactive state) waiting for command out 565h=80h to
change to Set.
2.
Set
waiting for command out 566h=nh (0<
n
<=FFh), to set the WD
intervention time (from 0 up to 255 seconds) and change to Run.
Summary of Contents for CPU 1021/A
Page 1: ...86040332 CPU 1021 A ...
Page 2: ......
Page 7: ...Exit menu 60 ...
Page 8: ......
Page 9: ...Description Asem S p A 1 Chapter 1 Description ...
Page 20: ...CPU 1021 A User s Guide 12 Asem S p A ...
Page 23: ...Hardware setup Asem S p A 15 CPU 1021 A part B ...
Page 29: ...Connectors Asem S p A 21 CPU 1021 A front part B ...
Page 30: ...CPU 1021 A User s Guide 22 Asem S p A CPU 1021 A rear part A ...
Page 31: ...Connectors Asem S p A 23 CPU 1021 A rear part B ...
Page 45: ...Map of memory Asem S p A 37 Chapter 4 Map of memory ...
Page 49: ...BIOS Setup Asem S p A 41 Chapter 5 BIOS Setup ...